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:
parent
27687f7193
commit
a45855f7c3
14 changed files with 940 additions and 19 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue