From 71a46ea98a946437993b16b1cb2433f85d19a94e Mon Sep 17 00:00:00 2001 From: Lyude Paul Date: Fri, 12 Apr 2019 15:40:43 -0400 Subject: lib/tests: Fix test failures with meson 0.50.0 Since meson 0.50.0, unit tests which return the GNU standard return code 99 will fail, regardless of whether or not should_fail:true is passed to test(). Unfortunately, our standard error code (IGT_EXIT_FAILURE) is also 99. So, fix this by changing our standard error code to 98. Reviewed-by: Petri Latvala Signed-off-by: Lyude Paul --- lib/igt_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/igt_core.h b/lib/igt_core.h index 47ffd9e7..44634e0f 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -119,7 +119,7 @@ extern char *igt_frame_dump_path; * * Exit status indicating a test failure */ -#define IGT_EXIT_FAILURE 99 +#define IGT_EXIT_FAILURE 98 bool __igt_fixture(void); void __igt_fixture_complete(void); -- cgit v1.2.3