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.

pull/1479/head
Jared Mulconry 2017-10-08 13:00:27 +11:00
parent 6a2dfb1efc
commit 52da099738
1 changed files with 4 additions and 1 deletions

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