Просмотр исходного кода

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.

Jared Mulconry 8 лет назад
Родитель
Сommit
52da099738
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      appveyor.yml

+ 4 - 1
appveyor.yml

@@ -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