[glib: 3/12] tests/assert-msg-test: it is not a script (anymore?)




commit 0a4dc17f281f2419793304f8b79af511b53a7370
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Fri Oct 14 14:12:59 2022 +0400

    tests/assert-msg-test: it is not a script (anymore?)
    
    Fixes running the program on win32.
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 glib/tests/assert-msg-test.py | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/glib/tests/assert-msg-test.py b/glib/tests/assert-msg-test.py
index 603bfc4599..ddb12d5956 100755
--- a/glib/tests/assert-msg-test.py
+++ b/glib/tests/assert-msg-test.py
@@ -74,10 +74,6 @@ class TestAssertMessage(unittest.TestCase):
 
     def runAssertMessage(self, *args):
         argv = [self.__assert_msg_test]
-        # shebang lines are not supported on native
-        # Windows consoles
-        if os.name == "nt":
-            argv.insert(0, sys.executable)
         argv.extend(args)
         print("Running:", argv)
 


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