Commit 5cffdcd6 authored by Dimitri John Ledkov's avatar Dimitri John Ledkov Committed by Stefan Bader

UBUNTU: [Debian] Make ubuntu-regression-suite skippable on unbootable kernels.

BugLink: https://bugs.launchpad.net/bugs/1823056Signed-off-by: default avatarDimitri John Ledkov <xnox@ubuntu.com>
Acked-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Acked-by: default avatarAndy Whitcroft <apw@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 1731a9b5
......@@ -4,4 +4,4 @@ Restrictions: allow-stderr
Tests: ubuntu-regression-suite
Depends: build-essential, gcc-multilib [amd64 arm64 armhf i386 powerpc], gdb, git, bzr
Restrictions: allow-stderr, isolation-machine, breaks-testbed
Restrictions: allow-stderr, isolation-machine, breaks-testbed, skippable
#!/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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment