summaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-07-14 13:00:14 +0200
committerMaxim Cournoyer <maxim@guixotic.coop>2026-03-19 23:40:12 +0900
commitb93c51c4d7a677ffc00c5bc4b4e11dbd436b6f65 (patch)
treedd8af7b3c5b2d4d1ca1e42202fae4967bb01f474 /gnu/packages/machine-learning.scm
parent5fada9a751f114028d3e5c3a43b70d175c4c269a (diff)
build: test-driver.scm: Output singleton metadata just once.
Current implementation printed metadata supposed to be present just once per .trs file on the end of each test group. According to the automake's manual that is undefined behavior. This commit fixes it by printing that metadata just once, after all tests did run. Since there is no built-in hook that could be used for that (test-runner-on-final runs on *each* outermost test-end), I introduced new `finalize' procedure that need to be called by the user. Possibly not the most elegant solution, but since we are the only user, it works fine and produces actually valid .trs file. That also means there is no longer any use for test-runner-on-test-end!. * build-aux/test-driver.scm (test-runner-gnu): Define new procedure `finalize' and return it together with the runner. Do not call test-runner-on-group-end!. (main): Call the `finalize' after all tests are done. Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/machine-learning.scm')
0 files changed, 0 insertions, 0 deletions