[glib/wip/hadess/installed-tests: 3/5] tests: Correct static-link.py skipped status



commit dac05801dcebf98d1f506de438f8367ab166eac9
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 28 14:30:10 2019 +0100

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]