diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-10-21 22:18:52 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-10-21 22:18:52 +0300 |
commit | aa3c7f8214e8c12dd70d91b237b1fab184390608 (patch) | |
tree | 2dd97cfc31d45a5f2d6494929137b83a2e8ce8f5 | |
parent | 7a2b48d400281d3b0f531177fd3f7b3b398fbab5 (diff) |
Skip failing test_unistd_links test with NODEFS on Windows, since it requires running in administrative mode. (Also atm fails on a few node.js-specific crossplatform discrepancies)
-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] |