summaryrefslogtreecommitdiffstats
path: root/test/option/debug-stree.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option/debug-stree.py')
-rw-r--r--test/option/debug-stree.py57
1 files changed, 29 insertions, 28 deletions
diff --git a/test/option/debug-stree.py b/test/option/debug-stree.py
index 8ffadc6..21ca386 100644
--- a/test/option/debug-stree.py
+++ b/test/option/debug-stree.py
@@ -73,40 +73,41 @@ test.write('bar.h', """
""")
stree = """
-[E B C ]+-foo.xxx
-[E B C ] +-foo.ooo
-[E ] | +-foo.c
-[E ] | +-foo.h
-[E ] | +-bar.h
-[E B C ] +-bar.ooo
-[E ] +-bar.c
-[E ] +-bar.h
-[E ] +-foo.h
+[E B C ]+-foo.xxx
+[E B C ] +-foo.ooo
+[E ] | +-foo.c
+[E ] | +-foo.h
+[E ] | +-bar.h
+[E B C ] +-bar.ooo
+[E ] +-bar.c
+[E ] +-bar.h
+[E ] +-foo.h
"""
test.run(arguments = "--debug=stree foo.xxx")
test.fail_test(string.find(test.stdout(), stree) == -1)
stree2 = """
- E = exists
- R = exists in repository only
- b = implicit builder
- B = explicit builder
- S = side effect
- P = precious
- A = always build
- C = current
- N = no clean
-
-[ B ]+-foo.xxx
-[ B ] +-foo.ooo
-[E ] | +-foo.c
-[E ] | +-foo.h
-[E ] | +-bar.h
-[ B ] +-bar.ooo
-[E ] +-bar.c
-[E ] +-bar.h
-[E ] +-foo.h
+ E = exists
+ R = exists in repository only
+ b = implicit builder
+ B = explicit builder
+ S = side effect
+ P = precious
+ A = always build
+ C = current
+ N = no clean
+ H = no cache
+
+[ B ]+-foo.xxx
+[ B ] +-foo.ooo
+[E ] | +-foo.c
+[E ] | +-foo.h
+[E ] | +-bar.h
+[ B ] +-bar.ooo
+[E ] +-bar.c
+[E ] +-bar.h
+[E ] +-foo.h
"""
test.run(arguments = '-c foo.xxx')