[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Autotest: improve testability of Windows programs under Wine
From: |
Paolo Bonzini |
Subject: |
[PATCH 0/3] Autotest: improve testability of Windows programs under Wine |
Date: |
Sun, 16 Dec 2012 15:34:57 +0100 |
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).
Patch 1 is a simple improvement to the testsuite. Patch 2 shows how
to write a test suite that runs a C program and works even in the above
scenario; it improve AC_CONFIG_TESTDIR by automatically passing EXEEXT
down to the testsuite. Patch 3 finally adds support for AT_TESTED with
$EXEEXT in the argument.
Paolo Bonzini (3):
autotest: annotate tests that use AC_CONFIG_TESTDIR
autotest: add a simple test suite that runs a C program
autotest: enable usage of EXEEXT in AT_TESTED
NEWS | 5 ++
doc/autoconf.texi | 6 +++
lib/autoconf/autotest.m4 | 6 ++-
lib/autoconf/lang.m4 | 2 +-
lib/autotest/general.m4 | 4 +-
tests/autotest.at | 118 +++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 137 insertions(+), 4 deletions(-)
--
1.8.0.1
- [PATCH 0/3] Autotest: improve testability of Windows programs under Wine,
Paolo Bonzini <=