summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-03-21 12:12:06 (GMT)
committerSteven Knight <knight@baldmt.com>2005-03-21 12:12:06 (GMT)
commit0f7d8c4cb8b51992117ceee3a63fd98071dbc1ca (patch)
treee6a5d9b841cacb9ecb83ab15954663d3a517d4a9 /test
parentd844497fa376adbec521e7c1738e35bb6fdfd344 (diff)
downloadSCons-0f7d8c4cb8b51992117ceee3a63fd98071dbc1ca.zip
SCons-0f7d8c4cb8b51992117ceee3a63fd98071dbc1ca.tar.gz
SCons-0f7d8c4cb8b51992117ceee3a63fd98071dbc1ca.tar.bz2
Fix test/emitter.py for new entry matching.
Diffstat (limited to 'test')
-rw-r--r--test/emitter.py37
1 files changed, 22 insertions, 15 deletions
diff --git a/test/emitter.py b/test/emitter.py
index 0bdc619..ebe230e 100644
--- a/test/emitter.py
+++ b/test/emitter.py
@@ -66,30 +66,37 @@ test.write(['src', 'f.in'], 'f.in')
test.write(['src', 'g.in'], 'g.in')
test.write(['src', 'h.in'], 'h.in')
-test.run(arguments='.')
+# Do 'src' last so that creation of the emitter files in there doesn't
+# interfere with searching for them in the BuildDirs.
+
+test.run(arguments='var2')
-test.must_exist(test.workpath('src', 'f.out'))
-test.must_exist(test.workpath('src', 'f.out.foo'))
-test.must_exist(test.workpath('var1', 'f.out'))
-test.must_exist(test.workpath('var1', 'f.out.foo'))
test.must_exist(test.workpath('var2', 'f.out'))
test.must_exist(test.workpath('var2', 'f.out.foo'))
+test.must_exist(test.workpath('var2', 'g.out'))
+test.must_exist(test.workpath('var2', 'g.out.foo'))
+test.must_exist(test.workpath('var2', 'h.out'))
+test.must_exist(test.workpath('var2', 'emit.1'))
+test.must_exist(test.workpath('var2', 'emit.2'))
-test.must_exist(test.workpath('src', 'g.out'))
-test.must_exist(test.workpath('src', 'g.out.foo'))
+test.run(arguments = 'var1')
+
+test.must_exist(test.workpath('var1', 'f.out'))
+test.must_exist(test.workpath('var1', 'f.out.foo'))
test.must_exist(test.workpath('var1', 'g.out'))
test.must_exist(test.workpath('var1', 'g.out.foo'))
-test.must_exist(test.workpath('var2', 'g.out'))
-test.must_exist(test.workpath('var2', 'g.out.foo'))
+test.must_exist(test.workpath('var1', 'h.out'))
+test.must_exist(test.workpath('var1', 'emit.1'))
+test.must_exist(test.workpath('var1', 'emit.2'))
+test.run(arguments = 'src')
+
+test.must_exist(test.workpath('src', 'f.out'))
+test.must_exist(test.workpath('src', 'f.out.foo'))
+test.must_exist(test.workpath('src', 'g.out'))
+test.must_exist(test.workpath('src', 'g.out.foo'))
test.must_exist(test.workpath('src', 'h.out'))
test.must_exist(test.workpath('src', 'emit.1'))
test.must_exist(test.workpath('src', 'emit.2'))
-test.must_exist(test.workpath('var1', 'h.out'))
-test.must_exist(test.workpath('var1', 'emit.1'))
-test.must_exist(test.workpath('var1', 'emit.2'))
-test.must_exist(test.workpath('var2', 'h.out'))
-test.must_exist(test.workpath('var2', 'emit.1'))
-test.must_exist(test.workpath('var2', 'emit.2'))
test.pass_test()