We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 800b57d commit 01529f7Copy full SHA for 01529f7
1 file changed
test/testrunner.cpp
@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
24
{
25
options args(argc, const_cast<const char**>(argv));
26
27
- std::size_t ret = TestFixture::runTests(args);
+ std::size_t failedTestsCount = TestFixture::runTests(args);
28
29
- return (ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
+ return (failedTestsCount == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
30
}
0 commit comments