## 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.
##
-## GUILE is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as
-## published by the Free Software Foundation; either version 2, or
-## (at your option) any later version.
+## GUILE is free software; you can redistribute it and/or modify it
+## under the terms of the GNU Lesser General Public License as
+## published by the Free Software Foundation; either version 3, or
+## (at your option) any later version.
##
-## GUILE is distributed in the hope that it will be useful, but
-## WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
+## GUILE is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU Lesser General Public License for more details.
##
-## You should have received a copy of the GNU General Public
-## License along with GUILE; see the file COPYING. If not, write
-## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
-## Floor, Boston, MA 02110-1301 USA
+## You should have received a copy of the GNU Lesser General Public
+## License along with GUILE; see the file COPYING.LESSER. If not,
+## 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/environments.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 \
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 \
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