mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-14 00:23:47 +02:00
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:
parent
fc95385627
commit
4d4ff213f2
@ -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,
|
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
|
and make sure you have glib build dependencies installed, including
|
||||||
meson.''')
|
meson.''')
|
||||||
sys.exit(0)
|
sys.exit(77)
|
||||||
|
|
||||||
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
||||||
print('Usage: {} <gio-2.0.pc dir>'.format(os.path.basename(sys.argv[0])))
|
print('Usage: {} <gio-2.0.pc dir>'.format(os.path.basename(sys.argv[0])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user