summaryrefslogtreecommitdiffstats
path: root/test/Fortran/F77PATH.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-13 05:42:18 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-13 05:42:18 (GMT)
commit52fcda2435759339de636e5d5abad71b0f5372ad (patch)
tree7b99184d14e042b4f58b1f2186cbf70f4f05cfc8 /test/Fortran/F77PATH.py
parent90376f36df71401df8e7cf71fead9b7869153159 (diff)
downloadSCons-52fcda2435759339de636e5d5abad71b0f5372ad.zip
SCons-52fcda2435759339de636e5d5abad71b0f5372ad.tar.gz
SCons-52fcda2435759339de636e5d5abad71b0f5372ad.tar.bz2
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/Fortran/F77PATH.py')
-rw-r--r--test/Fortran/F77PATH.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Fortran/F77PATH.py b/test/Fortran/F77PATH.py
index e88cdc7..4308bed 100644
--- a/test/Fortran/F77PATH.py
+++ b/test/Fortran/F77PATH.py
@@ -39,7 +39,7 @@ args = prog + ' ' + subdir_prog + ' ' + variant_prog
test = TestSCons.TestSCons()
if not test.detect('F77', 'g77'):
- test.pass_test()
+ test.skip_test('Found no $F77 tool; skipping test.\n')
test.subdir('include', 'subdir', ['subdir', 'include'], 'inc2')