diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-11-28 16:55:46 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-11-28 16:55:46 (GMT) |
commit | e5090adbeb669fbbd8c7794d1eccbc363f950891 (patch) | |
tree | 3c44876b9ad77b8c909ffac4536ebc324d5134f4 /test/YACC | |
parent | a36be0b33a054ae22e61851134090c65fa74e0b1 (diff) | |
parent | f66bfed3936cd5fb7fa720cf0430ded4defe669a (diff) | |
download | SCons-e5090adbeb669fbbd8c7794d1eccbc363f950891.zip SCons-e5090adbeb669fbbd8c7794d1eccbc363f950891.tar.gz SCons-e5090adbeb669fbbd8c7794d1eccbc363f950891.tar.bz2 |
merge heads
Diffstat (limited to 'test/YACC')
-rw-r--r-- | test/YACC/YACCCOM-fixture/.exclude_tests | 1 | ||||
-rw-r--r-- | test/YACC/YACCCOM-fixture/myyacc.py | 7 | ||||
-rw-r--r-- | test/YACC/shared-fixture/.exclude_tests | 1 | ||||
-rw-r--r-- | test/YACC/shared-fixture/aaa.y | 2 | ||||
-rw-r--r-- | test/YACC/shared-fixture/bbb.yacc | 2 |
5 files changed, 13 insertions, 0 deletions
diff --git a/test/YACC/YACCCOM-fixture/.exclude_tests b/test/YACC/YACCCOM-fixture/.exclude_tests new file mode 100644 index 0000000..f12c4d0 --- /dev/null +++ b/test/YACC/YACCCOM-fixture/.exclude_tests @@ -0,0 +1 @@ +myyacc.py diff --git a/test/YACC/YACCCOM-fixture/myyacc.py b/test/YACC/YACCCOM-fixture/myyacc.py new file mode 100644 index 0000000..1502800 --- /dev/null +++ b/test/YACC/YACCCOM-fixture/myyacc.py @@ -0,0 +1,7 @@ +import sys +outfile = open(sys.argv[1], 'wb') +for f in sys.argv[2:]: + infile = open(f, 'rb') + for l in [l for l in infile.readlines() if l != b'/*yacc*/\n']: + outfile.write(l) +sys.exit(0) diff --git a/test/YACC/shared-fixture/.exclude_tests b/test/YACC/shared-fixture/.exclude_tests new file mode 100644 index 0000000..f12c4d0 --- /dev/null +++ b/test/YACC/shared-fixture/.exclude_tests @@ -0,0 +1 @@ +myyacc.py diff --git a/test/YACC/shared-fixture/aaa.y b/test/YACC/shared-fixture/aaa.y new file mode 100644 index 0000000..f7f4cc7 --- /dev/null +++ b/test/YACC/shared-fixture/aaa.y @@ -0,0 +1,2 @@ +aaa.y +/*yacc*/ diff --git a/test/YACC/shared-fixture/bbb.yacc b/test/YACC/shared-fixture/bbb.yacc new file mode 100644 index 0000000..b3c856f --- /dev/null +++ b/test/YACC/shared-fixture/bbb.yacc @@ -0,0 +1,2 @@ +bbb.yacc +/*yacc*/ |