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

UBUNTU: [Debian] Only run regression-suite, if requested to.

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 6ac45783
......@@ -12,6 +12,21 @@ case $source in
;;
esac
# Only run regression-suite if we were requested to
have_meta=0
for trigger in ${ADT_TEST_TRIGGERS}
do
case "$trigger" in
linux-meta/*|linux-meta-*/*)
have_meta=1
;;
esac
done
if [ -n "$ADT_TEST_TRIGGERS" ] && [ "$have_meta" -eq 0 ]; then
echo "ubuntu-regression-suite is not requested, as there is no linux-meta trigger"
exit 77
fi
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