Explorar o código

test: Make testevdev succeed if the feature is disabled

"Not applicable" is more like success than it is like failure.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie %!s(int64=3) %!d(string=hai) anos
pai
achega
b299f74d05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/testevdev.c

+ 1 - 1
test/testevdev.c

@@ -1019,7 +1019,7 @@ static int
 run_test(void)
 {
     printf("SDL compiled without evdev capability check.\n");
-    return 0;
+    return 1;
 }
 
 #endif