Skip to content

Commit

Permalink
Added Windows batch files for run_scapy and run_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dloss committed Jul 20, 2009
1 parent c557b53 commit b6affad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run_scapy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off
set PYTHONPATH=%cd%
python -m scapy
8 changes: 8 additions & 0 deletions test/run_tests.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
set MYDIR=%cd%\..
set PYTHONPATH=%MYDIR%
if [%1]==[] (
python %MYDIR%\scapy\tools\UTscapy.py -t regression.uts -f html -o scapy_regression_test_%DATE%.html
) else (
python %MYDIR%\scapy\tools\UTscapy.py %1 %2 %3 %4 %5 %6 %7 %8 %9
)

0 comments on commit b6affad

Please sign in to comment.