xref: /aosp_15_r20/external/scapy/test/run_tests_py2.bat (revision 7dc08ffc4802948ccbc861daaf1e81c405c2c4bd)
1@echo off
2title UTscapy - All tests - PY2
3set MYDIR=%cd%\..
4set PYTHONPATH=%MYDIR%
5if [%1]==[] (
6  python "%MYDIR%\scapy\tools\UTscapy.py" -c configs\\windows2.utsc -T bpf.uts -T linux.uts -o scapy_regression_test_%date:~6,4%_%date:~3,2%_%date:~0,2%.html
7) else (
8  python "%MYDIR%\scapy\tools\UTscapy.py" %@
9)
10PAUSE