Selaa lähdekoodia

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 <[email protected]>
Simon McVittie 3 vuotta sitten
vanhempi
commit
b299f74d05
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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