summaryrefslogtreecommitdiffstats
path: root/test/option--debug.py
diff options
context:
space:
mode:
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.
+-.