summaryrefslogtreecommitdiff
path: root/build-aux
AgeCommit message (Collapse)Author
2021-10-23build-aux: Read emails one by one from mbox corpora.Arun Isaac
Reading emails one by one avoids allocating memory for a list of emails. * build-aux/test-corpus.scm.in (read-next-email-in-mbox): New function. (test-corpus): Use port-transduce to read emails one by one.
2021-10-23build-aux: Write failed corpus test emails to filesystem.Arun Isaac
* build-aux/test-corpus.scm.in: Import (rnrs io ports), (srfi srfi-26), (srfi srfi-28), (srfi srfi-171), (ice-9 ftw) and (ice-9 match). (%fail-directory): New variable. (directory-files, write-failed-email): New function. Write failed corpus test emails to a "fail directory" specified on the command line.
2021-09-28README: Use a dynamic block to list releases.Arun Isaac
* README.org (Download): Replace releases with dynamic block. * build-aux/build-website.el: Update dynamic blocks before exporting. (org-dblock-write:releases): New function.
2021-09-28build-aux: Do not create backup files when building website.Arun Isaac
* build-aux/build-website.el (make-backup-files): Set to nil.
2021-06-18website: Reference external stylesheet.Arun Isaac
* website/style.css: New file. * Makefile.am (AM_MAKEINFOHTMLFLAGS): Set to --css-ref=/style.css. * build-aux/build-website.el (org-html-head): Set to <link> tag referencing external stylesheet.
2021-06-18build-aux: Move build-website.el into build-aux directory.Arun Isaac
* build-website.el: Move to build-aux/build-website.el. * Makefile.am (website/index.html): Use build-aux/build-website.el instead of build-website.el.
2021-06-15build-aux: Add corpus pull script.Arun Isaac
This is a follow-up to commit 7a78c23f6f2f1c32abb508563a700cd535b29ad1 adding a file that was missed out. * build-aux/pull-corpus.scm: New file.
2021-06-14Add corpus test scripts.Arun Isaac
* build-aux/pull-corpus.scm, build-aux/test-corpus.scm.in: New files. * configure.ac: Configure build-aux/test-corpus.scm. * .gitignore: Add build-aux/test-corpus.scm.
2019-12-16tests: Log test results to stderr.Arun Isaac
* build-aux/test-driver.scm.in (my-gnu-runner): Log colorized test results to stderr.
2019-12-16tests: Implement custom test runner group begin and end functions.Arun Isaac
* build-aux/test-driver.scm.in (my-gnu-runner): Add custom test-runner on-group-begin and on-group-end functions. Accept log file port as an argument.
2019-08-09tests: Run tests with correct path.Arun Isaac
* build-aux/test-driver.scm: Rename to build-aux/test-driver.scm.in. * build-aux/test-driver.scm.in: Specify log file as an absolute path. Change to top level source directory before running tests. * configure.ac: Generate test-driver.scm. * Makefile.am (EXTRA_DIST): Unregister build-aux/test-driver.scm. Register build-aux/test-driver.scm.in.
2018-09-12Untabify and re-indent all sources.Arun Isaac
* build-aux/test-driver.scm, email/base64.scm, email/email.scm, email/quoted-printable.scm, email/utils.scm, tests/quoted-printable.scm: Untabify and re-indent.
2018-09-11tests: Add tests for (email quoted-printable).Arun Isaac
* build-aux/test-driver.scm: New file. * tests/quoted-printable.scm: New file. * Makefile.am (TEST_EXTENSIONS, SCM_TESTS, TESTS, SCM_LOG_DRIVER): New variables. (EXTRA_DIST): Register new files for distribution.