[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fwts-devel
Subject:    ACK: [PATCH] debian/tests: only run dkms test when dkms module is run
From:       Alex Hung <alex.hung () canonical ! com>
Date:       2019-11-25 16:29:48
Message-ID: d37ac8f2-847a-c5d6-11dd-664bc89e98f6 () canonical ! com
[Download RAW message or body]

On 2019-11-25 8:54 a.m., Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> In the case where the efi test driver is not built by dkms
> then we should basically skip the dkms test.  To do this,
> add a test control file that only runs the dkms-autopkgtest
> if the dkms driver has been built.
> 
> This commit is requred by the earlier commit "efi_runtime: don't 
> build dkms module for kernels 4.8.0 and above" to work on older
> and current kernels.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> debian/tests/control | 3 +++
> 1 file changed, 3 insertions(+)
> create mode 100644 debian/tests/control
> 
> diff --git a/debian/tests/control b/debian/tests/control
> new file mode 100644
> index 00000000..f972527f
> --- /dev/null
> +++ b/debian/tests/control
> @@ -0,0 +1,3 @@
> +Test-Command: [ -e /lib/modules/$(uname -r)/updates/dkms/efi_runtime.ko ] && \
> /usr/lib/dkms/dkms-autopkgtest || true +Restrictions: needs-root, allow-stderr
> +Depends: dkms
> 


Acked-by: Alex Hung <alex.hung@canonical.com>

-- 
fwts-devel mailing list
fwts-devel@lists.ubuntu.com
Modify settings or unsubscribe at: \
https://lists.ubuntu.com/mailman/listinfo/fwts-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic