summaryrefslogtreecommitdiffstats
path: root/test/option
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-14 06:00:06 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-14 06:00:06 (GMT)
commit1923dc337f9f98c3e08b95654dea4b34084c6302 (patch)
tree359dd0ea59c350586d639773ea945ad98dd0ce7d /test/option
parenta941b68612df943f6addacc59cd1ff3aa47b5907 (diff)
downloadSCons-1923dc337f9f98c3e08b95654dea4b34084c6302.zip
SCons-1923dc337f9f98c3e08b95654dea4b34084c6302.tar.gz
SCons-1923dc337f9f98c3e08b95654dea4b34084c6302.tar.bz2
Update more tests to use the new skip_test() method. Replace a CHANGES.txt comment inadvertently deleted.
Diffstat (limited to 'test/option')
-rw-r--r--test/option/debug-count.py5
-rw-r--r--test/option/debug-memory.py5
-rw-r--r--test/option/debug-objects.py5
3 files changed, 6 insertions, 9 deletions
diff --git a/test/option/debug-count.py b/test/option/debug-count.py
index 3cb924b..3a0fbb0 100644
--- a/test/option/debug-count.py
+++ b/test/option/debug-count.py
@@ -39,9 +39,8 @@ test = TestSCons.TestSCons()
try:
import weakref
except ImportError:
- print "Python version has no `weakref' module;"
- print "skipping tests of --debug=count."
- test.pass_test()
+ x = "Python version has no 'weakref' module; skipping tests.\n"
+ test.skip_test(x)
diff --git a/test/option/debug-memory.py b/test/option/debug-memory.py
index 2812f50..0a2875f 100644
--- a/test/option/debug-memory.py
+++ b/test/option/debug-memory.py
@@ -39,9 +39,8 @@ test = TestSCons.TestSCons()
try:
import resource
except ImportError:
- print "Python version has no `resource' module;"
- print "skipping test of --debug=memory."
- test.pass_test()
+ x = "Python version has no 'resource' module; skipping tests.\n"
+ test.skip_test(x)
diff --git a/test/option/debug-objects.py b/test/option/debug-objects.py
index 324585e..33ec59d 100644
--- a/test/option/debug-objects.py
+++ b/test/option/debug-objects.py
@@ -39,9 +39,8 @@ test = TestSCons.TestSCons()
try:
import weakref
except ImportError:
- print "Python version has no `weakref' module;"
- print "skipping tests of --debug=objects."
- test.pass_test()
+ x = "Python version has no 'weakref' module; skipping tests.\n"
+ test.skip_test(x)