Просмотр исходного кода

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 лет назад
Родитель
Сommit
b299f74d05
1 измененных файлов с 1 добавлено и 1 удалено
  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