aboutsummaryrefslogtreecommitdiff
path: root/tests/resolve.test
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'.
2020-08-01Write '#:use-module', '#:export', etc. instead of ':use-module', etc.Ludovic Courtès
Changes made by running: for i in $(git ls-tree -r HEAD --name-only) ; do sed -i $i -e's/:use-module/#:use-module/g ; s/:autoload/#:autoload/g ; s/:export/#:export/g' ; done
2009-05-26resolve: Add new test.Ludovic Courtès
* tests/resolve.test ("unresolved node in nested document"): New test.
2009-05-26Make sure to bind nodes that are in the body of non-markup nodes.Ludovic Courtès
* src/guile/skribilo/ast.scm (document-bind-nodes!): Traverse other nodes as well, such as processors. * src/guile/skribilo/resolve.scm (do-resolve!<unresolved>>): Likewise. * tests/resolve.test ("resolved nested document bindings"): New test.
2009-05-26Fix typo in `resolve.test'.Ludovic Courtès
* tests/resolve.test ("unresolved node in processor body"): Fix typo.
2009-05-26Fix node binding in sub-documents returned from unresolved nodes.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Bind sub-nodes of RES in the innermost document rather than in the root document. * tests/resolve.test ("resolved nested document bindings"): New test.
2009-05-26resolve: Clarify node bindings in nested documents.Ludovic Courtès
* src/guile/skribilo/ast.scm (document-bind-nodes!): Bind nodes in the innermost document, which may or may not be the root document. * tests/resolve.test ("root document has no parent", "nested document has a parent", "nested document is its own `ast-document'", "nested document bindings"): New tests.
2009-05-25Add `resolve' unit tests.Ludovic Courtès
* tests/Makefile.am (TESTS): Add `resolve.test'. (CLEANFILES): Add `resolve.log'.