From 78871efc8edb692efc36f89bc0454ceb926ac44e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 13 Sep 2020 12:32:33 +0300 Subject: AppVeyor: test call_stack output --- .appveyor.yml | 7 +++++-- 1 file 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: -- cgit v1.2.3