aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 00:27:38 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 00:42:23 +0300
commit6cb871b3b1aa5946ccb62c57ae33b050d53107fa (patch)
treecd99afe17f26336c12d1629a8ee036fd03cddc43
parentcall_stack: can't noinline w/ MSVC, let's try a DLL (diff)
downloadwinapi-debug-6cb871b3b1aa5946ccb62c57ae33b050d53107fa.tar.gz
winapi-debug-6cb871b3b1aa5946ccb62c57ae33b050d53107fa.zip
AppVeyor: back to testing the output of enum_symbols
Diffstat (limited to '')
-rw-r--r--.appveyor.yml7
1 files changed, 7 insertions, 0 deletions
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")'