summaryrefslogtreecommitdiffstats
path: root/scripts/run_functional_tests
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-03-24 20:00:27 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-03-24 20:00:27 +0200
commit59f00264f39dfb95a62401776b4ed8c433682fa7 (patch)
tree96b5411f17faed9f62aa9e4722b29d767d502b1b /scripts/run_functional_tests
parent4e8ce34a9ef6b8883cfed47f77c9b753e1cf4248 (diff)
gather stateful client to stf folder, create trex_client package
Diffstat (limited to 'scripts/run_functional_tests')
-rwxr-xr-xscripts/run_functional_tests7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/run_functional_tests b/scripts/run_functional_tests
index 995b1b0d..6e6a00a1 100755
--- a/scripts/run_functional_tests
+++ b/scripts/run_functional_tests
@@ -1,12 +1,10 @@
#!/bin/bash
-#source find_python.sh
+source find_python.sh
cd automation/regression
-PYTHON=/usr/bin/python2
-PYTHON3=/auto/proj-pcube-b/apps/PL-b/tools/python3.4/bin/python3
-
# Python 2
+echo Python2 test
$PYTHON trex_unit_test.py --functional $@
if [ $? -eq 0 ]; then
printf "\n$PYTHON test succeeded\n\n"
@@ -16,6 +14,7 @@ else
fi
# Python 3
+echo Python3 test
$PYTHON3 trex_unit_test.py --functional $@
if [ $? -eq 0 ]; then
printf "\n$PYTHON3 test succeeded\n\n"