diff options
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', """ |