mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-27 03:18:59 +02:00
tests/assert-msg-test: abort() exit code is 3 on win32
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
committed by
Philip Withnall
parent
64e12059e3
commit
2c94b422b2
@@ -134,7 +134,10 @@ class TestAssertMessage(unittest.TestCase):
|
||||
"""Test running g_assert() and fail the program."""
|
||||
result = self.runAssertMessage()
|
||||
|
||||
self.assertEqual(result.info.returncode, -6)
|
||||
if os.name == "nt":
|
||||
self.assertEqual(result.info.returncode, 3)
|
||||
else:
|
||||
self.assertEqual(result.info.returncode, -6)
|
||||
self.assertIn("assertion failed: (42 < 0)", result.out)
|
||||
|
||||
def test_gdb_gassert(self):
|
||||
|
Reference in New Issue
Block a user