summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2012-12-07 14:00:19 +0100
committerPaolo Bonzini <bonzini@gnu.org>2012-12-22 15:34:50 +0100
commit851ef517963d1e1966c4082530d5e87ba0a415ab (patch)
treec15a67d0ee426965dbeccf4ee93f24b4ea34946e /NEWS
parentd902536845bd2dffed6ce7a4d7bde8feb012ea83 (diff)
downloadautoconf-851ef517963d1e1966c4082530d5e87ba0a415ab.tar.gz
autotest: enable usage of EXEEXT in AT_TESTED
Together with Linux's binfmt-misc feature, Wine can be used to test cross-compiled programs as if they were native. However, the shell will not perform the "magic" addition of the .exe extension after a program name when searching for an executable. These simple patches let the user work around this by specifying $EXEEXT in the AT_CHECK and AT_TESTED argument. (More care is needed because of carriage returns, but this is beyond the scope of this series). * tests/autotest.at (AT_INIT): Expand contents of $at_tested. (AT_TESTED): Quote each program that is passed to the function. * lib/autotest/general.m4 (C unit tests): Add AT_TESTED invocation and keyword. * doc/autoconf.texi (Writing testsuites): Document usage of variables in AT_TESTED. * NEWS: Document change. Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6fa116af..185ca263 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,8 @@ GNU Autoconf NEWS - User visible changes.
- AC_CONFIG_TESTDIR will automatically pass EXEEXT to a testsuite (via
the atconfig file).
+- AT_TESTED arguments can use variable or command substitutions, including
+ in particular $EXEEXT
* Noteworthy changes in release 2.69 (2012-04-24) [stable]