]> git.draconx.ca Git - cdecl99.git/blobdiff - Makefile.am
Port randomdecl sanity test to Autotest.
[cdecl99.git] / Makefile.am
index a9379dbcc0461eae87ba75fb04b78c49ca6fe63e..8ccdc951e945037ff1b95958db7b0a61b58a3e67 100644 (file)
@@ -76,9 +76,9 @@ TESTS_ENVIRONMENT = SHELL='$(SHELL)' LIBTOOL='$(LIBTOOL)' EXEEXT='$(EXEEXT)'
 TEST_EXTENSIONS = .sh
 SH_LOG_COMPILER = $(SHELL)
 
-TESTS = tests/randomdecl-sanity.sh tests/crossparse-c-random.sh
+TESTS = tests/crossparse-c-random.sh
 
-dist_check_SCRIPTS = tests/randomdecl-sanity.sed $(TESTS)
+dist_check_SCRIPTS = $(TESTS)
 
 src/parse.lo: src/scan.h
 src/scan.lo: src/parse.h
@@ -203,6 +203,16 @@ FLEX_V_0 = @printf '  %$(DX_ALIGN_V)s %s\n' 'FLEX    ' $<;
                $(MAKE) $(AM_MAKEFLAGS) $<; \
        fi
 
+atlocal: config.status
+       $(AM_V_GEN) :; { \
+         printf ': "$${%s=%s}"\n' \
+           EXEEXT '$(EXEEXT)' \
+           check_PROGRAMS '$(check_PROGRAMS)' \
+           ; } >$@.tmp
+       $(AM_V_at) mv -f $@.tmp $@
+check_DATA = atlocal
+CLEANFILES += atlocal
+
 include $(top_srcdir)/lib/gnulib.mk
 include $(top_srcdir)/common/snippet/glconfig.mk
 include $(top_srcdir)/common/snippet/autotest.mk