You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix tests to work with out of source builds. (#1926)
* Update Packet++ tests to work with out of source builds.
* Updated Pcap++ to work with out of source builds.
* Lint
* Fix unix run_tests.
* args fixes.
* fix typo
* updated build dir name.
* changed build dir to a flag.
* Fix path errors by resolving to absolute path before sending to subprocess.
* Lint
* Update github actions to utilize working_directory.
* Fix windivert to copy to binary directory.
* Refactory run_tests_windows to mimic run_tests.
* Remove duplicate find_interface call.
* Add build dir to windows ci runs.
* Fix missed Bin.
* Fix f-string ambiguity.
* Make path absolute before passing to subprocess.
* Fix f-string.
* Fix cmd argument,
* Fix run command.
* Update mingw run_tests args.
* Fix windivert args.
* Try converting path to string before passing to subprocess.run()?
* Changed subprocess.run to use non-shell environment and utilize integrated success check.
* Simplify run_tests_windows.
* Add overrides for executable locations to allow easier local testing.
* Update Windows coverage results location as they are now generated in the build directory.
* Remove shell flag from subprocess call.
* Add __future__ annotations to enable lazy annotation evaluation.
* Lint
* Add logging info to help debugging.
* Add .exe to windows exe paths.
* Fix typo.
* Add overrides for Visual Studio as its is a multi-config generator.
* Fixup coverage report location.
* Fix run.
* Revert shell.
* Fixup Popen arguments.
* Pass shell=True.
* Fix command line option generation for include tests and skip tests.
* Lint
* Fix command.
* Lint.
* Update run_tests_windows from base.
* Add factory for tests lists. Fix duplicate TCP command.
* Update run commands.
* Remove hard coded path.
* Lint
* Update new CI job.
* Set logging to always log info.
# The visual studio generator is a multi-config generator. This means that the executable will be in a configuration subfolder (e.g., Debug or Release),
731
+
# relative to the target folder. Example: $(BuildDir)/Test/Packet++Test/Debug/Packet++Test.exe
# The visual studio generator is a multi-config generator. This means that the executable will be in a configuration subfolder (e.g., Debug or Release),
784
+
# relative to the target folder. Example: $(BuildDir)/Test/Packet++Test/Debug/Packet++Test.exe
784
785
- name: Configure PcapPlusPlus (WinDivert)
785
786
run: cmake -A x64 -G "Visual Studio 17 2022" -DPCAP_ROOT=${{ env.PCAP_SDK_DIR }} -DPCAPPP_USE_WINDIVERT=ON -DWinDivert_ROOT=${{ env.WINDIVERT_DIR }} -S . -B "$env:BUILD_DIR"
0 commit comments