Commit b299f74d051492a2abdfb4d7ef65506833198639

Simon McVittie 2022-05-04T15:34:41

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>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testevdev.c b/test/testevdev.c
index 76a12ef..938a9a5 100644
--- a/test/testevdev.c
+++ b/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