summaryrefslogtreecommitdiff
path: root/examples/local.mk
diff options
context:
space:
mode:
authorAkim Demaille <demaille@gostai.com>2012-02-17 14:59:23 +0100
committerAkim Demaille <demaille@gostai.com>2012-02-17 15:49:00 +0100
commit5a9c6b89d0cd97f514383bc555a2c14f59bd9c3b (patch)
treed302fa8f203367ec183aa06beb512f61c30408ad /examples/local.mk
parentc3a2e0e6dd060143cbd2854b61e435552883a6b7 (diff)
downloadbison-5a9c6b89d0cd97f514383bc555a2c14f59bd9c3b.tar.gz
examples: factor the test suite.
* examples/mfcalc/test, examples/calc++/test: Extract the common bits into... * examples/test: here. (cwd): New. Use it to avoid a race on the temporary directory. Reported by Jim Meyering. * examples/mfcalc/test, examples/calc++/test: Rename into... * examples/mfcalc/mfcalc.test, examples/calc++/calc++.test: these. * examples/calc++/local.mk, examples/mfcalc/local.mk, * examples/local.mk: Adjust.
Diffstat (limited to 'examples/local.mk')
-rw-r--r--examples/local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/local.mk b/examples/local.mk
index 02e82bb0..de4d38fc 100644
--- a/examples/local.mk
+++ b/examples/local.mk
@@ -15,7 +15,8 @@
doc = $(top_srcdir)/doc/bison.texinfo
extexi = $(top_srcdir)/examples/extexi
-dist_noinst_SCRIPTS = examples/extexi
+dist_noinst_SCRIPTS = examples/extexi examples/test
+TEST_LOG_COMPILER = $(top_srcdir)/examples/test
include examples/calc++/local.mk
include examples/mfcalc/local.mk