diff options
author | juj <jujjyl@gmail.com> | 2013-10-22 16:06:55 -0700 |
---|---|---|
committer | juj <jujjyl@gmail.com> | 2013-10-22 16:06:55 -0700 |
commit | 98a12c04b0e8fe43303c75d3b96b6ad8a0bd9fa9 (patch) | |
tree | 4c48819be2184c8c77c167f5f39578edecc96e11 /tests/test_core.py | |
parent | e5b15abb510e020ba2a76436d61428cb1b664471 (diff) | |
parent | 3c0549acd9d7b900dda86b2827a485d889bf4cdd (diff) |
Merge pull request #1722 from juj/fix_nodefs_windows
Fix nodefs windows
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 4ab8f8e1..69fb31f3 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -7841,6 +7841,12 @@ def process(filename): self.clear() if not self.is_le32(): return self.skip('le32 needed for inline js') for fs in ['MEMFS', 'NODEFS']: + if WINDOWS and fs == 'NODEFS': + print >> sys.stderr, 'Skipping NODEFS part of this test for test_unistd_links on Windows, since it would require administrative privileges.' + # Also, other detected discrepancies if you do end up running this test on NODEFS: + # test expects /, but Windows gives \ as path slashes. + # Calling readlink() on a non-link gives error 22 EINVAL on Unix, but simply error 0 OK on Windows. + continue src = open(path_from_root('tests', 'unistd', 'links.c'), 'r').read() expected = open(path_from_root('tests', 'unistd', 'links.out'), 'r').read() Building.COMPILER_TEST_OPTS += ['-D' + fs] |