summaryrefslogtreecommitdiffstats
path: root/test/CC
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-11-28 16:55:46 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-11-28 16:55:46 (GMT)
commite5090adbeb669fbbd8c7794d1eccbc363f950891 (patch)
tree3c44876b9ad77b8c909ffac4536ebc324d5134f4 /test/CC
parenta36be0b33a054ae22e61851134090c65fa74e0b1 (diff)
parentf66bfed3936cd5fb7fa720cf0430ded4defe669a (diff)
downloadSCons-e5090adbeb669fbbd8c7794d1eccbc363f950891.zip
SCons-e5090adbeb669fbbd8c7794d1eccbc363f950891.tar.gz
SCons-e5090adbeb669fbbd8c7794d1eccbc363f950891.tar.bz2
merge heads
Diffstat (limited to 'test/CC')
-rw-r--r--test/CC/shared-fixture/.exclude_tests1
-rw-r--r--test/CC/shared-fixture/mycc.py6
-rw-r--r--test/CC/shared-fixture/test1.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/test/CC/shared-fixture/.exclude_tests b/test/CC/shared-fixture/.exclude_tests
new file mode 100644
index 0000000..3f2bc0f
--- /dev/null
+++ b/test/CC/shared-fixture/.exclude_tests
@@ -0,0 +1 @@
+mycc.py
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)
diff --git a/test/CC/shared-fixture/test1.c b/test/CC/shared-fixture/test1.c
new file mode 100644
index 0000000..9c281d7
--- /dev/null
+++ b/test/CC/shared-fixture/test1.c
@@ -0,0 +1,2 @@
+test1.c
+/*cc*/