diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-09-13 12:32:33 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-09-13 12:51:50 +0300 |
commit | 78871efc8edb692efc36f89bc0454ceb926ac44e (patch) | |
tree | 8b9b226c8aee582e694e16803e04f54b0427a35c | |
parent | Travis: Debug builds only (diff) | |
download | winapi-debug-78871efc8edb692efc36f89bc0454ceb926ac44e.tar.gz winapi-debug-78871efc8edb692efc36f89bc0454ceb926ac44e.zip |
AppVeyor: test call_stack output
-rw-r--r-- | .appveyor.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 788d0a3..2215bfb 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -36,8 +36,11 @@ after_build: - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" test_script: - - '"%install_dir%\bin\test\unit_tests" --log_level=all' - - '"%install_dir%\bin\test\call_stack"' + - '"%install_dir%\bin\test\unit_tests.exe" --log_level=all' + - '"%install_dir%\bin\test\call_stack.exe"' + - ps: '$(& "$env:install_dir\bin\test\call_stack.exe" | Select-String -Pattern "[call_stack!test::baz" -SimpleMatch -Quiet) -or $(throw "test::baz not found in the call stack")' + - ps: '$(& "$env:install_dir\bin\test\call_stack.exe" | Select-String -Pattern "[call_stack!test::bar" -SimpleMatch -Quiet) -or $(throw "test::bar not found in the call stack")' + - ps: '$(& "$env:install_dir\bin\test\call_stack.exe" | Select-String -Pattern "[call_stack!test::foo" -SimpleMatch -Quiet) -or $(throw "test::foo not found in the call stack")' for: # Only build Release builds on master to speed things up: |