summaryrefslogtreecommitdiffstats
path: root/test/option--debug.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-14 23:43:59 (GMT)
committerSteven Knight <knight@baldmt.com>2003-01-14 23:43:59 (GMT)
commit6bc341a516112626e301004808205731f4bc4c9e (patch)
tree79bd53b5fa29aa88b597fa4a920ac93737b6af06 /test/option--debug.py
parentac081d1e052317f3cd08de9ec301c3686006ae80 (diff)
downloadSCons-6bc341a516112626e301004808205731f4bc4c9e.zip
SCons-6bc341a516112626e301004808205731f4bc4c9e.tar.gz
SCons-6bc341a516112626e301004808205731f4bc4c9e.tar.bz2
Add --debug-includes. (Anthony Roach)
Diffstat (limited to 'test/option--debug.py')
-rw-r--r--test/option--debug.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/option--debug.py b/test/option--debug.py
index cf6c4e0..e85ca5c 100644
--- a/test/option--debug.py
+++ b/test/option--debug.py
@@ -94,6 +94,19 @@ tree = """
test.run(arguments = "--debug=dtree foo.xxx")
test.fail_test(string.find(test.stdout(), tree) == -1)
+tree = """
++-foo.c
+ +-foo.h
+ +-bar.h
+"""
+test.run(arguments = "--debug=includes foo.ooo")
+test.fail_test(string.find(test.stdout(), tree) == -1)
+
+# these shouldn't print out anything in particular, but
+# they shouldn't crash either:
+test.run(arguments = "--debug=includes .")
+test.run(arguments = "--debug=includes foo.c")
+
tree = """scons: \".\" is up to date.
+-.