diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-02 00:28:49 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-02 00:28:49 -0500 |
commit | 5e652e94a9203e0cfa27e93a89878439b7900001 (patch) | |
tree | 0dc09274505b1f1bc7be493f6f36afd537360542 /build-aux/generate-authors.scm | |
parent | 5b5915560e5cbd546c005a950515f6d293442a28 (diff) | |
download | guix-5e652e94a9203e0cfa27e93a89878439b7900001.tar.gz guix-5e652e94a9203e0cfa27e93a89878439b7900001.zip |
build: Add a --show-duration option to the SCM test-driver.
* build-aux/test-driver.scm (script-version): Update.
(show-help): Document it.
(%options): Add the 'show-duration' option.
(test-runner-gnu): Pass as a new argument.
[test-cases-start-time]: New inner variable.
[test-on-test-begin-gnu]: New hook, used to record the start time.
[test-on-test-end-gnu]: Conditionally print elapsed time. Record it as the
optional metadata in the test result file (.trs).
* doc/guix.texi (Running the Test Suite): Document it.
Diffstat (limited to 'build-aux/generate-authors.scm')
0 files changed, 0 insertions, 0 deletions