diff options
author | Steven Knight <knight@baldmt.com> | 2009-01-29 17:06:24 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-01-29 17:06:24 +0000 |
commit | 5edfc172af22825e6e8006e85676d088f28d137b (patch) | |
tree | 4a8c0e032315c03c1674b52764d09f8673ae065b /test/symlink | |
parent | 9f7af6cc1e9f1c78baf187b6a9504dca6de65081 (diff) | |
download | scons-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.py | 3 | ||||
-rw-r--r-- | test/symlink/dangling-include.py | 3 | ||||
-rw-r--r-- | test/symlink/dangling-source.py | 3 |
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')) |