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.
This commit is contained in:
Bastien Nocera 2019-11-28 14:30:10 +01:00
parent fc95385627
commit 4d4ff213f2

View File

@ -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: {} <gio-2.0.pc dir>'.format(os.path.basename(sys.argv[0])))