Added Windows batch files for run_scapy and run_tests

This commit is contained in:
Dirk Loss 2009-07-20 10:21:37 +02:00
parent c557b537ad
commit b6affad4a5
2 changed files with 11 additions and 0 deletions

3
run_scapy.bat Normal file
View File

@ -0,0 +1,3 @@
@echo off
set PYTHONPATH=%cd%
python -m scapy

8
test/run_tests.bat Normal file
View File

@ -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
)