diff --git a/run_scapy.bat b/run_scapy.bat new file mode 100644 index 00000000000..6c7cf929757 --- /dev/null +++ b/run_scapy.bat @@ -0,0 +1,3 @@ +@echo off +set PYTHONPATH=%cd% +python -m scapy diff --git a/test/run_tests.bat b/test/run_tests.bat new file mode 100644 index 00000000000..1aa3b29d01f --- /dev/null +++ b/test/run_tests.bat @@ -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 +)