diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-21 16:57:57 (GMT) |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-21 16:57:57 (GMT) |
commit | f5035c6a61ad10f440a22c14ce22bbb1d6796f62 (patch) | |
tree | 804b1383be0b30f3118d5df81db4315bcea1d32e /test/CC/SHCCCOMSTR.py | |
parent | 5f4aa5312e2d37a271233d864573772ae2b512fe (diff) | |
download | SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.zip SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.gz SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.bz2 |
More test fixes.
Diffstat (limited to 'test/CC/SHCCCOMSTR.py')
-rw-r--r-- | test/CC/SHCCCOMSTR.py | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/test/CC/SHCCCOMSTR.py b/test/CC/SHCCCOMSTR.py index 15bfa85..0983a67 100644 --- a/test/CC/SHCCCOMSTR.py +++ b/test/CC/SHCCCOMSTR.py @@ -38,16 +38,7 @@ _exe = TestSCons._exe test = TestSCons.TestSCons() - - -test.write('mycc.py', r""" -import sys -outfile = open(sys.argv[1], 'wb') -infile = open(sys.argv[2], 'rb') -for l in [l for l in infile.readlines() if l[:6] != '/*cc*/']: - outfile.write(l) -sys.exit(0) -""") +test.dir_fixture('shared-fixture') if os.path.normcase('.c') == os.path.normcase('.C'): alt_c_suffix = '.C' @@ -63,11 +54,6 @@ env.SharedObject(target = 'test1', source = 'test1.c') env.SharedObject(target = 'test2', source = 'test2%(alt_c_suffix)s') """ % locals()) -test.write('test1.c', """\ -test1.c -/*cc*/ -""") - test.write('test2'+alt_c_suffix, """\ test2.C /*cc*/ |