summaryrefslogtreecommitdiff
path: root/tests/lex.test
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-08-06 18:32:12 +0000
committerTom Tromey <tromey@redhat.com>1996-08-06 18:32:12 +0000
commit9504fb83e13b2c78717705b0ad8ef3eb6c375c32 (patch)
tree9bf4bd6d37e09e551baefb7a2713a7104dc07cac /tests/lex.test
parent8f92cacec765dbd8b6c6d4fe50731c3932a232e9 (diff)
downloadautomake-9504fb83e13b2c78717705b0ad8ef3eb6c375c32.tar.gz
Fix for lex
Diffstat (limited to 'tests/lex.test')
-rwxr-xr-xtests/lex.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/lex.test b/tests/lex.test
new file mode 100755
index 000000000..42505fa44
--- /dev/null
+++ b/tests/lex.test
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+# Test to make sure that lex source generates correct target.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = zot
+zot_SOURCES = joe.l
+END
+
+: > joe.l
+
+$AUTOMAKE || exit 1
+
+grep '\$(LEX)' Makefile.in