aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
AgeCommit message (Collapse)Author
2021-09-29build: Use SRFI-64 test suite driver as found in Guix.Ludovic Courtès
This works around the fact that SRFI-64 in Guile 3.0.6+, 'test-runner-current' returns #f after 'test-end'. It also gives us a more featureful test runner, where one can do things like: make check TEST_LOG_DRIVER_FLAGS="--brief=no --show-duration=yes" Reported by <soeren@soeren-tempel.net>. * build-aux/test-driver.scm: New file. * Makefile.am (EXTRA_DIST): Add it. * tests/Makefile.am (TEST_LOG_DRIVER): New variable. (TEST_LOG_COMPILER): New variable. * tests/ast.test, tests/engines/info.test, tests/location.test, tests/readers/rss-2.test, tests/resolve.test: Remove call to 'exit'.
2012-08-18build: Update test suite framework to Automake 1.12.Ludovic Courtès
* tests/Makefile.am (TESTS_ENVIRONMENT): Use semi-colons. Move $(GUILE) invocation... (TEST_LOG_COMPILER): ... here. New variable.
2012-06-01build: Don't build/test the RSS-2 reader when its requirements aren't met.Ludovic Courtès
Reported by rvclayton@verizon.net (R. Clayton). * configure.ac: Add `BUILD_RSS2_READER' Automake conditional. * src/guile/Makefile.am (readers): Make `skribilo/reader/rss-2.scm' conditional on `BUILD_RSS2_READER'. (EXTRA_DIST)[!BUILD_RSS2_READER]: Add `skribilo/reader/rss-2.scm'. * tests/Makefile.am (TESTS): Make `readers/rss-2.test' conditional on `BUILD_RSS2_READER'. (EXTRA_DIST)[!BUILD_RSS2_READER]: Add `readers/rss-2.test'.
2012-05-22tests: Remove new log files.Ludovic Courtès
* tests/Makefile.am (CLEANFILES): Add `location.log' and `info.log'.
2012-05-17Change `define-markup' to generate a macro, to capture location syntactically.Ludovic Courtès
* src/guile/skribilo/lib.scm (dsssl->guile-formals): New procedure, formerly `fix-rest-arg' procedure in `define-markup'. (define-markup)[guile-2]: Turn into a macro-generating macro, such that markups capture their invocation location syntactically. * src/guile/skribilo/location.scm (source-properties->location): New procedure. (invocation-location): Use it. * src/guile/skribilo/package/base.scm (handle): Move above first use, since it's now a macro on Guile 2.0. * src/guile/skribilo/package/slide.scm (slide-vspace): Likewise. * src/guile/skribilo/package/eq.scm: Use (skribilo package base) instead of autoloading it. * tests/Makefile.am (TESTS): Add `location.test'. * tests/location.test: New file.
2012-05-14info: Fix prev/next pointers.Ludovic Courtès
* src/guile/skribilo/ast.scm (ast-fold): Explicitly document as depth-first. * src/guile/skribilo/engine/info.scm (info-node): Support PREV and NEXT as false. (node-next+prev+top): Rewrite using `match' and `node-children'. * tests/Makefile.am (TESTS): Add `engines/info.test'. * tests/engines/info.test: New file.
2009-11-20Define $GUILE_LOAD_COMPILED_PATH for Guile 2.x.Ludovic Courtès
* guile-vm.am (guile_warnings): New variable. (.scm.go): Set $GUILE_LOAD_COMPILED_PATH appropriately, specify Guile compilation warnings. * src/pre-inst-skribilo.in, src/skribilo.in: Set $GUILE_LOAD_COMPILED_PATH appropriately. * tests/Makefile.am (TESTS_ENVIRONMENT): Set $GUILE_AUTO_COMPILE and $GUILE_LOAD_COMPILED_PATH. * doc/user/Makefile.am (skribilo.info, .skb.html, .skb.lout, .skb.tex, .skb.ctx): Set $GUILE_LOAD_COMPILED_PATH. (load_compiled_path): New variable.
2009-05-25Add `resolve' unit tests.Ludovic Courtès
* tests/Makefile.am (TESTS): Add `resolve.test'. (CLEANFILES): Add `resolve.log'.
2009-01-07Add AST unit tests.Ludovic Courtès
* tests/Makefile.am (TESTS): Add `ast.test'. (CLEANFILES): Add `ast.log'.
2008-12-23Add test framework and `rss-2' unit tests.Ludovic Courtès
* Makefile.am (SUBDIRS): Add `tests'. * configure.ac: Produce `tests/Makefile'. * src/guile/Makefile.am (EXTRA_DIST): Add SRFI-64 files. * tests: New directory.