test-driver.scm: Don't guess script name from "--test-name"
commit66c69584f58983e3f61635bbb56bfad1516af87b
authorMathieu Lirzin <mthl@gnu.org>
Sat, 24 Mar 2018 22:42:16 +0000 (24 23:42 +0100)
committerMathieu Lirzin <mthl@gnu.org>
Sat, 24 Mar 2018 22:42:16 +0000 (24 23:42 +0100)
tree4e934b719530da96ded05cf6824bc730c868d78b
parent599b2c78cb93def13a2ba6731b089d84b32ce352
test-driver.scm: Don't guess script name from "--test-name"

'primitive-load' is used instead of 'load-from-path' since the script is
given as a relative file name.  For unknown reason, using 'load' fails
with GNU Mcron test suite when running 'make distcheck'.

* contrib/test-driver.scm: Get the actual script name directly from the
command line.  Handle the case where that argument is missing.
contrib/test-driver.scm