Browse Source

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 years ago
parent
commit
b299f74d05
1 changed files with 1 additions and 1 deletions
  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