|
From: Leo B. <Leo...@um...> - 2024-10-22 17:59:45
|
On Mon, Oct 21 2024, Robert Dodier <rob...@gm...> wrote: > On Mon, Oct 21, 2024 at 3:50 PM Leo Butler <Leo...@um...> wrote: > >> Ok, I added the option `answers_from_file' in commit 3fc4b17af. > > That's great, thanks. I don't remember how `make check` calls > run_testsuite, but anyway it seems like that call needs > answers_from_file = true. The command-line option --batch-string binds `batch_answers_from_file' to `true'. That is how the test script, tests/test.sh.in, calls `run_testsuite': # Since commit 76db0aec5 introduced the ability to read answers to # interactive tests from the input file, the regression test # rtest_ask1.mac is run as a regular regression test. echo "Running the testsuite..." $LOCAL_MAXIMA --lisp=$LISP --batch-string='build_info();run_testsuite(share_tests=true);' 2>&1 | tee "$OUTPUT_LOG" We could do as you suggest, but it works as is. Leo |