Modify Windows test cmd file to actually run tests

This commit is contained in:
Tim Wojtulewicz 2023-04-25 15:32:25 -07:00 committed by Tim Wojtulewicz
parent 08a039446f
commit ca2616e573
2 changed files with 10 additions and 6 deletions

View file

@ -1,7 +1,11 @@
:: See build.cmd for documentation on this call. :: See build.cmd for documentation on this call.
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 call "c:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
:: We currently don't have any tests to run on Windows, so this is just commented out. cd build
:: We'll expand on this later.
:: cd build :: This sets up ZEEKPATH and ZEEK_PLUGIN_PATH
:: ctest -C release || exit \b 1 call zeek-path-dev.bat
:: Only run the unit tests for now. Btest is supported on Windows but a ton
:: of tests are still failing so it's not worth trying to run it.
src\zeek --test

View file

@ -4,5 +4,5 @@
:: The ZEEKPATH line here should be kept in sync with the zeek-path-dev.in file. :: The ZEEKPATH line here should be kept in sync with the zeek-path-dev.in file.
:: ::
set ZEEKPATH=.;${cmake_source_dir}/scripts;${cmake_source_dir}/scripts/policy;${cmake_source_dir}/scripts/site;${cmake_binary_dir}/scripts;${cmake_binary_dir}/scripts/builtin-plugins @set ZEEKPATH=.;${cmake_source_dir}/scripts;${cmake_source_dir}/scripts/policy;${cmake_source_dir}/scripts/site;${cmake_binary_dir}/scripts;${cmake_binary_dir}/scripts/builtin-plugins
set ZEEK_PLUGIN_PATH=${cmake_binary_dir}/src} @set ZEEK_PLUGIN_PATH=${cmake_binary_dir}/src}