From 52da099738e3049ecfd85d5051a2d64c61d3a260 Mon Sep 17 00:00:00 2001 From: Jared Mulconry Date: Sun, 8 Oct 2017 13:00:27 +1100 Subject: [PATCH] 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. --- appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 6d5a046bf..26e72b3d0 100644 --- a/appveyor.yml +++ b/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