]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: [Debian] Make ubuntu-regression-suite skippable on unbootable kernels.
authorDimitri John Ledkov <xnox@ubuntu.com>
Thu, 7 Mar 2019 15:32:00 +0000 (16:32 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 24 Apr 2019 10:12:28 +0000 (12:12 +0200)
BugLink: https://bugs.launchpad.net/bugs/1823056
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
debian/tests/control
debian/tests/ubuntu-regression-suite

index d2bd0c54ddb8ffca799cc52834b241319eca9f11..ed1e6c8becc5ae1d44efb768c4a37bfecfb2c1ad 100644 (file)
@@ -4,4 +4,4 @@ Restrictions: allow-stderr
 
 Tests: ubuntu-regression-suite
 Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, bzr
-Restrictions: allow-stderr, isolation-machine, breaks-testbed
+Restrictions: allow-stderr, isolation-machine, breaks-testbed, skippable
index 1de5ce62563d25dff997c2a1fb33512d5f255314..b4bb997416a56296cd76e8fd93491958fc53e3b0 100755 (executable)
@@ -1,6 +1,17 @@
 #!/bin/sh
 set -e
 
+# Only run regression-suite on kernels we can boot in canonistack
+source=`dpkg-parsechangelog -SSource`
+case $source in
+    linux|linux-hwe|linux-kvm|linux-oem)
+       ;;
+    *)
+       echo "ubuntu-regression-suite is pointless, if one cannot boot the kernel"
+       exit 77
+       ;;
+esac
+
 sver=`dpkg-parsechangelog -SVersion`
 read x rver x </proc/version_signature