From a7d9d8c8a89f6420e0dfbad9b705552296d34449 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Tue, 22 Jan 2013 13:25:44 +0000 Subject: Reinstate check for python 2.7 --- tests.as-root/rootfs-tarball-builds-rootfs-and-kernel.script | 3 +++ tests.as-root/tarball-image-is-sensible.script | 3 +++ 2 files changed, 6 insertions(+) (limited to 'tests.as-root') diff --git a/tests.as-root/rootfs-tarball-builds-rootfs-and-kernel.script b/tests.as-root/rootfs-tarball-builds-rootfs-and-kernel.script index 088e6925..c6179aaf 100755 --- a/tests.as-root/rootfs-tarball-builds-rootfs-and-kernel.script +++ b/tests.as-root/rootfs-tarball-builds-rootfs-and-kernel.script @@ -21,6 +21,9 @@ set -eu +# Disable test on versions of Python before 2.7. +. "$SRCDIR/scripts/python-check" + cache="$DATADIR/cache/artifacts" arch=$(uname -m) diff --git a/tests.as-root/tarball-image-is-sensible.script b/tests.as-root/tarball-image-is-sensible.script index 2a9044b7..1b4d60ae 100755 --- a/tests.as-root/tarball-image-is-sensible.script +++ b/tests.as-root/tarball-image-is-sensible.script @@ -21,6 +21,9 @@ set -eu +# Disable test on versions of Python before 2.7. +. "$SRCDIR/scripts/python-check" + . "$SRCDIR/scripts/fix-committer-info" tar=$("$SRCDIR/scripts/test-morph" --find-system-artifact \ -- cgit v1.2.1