summaryrefslogtreecommitdiff
path: root/tests.as-root/build-with-push.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests.as-root/build-with-push.script')
-rwxr-xr-xtests.as-root/build-with-push.script6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests.as-root/build-with-push.script b/tests.as-root/build-with-push.script
index 1c3fb3fd..554edaaa 100755
--- a/tests.as-root/build-with-push.script
+++ b/tests.as-root/build-with-push.script
@@ -20,11 +20,7 @@
set -eu
# Disable test on versions of Python before 2.7.
-if ! python --version 2>&1 | grep '^Python 2\.[78]' > /dev/null
-then
- cat "$SRCDIR/tests.as-root/build-with-push.stdout"
- exit 0
-fi
+source "$SRCDIR/scripts/python-check"
source "$SRCDIR/tests.as-root/setup-build"