diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-20 22:11:33 -0400 |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-20 22:11:33 -0400 |
commit | e76e5f32cb0fd0b69339384f01d1ca5256cc8d9d (patch) | |
tree | d56531bf9022752ce71e409d527cdf2138555467 /test/AR | |
parent | de9188e444af59423350cfa7d7f122120d13be00 (diff) | |
download | scons-e76e5f32cb0fd0b69339384f01d1ca5256cc8d9d.tar.gz |
Updates to test/AR and test/Actions.
-Moved some string files to fixture.
Diffstat (limited to 'test/AR')
-rw-r--r-- | test/AR/AR.py | 4 | ||||
-rw-r--r-- | test/AR/ARFLAGS.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/AR/AR.py b/test/AR/AR.py index 573f2d94..eb4c5071 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 fad9c19a..0a9f36e1 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() |