diff options
Diffstat (limited to 'test/CC/shared-fixture/mycc.py')
-rw-r--r-- | test/CC/shared-fixture/mycc.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CC/shared-fixture/mycc.py b/test/CC/shared-fixture/mycc.py new file mode 100644 index 0000000..b96c31c --- /dev/null +++ b/test/CC/shared-fixture/mycc.py @@ -0,0 +1,6 @@ +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] != b'/*cc*/']: + outfile.write(l) +sys.exit(0) |