Skip to content

Commit

Permalink
Appveyor tests: install WinDump.exe
Browse files Browse the repository at this point in the history
Thanks @gpotter2
  • Loading branch information
p-l- committed Dec 19, 2016
1 parent 7b7c3b7 commit 6382507
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ build: off
install:
# Installing WinPcap directly does not work,
# see http://help.appveyor.com/discussions/problems/2280-winpcap-installation-issue
- choco install -y nmap
# - choco install -y nmap
- choco install -y winpcap
- ps: wget http://www.winpcap.org/windump/install/bin/windump_3_9_5/WinDump.exe -UseBasicParsing -OutFile C:\Windows\System32\windump.exe
- refreshenv

# Install Python modules
Expand All @@ -22,10 +24,10 @@ install:
test_script:
# Set environment variables
- set PYTHONPATH=%APPVEYOR_BUILD_FOLDER%
- set PATH=%APPVEYOR_BUILD_FOLDER%;C:\Windows\System32\Npcap\;%PATH%
- set PATH=%APPVEYOR_BUILD_FOLDER%;%PATH%

# Main unit tests
- "%PYTHON%\\python bin\\UTscapy -f text -t test\\regression.uts -F -K automaton -K mock_read_routes6_bsd -K tcpdump || exit /b 42"
- "%PYTHON%\\python bin\\UTscapy -f text -t test\\regression.uts -F -K automaton -K mock_read_routes6_bsd || exit /b 42"
- 'del test\regression.uts'

# Secondary unit tests
Expand Down

0 comments on commit 6382507

Please sign in to comment.