summaryrefslogtreecommitdiff
path: root/tests.as-root/building-a-system-branch-multiple-times-doesnt-generate-new-artifacts.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests.as-root/building-a-system-branch-multiple-times-doesnt-generate-new-artifacts.script')
-rwxr-xr-xtests.as-root/building-a-system-branch-multiple-times-doesnt-generate-new-artifacts.script7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests.as-root/building-a-system-branch-multiple-times-doesnt-generate-new-artifacts.script b/tests.as-root/building-a-system-branch-multiple-times-doesnt-generate-new-artifacts.script
index 9ccc3dee..bf8ecf71 100755
--- a/tests.as-root/building-a-system-branch-multiple-times-doesnt-generate-new-artifacts.script
+++ b/tests.as-root/building-a-system-branch-multiple-times-doesnt-generate-new-artifacts.script
@@ -20,12 +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
- name=building-a-system-branch-multiple-times-doesnt-generate-new-artifacts
- cat "$SRCDIR/tests.as-root/$name.stdout"
- exit 0
-fi
+source "$SRCDIR/scripts/python-check"
source "$SRCDIR/tests.as-root/setup-build"