summaryrefslogtreecommitdiff
path: root/test/symlink
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-01-29 17:06:24 +0000
committerSteven Knight <knight@baldmt.com>2009-01-29 17:06:24 +0000
commit5edfc172af22825e6e8006e85676d088f28d137b (patch)
tree4a8c0e032315c03c1674b52764d09f8673ae065b /test/symlink
parent9f7af6cc1e9f1c78baf187b6a9504dca6de65081 (diff)
downloadscons-5edfc172af22825e6e8006e85676d088f28d137b.tar.gz
Change explicit uses of test.no_result() to test.skip_test(),
for consistency with the rest.
Diffstat (limited to 'test/symlink')
-rw-r--r--test/symlink/VariantDir.py3
-rw-r--r--test/symlink/dangling-include.py3
-rw-r--r--test/symlink/dangling-source.py3
3 files changed, 3 insertions, 6 deletions
diff --git a/test/symlink/VariantDir.py b/test/symlink/VariantDir.py
index a6dd30be..bbde65d3 100644
--- a/test/symlink/VariantDir.py
+++ b/test/symlink/VariantDir.py
@@ -35,8 +35,7 @@ import TestSCons
test = TestSCons.TestSCons()
if not hasattr(os, 'symlink'):
- print "No os.symlink() method, no symlinks to test."
- test.no_result(1)
+ test.skip_test('No os.symlink() method, no symlinks to test.\n')
test.subdir('obj',
['obj', 'subdir'],
diff --git a/test/symlink/dangling-include.py b/test/symlink/dangling-include.py
index 9c9d93a1..97026d5e 100644
--- a/test/symlink/dangling-include.py
+++ b/test/symlink/dangling-include.py
@@ -35,8 +35,7 @@ import TestSCons
test = TestSCons.TestSCons()
if not hasattr(os, 'symlink'):
- print "No os.symlink() method, no symlinks to test."
- test.no_result(1)
+ 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 366b7426..33ad6614 100644
--- a/test/symlink/dangling-source.py
+++ b/test/symlink/dangling-source.py
@@ -35,8 +35,7 @@ import TestSCons
test = TestSCons.TestSCons()
if not hasattr(os, 'symlink'):
- print "No os.symlink() method, no symlinks to test."
- test.no_result(1)
+ test.skip_test('No os.symlink() method, no symlinks to test.\n')
test.write('SConstruct', """
Command('file.out', 'file.in', Copy('$TARGET', '$SOURCE'))