Explorar el 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 hace 4 años
padre
commit
b299f74d05
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/testevdev.c

+ 1 - 1
test/testevdev.c

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