fix packaging of dpdk-devbind
[deb_dpdk.git] / debian / tests / test-dkms
index ab3aca0..5db36af 100644 (file)
@@ -4,6 +4,10 @@ set -eu
 basedir=$(dirname "$0")
 . "${basedir}"/check-dpdk-supported-arch.sh
 
+if [ -d /var/lib/dkms ]; then
+    (cd /var/lib/dkms; find -name "make.log" -print0 | xargs -0 tar c) > "$ADT_ARTIFACTS/dkms-make-logs.tar"
+fi
+
 # check that the dkms build fine (on dep install), load and unload
 printf "\n\nChecking igb_uio\n"
 modinfo igb_uio