summaryrefslogtreecommitdiff
path: root/test/PharLap.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-13 05:42:18 +0000
committerSteven Knight <knight@baldmt.com>2005-08-13 05:42:18 +0000
commit52fcda2435759339de636e5d5abad71b0f5372ad (patch)
tree7b99184d14e042b4f58b1f2186cbf70f4f05cfc8 /test/PharLap.py
parent90376f36df71401df8e7cf71fead9b7869153159 (diff)
downloadscons-52fcda2435759339de636e5d5abad71b0f5372ad.tar.gz
Add a skip_test() method to the infrastructure and use it for test scripts that skip all or part of their tests based on tool availability or test platform.
Diffstat (limited to 'test/PharLap.py')
-rw-r--r--test/PharLap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/PharLap.py b/test/PharLap.py
index d9f89934..96525986 100644
--- a/test/PharLap.py
+++ b/test/PharLap.py
@@ -34,7 +34,7 @@ import time
test = TestSCons.TestSCons()
if sys.platform != 'win32':
- test.pass_test()
+ test.skip_test('PharLap is only available on win32; skipping test.\n')
test.no_result(not test.detect_tool('linkloc'))
test.no_result(not test.detect_tool('386asm'))