diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-05-15 16:46:29 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-05-15 16:46:29 -0700 |
commit | 4af46d660e9a55944053b6bacf9b2098d3d48bdf (patch) | |
tree | 568efd6fed483ddbe33dd3c43e2197e63eb5138c /test/symlink | |
parent | 04574467eac8a31dcd35325bbfbc2460a183a182 (diff) | |
download | scons-4af46d660e9a55944053b6bacf9b2098d3d48bdf.tar.gz |
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 bda309e0..d27a4ddc 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 b5ad9496..b7d5d2fa 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 b803a2e0..b2bc540d 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', """ |