From: Bartosz Golaszewski Date: Tue, 16 Apr 2019 07:37:37 +0000 (+0200) Subject: tests: make linux v5.1 the minimum version to run tests X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=87cd5560a0d052c164df548e4ee24cabe10ccfef;p=qemu-gpiodev%2Flibgpiod.git tests: make linux v5.1 the minimum version to run tests The testing framework has been adjusted for linux v5.1. It will no longer work with older versions. Signed-off-by: Bartosz Golaszewski --- diff --git a/tests/gpiod-test.c b/tests/gpiod-test.c index 56ef770..ca9761a 100644 --- a/tests/gpiod-test.c +++ b/tests/gpiod-test.c @@ -31,8 +31,8 @@ #define NORETURN __attribute__((noreturn)) #define MALLOC __attribute__((malloc)) -static const unsigned int min_kern_major = 4; -static const unsigned int min_kern_minor = 16; +static const unsigned int min_kern_major = 5; +static const unsigned int min_kern_minor = 1; static const unsigned int min_kern_release = 0; struct mockup_chip {