From 4d4ff213f29bc818e1fb8f0a2715f48369eedc81 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 28 Nov 2019 14:30:10 +0100 Subject: [PATCH] tests: Correct static-link.py skipped status Skipped tests use "77" as the return value, so return 77 instead of 0 when the static-link.py test gets skipped because of a missing environment variable. --- gio/tests/static-link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/static-link.py b/gio/tests/static-link.py index 0af9b1af9..e0a064a7a 100755 --- a/gio/tests/static-link.py +++ b/gio/tests/static-link.py @@ -28,7 +28,7 @@ if not 'GLIB_TEST_COMPILATION' in os.environ: If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, and make sure you have glib build dependencies installed, including meson.''') - sys.exit(0) + sys.exit(77) if len(sys.argv) != 2: print('Usage: {} '.format(os.path.basename(sys.argv[0])))