diff --git a/appveyor.yml b/appveyor.yml index ecd82c611..c8b071a78 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -112,11 +112,13 @@ after_test: test_script: # - build\script\runtests2.cmd %suffix% +# & .\build\script\runtests2.cmd %suffix% - ps: | if ($env:configuration -eq "release") { - & .\build\script\runtests2.cmd %suffix% - } + Start-Process -NoNewWindow -Wait -FilePath .\build\script\runtests2.cmd -Args "$env:suffix" -RSO "cout" -RSE "cerr" + Get-Content cout; Get-Content cerr + } on_success: - echo success @@ -144,4 +146,7 @@ notifications: - provider: Slack incoming_webhook: https://hooks.slack.com/services/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 + on_build_success: true + on_build_failure: true + on_build_status_changed: false \ No newline at end of file diff --git a/build/script/runtests2.cmd b/build/script/runtests2.cmd index c2ddad1a0..fae591ede 100644 --- a/build/script/runtests2.cmd +++ b/build/script/runtests2.cmd @@ -1,4 +1,4 @@ -rem @echo off +@echo off rem rem $Id$ rem