summaryrefslogtreecommitdiffstats
path: root/test/CPPPATH/match-dir.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-06-08 06:36:47 (GMT)
committerSteven Knight <knight@baldmt.com>2010-06-08 06:36:47 (GMT)
commit02b944eec24378f2382bc7e4ff7b94805934531a (patch)
treeb3de36cbc0f0b538c6ab72d54f5a9218c64e263b /test/CPPPATH/match-dir.py
parentdecf967b2105f9d91d1ba285ba28761b2cffbb25 (diff)
downloadSCons-02b944eec24378f2382bc7e4ff7b94805934531a.zip
SCons-02b944eec24378f2382bc7e4ff7b94805934531a.tar.gz
SCons-02b944eec24378f2382bc7e4ff7b94805934531a.tar.bz2
Test fixes for Solaris, notably making test/Actions/function.py print
intermediate messages to avoid buildbot hangs.
Diffstat (limited to 'test/CPPPATH/match-dir.py')
-rw-r--r--test/CPPPATH/match-dir.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CPPPATH/match-dir.py b/test/CPPPATH/match-dir.py
index e1d2604..6ec30b4 100644
--- a/test/CPPPATH/match-dir.py
+++ b/test/CPPPATH/match-dir.py
@@ -29,10 +29,17 @@ Verify that we don't blow up if there's a directory name within
$CPPPATH that matches a #include file name.
"""
+import sys
+
import TestSCons
test = TestSCons.TestSCons()
+# TODO(sgk): get this to work everywhere by using fake compilers
+if sys.platform.find('sunos') != -1:
+ msg = 'SunOS C compiler does not handle this case; skipping test.\n'
+ test.skip_test(msg)
+
test.subdir(['src'],
['src', 'inc'],
['src', 'inc', 'inc2'])