From 6cb871b3b1aa5946ccb62c57ae33b050d53107fa Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 14 Sep 2020 00:27:38 +0300 Subject: AppVeyor: back to testing the output of enum_symbols --- .appveyor.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.appveyor.yml') diff --git a/.appveyor.yml b/.appveyor.yml index 3d881b0..72ca13e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -37,6 +37,13 @@ after_build: test_script: - '"%install_dir%\bin\test\unit_tests.exe" --log_level=all' + + - '"%install_dir%\bin\enum_symbols.exe" --pdb "%install_dir%\bin\test\test_lib.pdb" --mask "test::*"' + - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test::baz" -SimpleMatch -Quiet) -or $(throw "test::baz not enumerated among the symbols")' + - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test::bar" -SimpleMatch -Quiet) -or $(throw "test::bar not enumerated among the symbols")' + - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test::foo" -SimpleMatch -Quiet) -or $(throw "test::foo not enumerated among the symbols")' + - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test::var" -SimpleMatch -Quiet) -or $(throw "test::var not enumerated among the symbols")' + - '"%install_dir%\bin\test\call_stack.exe"' - ps: '$(& "$env:install_dir\bin\test\call_stack.exe" | Select-String -Pattern "[test_lib!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 "[test_lib!test::bar" -SimpleMatch -Quiet) -or $(throw "test::bar not found in the call stack")' -- cgit v1.2.3