summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfigTest.py2.sh
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-02-23 22:56:55 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-25 08:38:42 +0100
commit18372712592b30638772afb5b7e15bfca92c2058 (patch)
tree40d1017c5dcd32b22aa5be03a6424f5a394678b3 /src/config/SSSDConfigTest.py2.sh
parent4a5a18f489f4d19aa0571528a7f0c7a8d35ac83f (diff)
downloadsssd-18372712592b30638772afb5b7e15bfca92c2058.tar.gz
sssd-18372712592b30638772afb5b7e15bfca92c2058.tar.xz
sssd-18372712592b30638772afb5b7e15bfca92c2058.zip
TESTS: Run python tests with all supported python versions
This patch add simple bash wrappers for python tests. They are executed either with python2 or python3. Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/config/SSSDConfigTest.py2.sh')
-rwxr-xr-xsrc/config/SSSDConfigTest.py2.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/SSSDConfigTest.py2.sh b/src/config/SSSDConfigTest.py2.sh
new file mode 100755
index 000000000..7bbd82af3
--- /dev/null
+++ b/src/config/SSSDConfigTest.py2.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+SCRIPT=$(readlink -f "$0")
+SCRIPT_PATH=$(dirname "$SCRIPT")
+exec python2 $SCRIPT_PATH/SSSDConfigTest.py