mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
When running sub-tests explicitly on the command line and that sub-test fails, the test harness returns `0` from `main()`. This is problematic in automated testing environments as failed tests can be hidden. This patch iterates over all the test results in the `resultTestList` after all sub-tests have completed, if any of the tests failed a non-zero value is returned from `parseAndCallCommandLineTests()` which is then propagated up the call stack to `main()`.