summaryrefslogtreecommitdiffstats
path: root/test/CC/CCCOMSTR.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CC/CCCOMSTR.py')
-rw-r--r--test/CC/CCCOMSTR.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/test/CC/CCCOMSTR.py b/test/CC/CCCOMSTR.py
index 6874406..0be9971 100644
--- a/test/CC/CCCOMSTR.py
+++ b/test/CC/CCCOMSTR.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'
@@ -62,11 +53,6 @@ env.Object(target = 'test1', source = 'test1.c')
env.Object(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*/