diff options
author | Lyude Paul <lyude@redhat.com> | 2019-04-12 15:40:43 -0400 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2019-05-07 17:37:54 -0400 |
commit | 71a46ea98a946437993b16b1cb2433f85d19a94e (patch) | |
tree | e9d7505976b9bef067092b81898cafe24cb1958d /lib | |
parent | f052e49a43cc9704ea5f240df15dd9d3dfed68ab (diff) |
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 <petri.latvala@intel.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |