Updated test output to log to xml and to upload those results appropriately, so they show up in AppVeyor correctly as tests at the end.

This commit is contained in:
Jared Mulconry
2017-10-08 13:00:27 +11:00
parent 6a2dfb1efc
commit 52da099738

View File

@@ -40,7 +40,10 @@ after_build:
- 7z a assimp.7z %APPVEYOR_BUILD_FOLDER%\bin\%CONFIGURATION%\* %APPVEYOR_BUILD_FOLDER%\lib\%CONFIGURATION%\*
test_script:
- cmd: bin\%CONFIGURATION%\unit.exe
- cmd: bin\%CONFIGURATION%\unit.exe -gtest_output=xml:testout.xml
after_test:
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\testout.xml))
artifacts:
- path: assimp.7z