summaryrefslogtreecommitdiffstats
path: root/test/Value.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Value.py')
-rw-r--r--test/Value.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Value.py b/test/Value.py
index 06cce40..f3ad458 100644
--- a/test/Value.py
+++ b/test/Value.py
@@ -97,7 +97,7 @@ for source_signature in ['MD5', 'timestamp-newer']:
#" <- unconfuses emacs syntax highlighting
test.must_contain_all_lines(test.stdout(), [out1, out2, out7, out8])
- print test.stdout()
+ #print test.stdout()
test.fail_test(re.search(out3, test.stdout()) == None)
test.must_match('f1.out', "/usr/local")
@@ -108,7 +108,7 @@ for source_signature in ['MD5', 'timestamp-newer']:
test.up_to_date(arguments='.')
- test.run(arguments='prefix=/usr')
+ test.run(options='prefix=/usr')
out4 = """create(["f1.out"], ['/usr'])"""
out5 = """create(["f2.out"], [4])"""
out6 = """create\\(\\["f3.out"\\], \\[<.*.Custom (instance|object) at """
@@ -121,18 +121,18 @@ for source_signature in ['MD5', 'timestamp-newer']:
test.must_match('f3.out', "C=/usr")
test.must_match('f4.out', '4')
- test.up_to_date('prefix=/usr', '.')
+ test.up_to_date(options='prefix=/usr', arguments='.')
test.unlink('f3.out')
- test.run(arguments='prefix=/var')
+ test.run(options='prefix=/var')
out4 = """create(["f1.out"], ['/var'])"""
test.must_contain_all_lines(test.stdout(), [out4, out7, out8])
test.must_not_contain_any_line(test.stdout(), [out5])
test.fail_test(re.search(out6, test.stdout()) == None)
- test.up_to_date('prefix=/var', '.')
+ test.up_to_date(options='prefix=/var', arguments='.')
test.must_match('f1.out', "/var")
test.must_match('f2.out', "4")