summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/reltest8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/reltest b/tests/reltest
index 3e09e5f..f0c0645 100755
--- a/tests/reltest
+++ b/tests/reltest
@@ -20,7 +20,13 @@ test_script() {
fi
}
-for py in python2 python3; do
+if [ $# == "0" ]; then
+ py_execs="python2 python3"
+else
+ py_execs=$@
+fi
+
+for py in $py_execs; do
echo -e "\n================= Test suite with $py =================\n"
if ! $py Kconfiglib/testsuite.py; then