Make UnitTest return non-zero on any test failure
This commit is contained in:
parent
097661346d
commit
2f26496155
1 changed files with 1 additions and 1 deletions
|
@ -571,5 +571,5 @@ int main() {
|
|||
std::cout << "Checks checked: " << checks_checked << '\n'
|
||||
<< "Checks passed: " << checks_passed << '\n';
|
||||
|
||||
return 0;
|
||||
return checks_checked == checks_passed ? 0 : 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue