mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
8d44302935fa59593bbb1d8606cb83286d5e50a8
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()`.
Description
Languages
C++
84.5%
C
14.7%
CMake
0.5%
Python
0.3%