summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorKai-Heng Feng <kai.heng.feng@canonical.com>2017-01-16 13:52:23 +0800
committerKai-Heng Feng <kai.heng.feng@canonical.com>2017-01-20 17:53:10 +0800
commit314717631b8a6d1cc807dd9ae1fb86df4b71ac9b (patch)
treef95dbb15aad919c5c3e17c2cbbd95d2c68949717 /jobs
parent0d23982f9714b3c3108c09494ade482ae983ad8d (diff)
Somerville: Add dkms-build-exclusive-test
DKMS generally only compiles for a specific version of Linux, so it's important to make sure BUILD_EXCLUSIVE_KERNEL is in dkms.conf. OTOH, DKMS comes from official archive usually handles this situation gracefully, so we only need to check non-official DKMS. v2: Ignore packages do not come from remote archive. v3: Add blacklist file to cover more edge cases.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/somerville/somerville.txt.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/jobs/somerville/somerville.txt.in b/jobs/somerville/somerville.txt.in
index 7d8c054..f616032 100644
--- a/jobs/somerville/somerville.txt.in
+++ b/jobs/somerville/somerville.txt.in
@@ -214,3 +214,15 @@ plugin: shell
command:
platform_meta_test
_description: Check if the platform metapackage is installed.
+
+id: somerville/dkms-build-exclusive-test
+category_id: somerville
+plugin: user-interact-verify
+command:
+ dkms_build_exclusive_test
+_description:
+ Check if DKMS has BUILD_EXCLUSIVE_KERNEL clause.
+ STEPS:
+ 1. Verify and check the output.
+ VERIFICATION:
+ No ERROR messages.