<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skribilo/tests, branch master</title>
<subtitle>Document production tool written in Guile Scheme (unofficial mirror)</subtitle>
<id>http://git.systemreboot.net/skribilo/atom?h=master</id>
<link rel='self' href='http://git.systemreboot.net/skribilo/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/'/>
<updated>2023-02-27T23:55:02+00:00</updated>
<entry>
<title>tests: Test ast-&gt;string.</title>
<updated>2023-02-27T23:55:02+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-01-28T01:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=10d26f3b35cac5bd27c450fcb99377666a9e2eed'/>
<id>urn:sha1:10d26f3b35cac5bd27c450fcb99377666a9e2eed</id>
<content type='text'>
* tests/ast.test ("ast-&gt;string"): New test.
</content>
</entry>
<entry>
<title>biblio: Replace template interpreter with a macro (a "compiler").</title>
<updated>2022-05-05T20:23:23+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2022-04-19T21:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=424bef0d0aac2a5a8607cf9f76a6def5ee0ca183'/>
<id>urn:sha1:424bef0d0aac2a5a8607cf9f76a6def5ee0ca183</id>
<content type='text'>
This allows us to catch invalid templates at macro-expansion time and is
more efficient.

* src/guile/skribilo/biblio/template.scm (evaluate-bib-entry-template):
Remove.
(define-template-engine, bibliography-template): New macros.
(output-bib-entry-template): Rewrite and remove 'get-field' optional
argument.
(make-bib-entry-template/default, make-bib-entry-template/skribe): Use
'bibliography-template' instead of quasiquote/unquote.
* src/guile/skribilo/package/jfp.scm (le): Likewise.
* src/guile/skribilo/package/lncs.scm (bib-entry-template): Likewise.
* src/guile/skribilo/biblio.scm (&amp;biblio-template-error): Remove.
(handle-biblio-error): Adjust accordingly.
* tests/biblio.test: New file.
* tests/Makefile.am (TESTS): Add it.
</content>
</entry>
<entry>
<title>reader: Add Gemtext reader.</title>
<updated>2022-04-12T19:34:47+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2022-03-13T16:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=621eb1945aec8f26f5aee4bdf896f2434e145182'/>
<id>urn:sha1:621eb1945aec8f26f5aee4bdf896f2434e145182</id>
<content type='text'>
* src/guile/skribilo/reader/gemtext.scm: New file.
* configure.ac: Set BUILD_GEMTEXT_READER automake conditional to true
if (srfi srfi-171) is found. Else, set it to false.
* src/guile/Makefile.am (readers): Add skribilo/reader/gemtext.scm
if BUILD_GEMTEXT_READER is true.
(EXTRA_DIST): Add skribilo/reader/gemtext.scm if BUILD_GEMTEXT_READER
is false.
* doc/user/syntax.skb (The Gemtext Syntax): New section.
* tests/readers/gemtext.test: New file.
* tests/Makefile.am (TESTS): Add readers/gemtext.test if
BUILD_GEMTEXT_READER is true.
(EXTRA_DIST): Add readers/gemtext.text if BUILD_GEMTEXT_READER is
false.
</content>
</entry>
<entry>
<title>build: Use SRFI-64 test suite driver as found in Guix.</title>
<updated>2021-09-29T16:26:39+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2021-09-29T16:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=671e55bb3bbbb3467dee5d6e438ea897acda814e'/>
<id>urn:sha1:671e55bb3bbbb3467dee5d6e438ea897acda814e</id>
<content type='text'>
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 &lt;soeren@soeren-tempel.net&gt;.

* 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'.
</content>
</entry>
<entry>
<title>Remove 'cond-expand' clauses for Guile 1.8.</title>
<updated>2020-08-06T16:49:31+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2020-08-06T16:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=47fd87d615102e20ec9b6ea648401caf91828711'/>
<id>urn:sha1:47fd87d615102e20ec9b6ea648401caf91828711</id>
<content type='text'>
This is a followup to d183aa487d99baea3746f79759c17cf36c55dfbf.

* src/guile/skribilo/debug.scm (with-debug): Remove 'cond-expand' and
keep only 'guile-2' version.
* src/guile/skribilo/engine/html.scm (&amp;html-generic-document)[set-output-encoding]:
Likewise.
* src/guile/skribilo/engine/info.scm (document): Likewise.
* src/guile/skribilo/engine/latex.scm (document): Likewise.
* src/guile/skribilo/engine/lout.scm (document): Likewise.
* src/guile/skribilo/evaluator.scm (%evaluate): Likewise.
* src/guile/skribilo/location.scm &lt;top level&gt;: Likewise.
* src/guile/skribilo/module.scm (maybe-set-module-name!): Likewise.
* src/guile/skribilo/package/base.scm &lt;top level&gt;: Likewise.
* src/guile/skribilo/utils/syntax.scm (unless, when): Remove.
(set-correct-file-encoding!, default-to-utf-8): Keep only 'guile-2' variant.
* tests/location.test &lt;top level&gt;: Likewise.
* tests/readers/rss-2.test &lt;top level&gt;: Likewise.
</content>
</entry>
<entry>
<title>Write '#:use-module', '#:export', etc. instead of ':use-module', etc.</title>
<updated>2020-08-01T15:00:12+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2020-08-01T10:40:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=ddb2e47d8ed4d6d6508d342c0718492f99db64d4'/>
<id>urn:sha1:ddb2e47d8ed4d6d6508d342c0718492f99db64d4</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>build: Update test suite framework to Automake 1.12.</title>
<updated>2012-08-18T15:33:20+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-08-18T15:33:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=d3a740cca088e6ec981e4b80a10f53fcfe094511'/>
<id>urn:sha1:d3a740cca088e6ec981e4b80a10f53fcfe094511</id>
<content type='text'>
* tests/Makefile.am (TESTS_ENVIRONMENT): Use semi-colons.  Move $(GUILE)
  invocation...
  (TEST_LOG_COMPILER): ... here.  New variable.
</content>
</entry>
<entry>
<title>build: Don't build/test the RSS-2 reader when its requirements aren't met.</title>
<updated>2012-06-01T16:14:16+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-06-01T16:14:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=0d38cbba0b9bbfd3c885c7f24e2b224579a334a4'/>
<id>urn:sha1:0d38cbba0b9bbfd3c885c7f24e2b224579a334a4</id>
<content type='text'>
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'.
</content>
</entry>
<entry>
<title>tests: Avoid middle ellipsis in `syntax-case' pattern, for Guile 1.8.</title>
<updated>2012-05-22T21:39:47+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-05-22T21:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=5854807d1269ded493a512725c5c66cad93d2305'/>
<id>urn:sha1:5854807d1269ded493a512725c5c66cad93d2305</id>
<content type='text'>
* tests/location.test (call-with-code): Expect only one string.
</content>
</entry>
<entry>
<title>tests: Remove new log files.</title>
<updated>2012-05-22T19:43:13+00:00</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-05-22T19:43:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/skribilo/commit/?id=27e83da3ec4ee676af51e23104621f0eb1f5f8cb'/>
<id>urn:sha1:27e83da3ec4ee676af51e23104621f0eb1f5f8cb</id>
<content type='text'>
* tests/Makefile.am (CLEANFILES): Add `location.log' and `info.log'.
</content>
</entry>
</feed>
