aboutsummaryrefslogtreecommitdiff
path: root/src/guile
AgeCommit message (Collapse)Author
2023-12-12Make `--test-name` optional and start using `TEST-SCRIPT` argument.HEADapprenticeWojtek Kosior
* src/guile/myra-test-utils/driver.scm (define-module): Import `match:substring`. (show-help): Display `--test-name` as a non-mandatory option. (run-test-driver): Use the first non-option argument as the script name to load. Make test name default to the script name. Allow loading compiled version of the test script.
2023-12-12Make "by-hand" execution of test-driver easier.Wojtek Kosior
* src/guile/myra-test-utils/driver.scm (define-module): Import `%interactive-debugging`. (show-help): Display `--log-file` and `--trs-file` as non-mandatory options. (run-test-driver): For invokations without log file set cause REPL to be spawned on test expressions that errored-out. Configure readline support for the REPL if available.
2023-12-12Make driver.scm into a Guile module.Wojtek Kosior
* src/guile/myra-test-utils/driver.scm (Comments): Add SPDX license identifier. (define-module): Define (myra-test-utils driver), use #:select or #:prefix on every import, export `run-test-driver`. (script-version): Move below `define-module`. (test-runner-gnu, test-match-name*, test-match-name*/negated, main): Prepend prefixes to imported srfi 19 and 64 names. (main): Rename procedure to `run-test-driver` and make it accept a list of command line arguments as its first argument.
2023-12-12Initial commit.Wojtek Kosior