summaryrefslogtreecommitdiffstats
path: root/test/option
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-02-15 05:14:30 (GMT)
committerSteven Knight <knight@baldmt.com>2006-02-15 05:14:30 (GMT)
commit2708dc3927775a374fc94a6996ebe09e70705e60 (patch)
treee58962d58516f26ff0babcdb67a58435a4019f07 /test/option
parente7190df6b6aa89dac0370dc01ae45ff39254c221 (diff)
downloadSCons-2708dc3927775a374fc94a6996ebe09e70705e60.zip
SCons-2708dc3927775a374fc94a6996ebe09e70705e60.tar.gz
SCons-2708dc3927775a374fc94a6996ebe09e70705e60.tar.bz2
More test portability fixes. (Baptiste Lepilleur and SK)
Diffstat (limited to 'test/option')
-rw-r--r--test/option/debug-stree.py55
1 files changed, 28 insertions, 27 deletions
diff --git a/test/option/debug-stree.py b/test/option/debug-stree.py
index 4132927..69aab06 100644
--- a/test/option/debug-stree.py
+++ b/test/option/debug-stree.py
@@ -71,39 +71,40 @@ 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
-
-[ 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
+
+[ 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')