]> git.draconx.ca Git - dxcommon.git/commit
DX_PROG_AUTOTEST: Modernize.
authorNick Bowler <nbowler@draconx.ca>
Sat, 23 Dec 2023 21:41:03 +0000 (16:41 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 23 Dec 2023 21:51:33 +0000 (16:51 -0500)
commit9060b3e8d2ac9296abb97f159895718cd233f3bc
tree00e4babf2d4ea2542c2d1629362a4a4363b26d25
parent06991b16dda9f3dc3991f39599512a7e94260667
DX_PROG_AUTOTEST: Modernize.

This macro can use some rework to behave a bit more like other program
probing macros in this package.

In particular, if Autotest is not found, configure now prints

  checking for autotest... no

rather than "... false", and configure no longer prints the next line
"checking if autotest works..." in this case.

Additionally, extra code to support snippet/autotest.mk is moved to
a new macro, DX_PROG_AUTOTEST_AM which also defines the necessary
conditional.

Finally, this macro now has coverage in the test suite.
configure.ac
m4/autotest.m4
snippet/autotest.mk
t/autotest.sh
tests/programs.at
tests/snippets.at