summaryrefslogtreecommitdiffstats
path: root/test/AR
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-21 02:11:33 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-21 02:11:33 (GMT)
commit191d1f1a9937ecdf16e12ad5610586c3ba7c50fd (patch)
treed56531bf9022752ce71e409d527cdf2138555467 /test/AR
parent0e2a4161264e7bac8368b8132b368796c880e30e (diff)
downloadSCons-191d1f1a9937ecdf16e12ad5610586c3ba7c50fd.zip
SCons-191d1f1a9937ecdf16e12ad5610586c3ba7c50fd.tar.gz
SCons-191d1f1a9937ecdf16e12ad5610586c3ba7c50fd.tar.bz2
Updates to test/AR and test/Actions.
-Moved some string files to fixture.
Diffstat (limited to 'test/AR')
-rw-r--r--test/AR/AR.py4
-rw-r--r--test/AR/ARFLAGS.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/AR/AR.py b/test/AR/AR.py
index 573f2d9..eb4c507 100644
--- a/test/AR/AR.py
+++ b/test/AR/AR.py
@@ -94,13 +94,13 @@ test.run(arguments = 'f' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.fail_test(os.path.exists(test.workpath('wrapper.out')))
+test.must_not_exist(test.workpath('wrapper.out'))
test.run(arguments = 'b' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.fail_test(test.read('wrapper.out') != b"wrapper.py\n")
+test.must_match('wrapper.out', 'wrapper.py\n')
test.pass_test()
diff --git a/test/AR/ARFLAGS.py b/test/AR/ARFLAGS.py
index fad9c19..0a9f36e 100644
--- a/test/AR/ARFLAGS.py
+++ b/test/AR/ARFLAGS.py
@@ -93,13 +93,13 @@ test.run(arguments = 'f' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.fail_test(os.path.exists(test.workpath('wrapper.out')))
+test.must_not_exist(test.workpath('wrapper.out'))
test.run(arguments = 'b' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.fail_test(test.read('wrapper.out') != b"wrapper.py\n")
+test.must_match('wrapper.out', 'wrapper.py\n')
test.pass_test()