1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

UnitTestRunner: Added more modules, increased the number of warnings, return 1 on any failures

This commit is contained in:
tpoole 2017-07-05 17:47:45 +01:00
parent 27687f7193
commit a45855f7c3
14 changed files with 940 additions and 19 deletions

View file

@ -55,5 +55,9 @@ int main (int argc, char* argv[])
ConsoleUnitTestRunner runner;
runner.runAllTests();
for (int i = 0; i < runner.getNumResults(); ++i)
if (runner.getResult(i)->failures > 0)
return 1;
return 0;
}