autocompile -> auto-compile
[bpt/guile.git] / test-suite / Makefile.am
index 476d6e6..6cf1bd3 100644 (file)
@@ -1,6 +1,7 @@
 ## Process this file with automake to produce Makefile.in.
 ##
-## Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Software Foundation, Inc.
+## Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+##   2010, 2011 Software Foundation, Inc.
 ##
 ## This file is part of GUILE.
 ##
 ##   write to the Free Software Foundation, Inc., 51 Franklin Street,
 ##   Fifth Floor, Boston, MA 02110-1301 USA
 
-SUBDIRS = standalone
+SUBDIRS = standalone vm
 
-SCM_TESTS = tests/alist.test                   \
+SCM_TESTS = tests/00-initial-env.test          \
+            tests/alist.test                   \
            tests/and-let-star.test             \
            tests/arbiters.test                 \
+           tests/arrays.test                   \
            tests/asm-to-bytecode.test          \
            tests/bit-operations.test           \
+           tests/bitvectors.test               \
+           tests/brainfuck.test                \
            tests/bytevectors.test              \
            tests/c-api.test                    \
            tests/chars.test                    \
            tests/common-list.test              \
+           tests/control.test                  \
            tests/continuations.test            \
+           tests/coverage.test                 \
+           tests/curried-definitions.test      \
+           tests/ecmascript.test               \
            tests/elisp.test                    \
+           tests/elisp-compiler.test           \
+           tests/elisp-reader.test             \
            tests/eval.test                     \
            tests/exceptions.test               \
            tests/filesys.test                  \
+           tests/fluids.test                   \
+           tests/foreign.test                  \
            tests/format.test                   \
            tests/fractions.test                \
            tests/ftw.test                      \
+           tests/future.test                   \
            tests/gc.test                       \
            tests/getopt-long.test              \
            tests/goops.test                    \
@@ -47,26 +61,52 @@ SCM_TESTS = tests/alist.test                        \
            tests/i18n.test                     \
            tests/import.test                   \
            tests/interp.test                   \
+           tests/keywords.test                 \
            tests/list.test                     \
            tests/load.test                     \
+           tests/match.test                    \
            tests/modules.test                  \
            tests/multilingual.nottest          \
+           tests/net-db.test                   \
            tests/numbers.test                  \
            tests/optargs.test                  \
            tests/options.test                  \
+           tests/print.test                    \
            tests/procprop.test                 \
+           tests/procs.test                    \
            tests/poe.test                      \
            tests/popen.test                    \
+           tests/popen-child.scm               \
            tests/ports.test                    \
            tests/posix.test                    \
            tests/q.test                        \
            tests/r4rs.test                     \
            tests/r5rs_pitfall.test             \
+           tests/r6rs-arithmetic-bitwise.test  \
+           tests/r6rs-arithmetic-fixnums.test  \
+           tests/r6rs-arithmetic-flonums.test  \
+           tests/r6rs-base.test                \
+           tests/r6rs-conditions.test          \
+           tests/r6rs-control.test             \
+           tests/r6rs-enums.test               \
+           tests/r6rs-eval.test                \
+           tests/r6rs-exceptions.test          \
+           tests/r6rs-files.test               \
+           tests/r6rs-hashtables.test          \
+           tests/r6rs-lists.test               \
            tests/r6rs-ports.test               \
+           tests/r6rs-records-inspection.test  \
+           tests/r6rs-records-procedural.test  \
+           tests/r6rs-records-syntactic.test   \
+           tests/r6rs-unicode.test             \
+           tests/rnrs-libraries.test           \
            tests/ramap.test                    \
+           tests/rdelim.test                   \
            tests/reader.test                   \
            tests/receive.test                  \
            tests/regexp.test                   \
+           tests/session.test                  \
+           tests/signals.test                  \
            tests/socket.test                   \
            tests/srcprop.test                  \
            tests/srfi-1.test                   \
@@ -77,38 +117,94 @@ SCM_TESTS = tests/alist.test                       \
            tests/srfi-14.test                  \
            tests/srfi-19.test                  \
            tests/srfi-26.test                  \
+           tests/srfi-27.test                  \
            tests/srfi-31.test                  \
            tests/srfi-34.test                  \
            tests/srfi-35.test                  \
            tests/srfi-37.test                  \
+           tests/srfi-38.test                  \
            tests/srfi-39.test                  \
+           tests/srfi-42.test                  \
+           tests/srfi-45.test                  \
            tests/srfi-60.test                  \
+           tests/srfi-67.test                  \
            tests/srfi-69.test                  \
            tests/srfi-88.test                  \
            tests/srfi-4.test                   \
            tests/srfi-9.test                   \
+           tests/statprof.test                 \
            tests/strings.test                  \
            tests/structs.test                  \
+           tests/sxml.fold.test                \
+           tests/sxml.match.test               \
+           tests/sxml.simple.test              \
+           tests/sxml.ssax.test                \
+           tests/sxml.transform.test           \
+           tests/sxml.xpath.test               \
            tests/symbols.test                  \
            tests/syncase.test                  \
            tests/syntax.test                   \
+           tests/texinfo.test                  \
+           tests/texinfo.docbook.test          \
+           tests/texinfo.serialize.test        \
+           tests/texinfo.string-utils.test     \
            tests/threads.test                  \
            tests/time.test                     \
            tests/tree-il.test                  \
-           tests/unif.test                     \
            tests/version.test                  \
-           tests/weaks.test
+           tests/vlist.test                    \
+           tests/weaks.test                    \
+           tests/web-http.test                 \
+           tests/web-request.test              \
+           tests/web-response.test             \
+           tests/web-uri.test
 
-SCM_TESTS_DIRS = tests/asmobs \
-                 tests/c-api
+EXTRA_DIST = \
+       guile-test \
+       lib.scm \
+       $(SCM_TESTS) \
+       tests/rnrs-test-a.scm
+       ChangeLog-2008
 
-EXTRA_DIST = guile-test lib.scm $(SCM_TESTS) ChangeLog-2008
+\f
+# Test suite of Dominique Boucher's `lalr-scm'.
+# From http://code.google.com/p/lalr-scm/.
 
-## Automake should be able to handle the distribution of tests/asmobs
-## etc without any help, but not all version can handle 'deep'
-## directories.  So we do it on our own.
-dist-hook:
-       for d in $(SCM_TESTS_DIRS); do \
-         cp -pR $(srcdir)/$$d $(distdir)/$$d; \
-          rm -rf $(distdir)/$$d/CVS; \
-        done
+LALR_TESTS =                                   \
+  lalr/test-glr-associativity.scm              \
+  lalr/test-glr-basics-01.scm                  \
+  lalr/test-glr-basics-02.scm                  \
+  lalr/test-glr-basics-03.scm                  \
+  lalr/test-glr-basics-04.scm                  \
+  lalr/test-glr-basics-05.scm                  \
+  lalr/test-glr-script-expression.scm          \
+  lalr/test-glr-single-expressions.scm         \
+                                               \
+  lalr/test-lr-associativity-01.scm            \
+  lalr/test-lr-basics-01.scm                   \
+  lalr/test-lr-basics-02.scm                   \
+  lalr/test-lr-basics-03.scm                   \
+  lalr/test-lr-basics-04.scm                   \
+  lalr/test-lr-basics-05.scm                   \
+  lalr/test-lr-error-recovery-01.scm           \
+  lalr/test-lr-error-recovery-02.scm           \
+  lalr/test-lr-no-clause.scm                   \
+  lalr/test-lr-script-expression.scm           \
+  lalr/test-lr-single-expressions.scm
+
+# Tests not listed in `run-guile-test.sh' and which should not be run.
+LALR_EXTRA =                                   \
+  lalr/test-lr-associativity-02.scm            \
+  lalr/test-lr-associativity-03.scm            \
+  lalr/test-lr-associativity-04.scm
+
+# Test framework.
+LALR_EXTRA +=                                  \
+  lalr/common-test.scm                         \
+  lalr/glr-test.scm                            \
+  lalr/run-guile-test.sh
+
+TESTS = $(LALR_TESTS)
+TESTS_ENVIRONMENT = $(top_builddir)/meta/guile --no-auto-compile
+
+EXTRA_DIST += $(LALR_EXTRA) $(LALR_TESTS) tests/sxml-match-tests.ss