diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2017-03-23 17:59:55 +0100 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2017-03-24 08:36:34 +0100 |
commit | 30228a98299eeb540fd014b9519a9efd4a434d4b (patch) | |
tree | 19621167b7b90e1116695d7fd1938d0d5c1a8fa7 /tests/test_everything.py | |
parent | 23deef70102657e75e07e54b4378c20214c867f3 (diff) | |
download | pygobject-30228a98299eeb540fd014b9519a9efd4a434d4b.tar.gz |
tests: Make test suite run on Windows
(in a msys2 environment)
* Replace LD_LIBRARY_PATH with gir code in runtests.py
* Remove unneeded runtests-windows.py
* Unset MSYSTEM to disable path separator hacks by msys2
* Set sys.path in runtests.py
* Skip various tests failing/hanging/crashing on Windows
https://bugzilla.gnome.org/show_bug.cgi?id=780396
Diffstat (limited to 'tests/test_everything.py')
-rw-r--r-- | tests/test_everything.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_everything.py b/tests/test_everything.py index fae07e6e..b6405c1b 100644 --- a/tests/test_everything.py +++ b/tests/test_everything.py @@ -575,7 +575,7 @@ class TestEverything(unittest.TestCase): self.assertTrue('TestBoxedPrivate' in str(e_value), str(e_value)) self.assertTrue('constructor' in str(e_value), str(e_value)) tb = ''.join(traceback.format_exception(e_type, e_value, e_tb)) - self.assertTrue('tests/test_everything.py", line' in tb, tb) + self.assertTrue('test_everything.py", line' in tb, tb) @unittest.skipUnless(has_cairo, 'built without cairo support') |