diff options
author | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2024-06-30 08:14:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 08:14:37 -0700 |
commit | 1f63487e5b1c9049edf017c8d20789d270d013ab (patch) | |
tree | 3f02ba75604217155b5762642390d7ea03daa37a /tools | |
parent | 67f69549f818c93b60b7ec3906045db39801c1e1 (diff) | |
parent | b4cc8df3e99c92f6d02b2a6983f505807b2cc362 (diff) |
Merge pull request #25390 from fuzzard/buildsteps_win_testfail
Diffstat (limited to 'tools')
-rw-r--r-- | tools/buildsteps/windows/run-tests.bat | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/run-tests.bat b/tools/buildsteps/windows/run-tests.bat index 38d64b8414..b4fa43f699 100644 --- a/tools/buildsteps/windows/run-tests.bat +++ b/tools/buildsteps/windows/run-tests.bat @@ -42,6 +42,11 @@ ECHO ------------------------------------------------------------ ECHO Running testsuite... "%buildconfig%\%APP_NAME%-test.exe" --gtest_output=xml:%WORKSPACE%\gtestresults.xml + IF NOT EXIST %WORKSPACE%\gtestresults.xml ( + set DIETEXT="%APP_NAME%-test.exe failed to execute or output test results!" + goto DIE + ) + rem Adapt gtest xml output to be conform with junit xml rem this basically looks for lines which have "notrun" in the <testcase /> tag rem and adds a <skipped/> subtag into it. For example: |