aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.appveyor.yml28
1 files changed, 27 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 2624062..2978e33 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -9,6 +9,7 @@ image:
environment:
python_exe: C:\Python36-x64\python.exe
install_dir: C:\Projects\install\winapi-common
+ test_logs_dir: C:\Projects\test_logs
platform:
- Win32
@@ -45,7 +46,32 @@ after_build:
- appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip"
test_script:
- - '"%install_dir%\bin\winapi-common-unit-tests.exe" -- "--echo_exe=%install_dir%\bin\winapi-common-test-echo.exe"'
+ - mkdir "%test_logs_dir%"
+ - >-
+ "%install_dir%\bin\winapi-common-unit-tests.exe"
+ --log_level=all
+ "--log_sink=%test_logs_dir%\tests.log"
+ "--report_sink=%test_logs_dir%\report.txt"
+ --run_test=!console_tests,process_console_tests
+ --
+ "--echo_exe=%install_dir%\bin\winapi-common-test-echo.exe"
+ "--worker_exe=%install_dir%\bin\winapi-common-test-worker.exe"
+ - type "%test_logs_dir%\report.txt"
+ - >-
+ start "Console tests" /wait
+ "%install_dir%\bin\winapi-common-unit-tests.exe"
+ --log_level=all
+ "--log_sink=%test_logs_dir%\tests_console.log"
+ "--report_sink=%test_logs_dir%\report_console.txt"
+ --run_test=console_tests,process_console_tests
+ --
+ "--echo_exe=%install_dir%\bin\winapi-common-test-echo.exe"
+ "--worker_exe=%install_dir%\bin\winapi-common-test-worker.exe"
+ - type "%test_logs_dir%\report_console.txt"
+
+on_finish:
+ - 7z.exe a test_logs.zip "%test_logs_dir%"
+ - appveyor.exe PushArtifact test_logs.zip
for:
# Build Release on master only to speed things up: