diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-05-15 23:46:29 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-05-15 23:46:29 (GMT) |
commit | 2517d1eae47c83640ba93c826cf31acb6e231e8c (patch) | |
tree | 568efd6fed483ddbe33dd3c43e2197e63eb5138c /test/symlink | |
parent | ee3e6af1cf734c27107b1b58a4f25830ec74834b (diff) | |
download | SCons-2517d1eae47c83640ba93c826cf31acb6e231e8c.zip SCons-2517d1eae47c83640ba93c826cf31acb6e231e8c.tar.gz SCons-2517d1eae47c83640ba93c826cf31acb6e231e8c.tar.bz2 |
py2/3 skip test on win32. use platform_has_symlink().
Diffstat (limited to 'test/symlink')
-rw-r--r-- | test/symlink/VariantDir.py | 2 | ||||
-rw-r--r-- | test/symlink/dangling-include.py | 2 | ||||
-rw-r--r-- | test/symlink/dangling-source.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/symlink/VariantDir.py b/test/symlink/VariantDir.py index bda309e..d27a4dd 100644 --- a/test/symlink/VariantDir.py +++ b/test/symlink/VariantDir.py @@ -34,7 +34,7 @@ import TestSCons test = TestSCons.TestSCons() -if not hasattr(os, 'symlink'): +if not test.platform_has_symlink(): test.skip_test('No os.symlink() method, no symlinks to test.\n') test.subdir('obj', diff --git a/test/symlink/dangling-include.py b/test/symlink/dangling-include.py index b5ad949..b7d5d2f 100644 --- a/test/symlink/dangling-include.py +++ b/test/symlink/dangling-include.py @@ -34,7 +34,7 @@ import TestSCons test = TestSCons.TestSCons() -if not hasattr(os, 'symlink'): +if not test.platform_has_symlink(): test.skip_test('No os.symlink() method, no symlinks to test.\n') foo_obj = 'foo' + TestSCons._obj diff --git a/test/symlink/dangling-source.py b/test/symlink/dangling-source.py index b803a2e..b2bc540 100644 --- a/test/symlink/dangling-source.py +++ b/test/symlink/dangling-source.py @@ -34,7 +34,7 @@ import TestSCons test = TestSCons.TestSCons() -if not hasattr(os, 'symlink'): +if not test.platform_has_symlink(): test.skip_test('No os.symlink() method, no symlinks to test.\n') test.write('SConstruct', """ |