From d6cbca4023ddf19fff024f56ebbf66e4b215cb4c Mon Sep 17 00:00:00 2001 From: gpotter2 <gabriel@potter.fr> Date: Wed, 26 Jul 2017 19:35:36 +0200 Subject: [PATCH] Add python 3 executables --- test/run_tests3 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 test/run_tests3 diff --git a/test/run_tests3 b/test/run_tests3 new file mode 100755 index 00000000..a065f189 --- /dev/null +++ b/test/run_tests3 @@ -0,0 +1,9 @@ +#! /bin/sh +DIR=$(dirname $0)/.. +PYTHON=python3 +if [ -z "$*" ] +then + PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -K ipv6 -l -o /tmp/scapy_regression_test_$(date +%Y%m%d-%H%M%S).html +else + PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py "$@" +fi -- GitLab