mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
tests: normalize trailing spaces in gcc -E -dD output.
* tests/compile.at (AC_LANG_SOURCE example) (AC_LANG_PROGRAM example): Remove trailing spaces before comparing with expected output. Fixes testsuite failure with GCC 2.95.3 on Haiku. Report by Scott McCreary. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
3c11ae063d
commit
8449314a7a
@ -1,3 +1,12 @@
|
||||
2010-09-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
tests: normalize trailing spaces in gcc -E -dD output.
|
||||
* tests/compile.at (AC_LANG_SOURCE example)
|
||||
(AC_LANG_PROGRAM example): Remove trailing spaces before
|
||||
comparing with expected output. Fixes testsuite failure
|
||||
with GCC 2.95.3 on Haiku.
|
||||
Report by Scott McCreary.
|
||||
|
||||
2010-09-22 Eric Blake <eblake@redhat.com>
|
||||
|
||||
Release Version 2.68.
|
||||
|
@ -193,7 +193,7 @@ AT_CHECK_CONFIGURE([], [], [stdout])
|
||||
# Note that the output may contain more defines and lines matching
|
||||
# # 1 "conftest.c"
|
||||
# so delete everything before the interesting output.
|
||||
AT_CHECK([sed -n '/#define PACKAGE/,$p' stdout], [],
|
||||
AT_CHECK([sed -n 's/ *$//; /#define PACKAGE/,$p' stdout], [],
|
||||
[[#define PACKAGE_NAME "Hello"
|
||||
#define PACKAGE_TARNAME "hello"
|
||||
#define PACKAGE_VERSION "1.0"
|
||||
@ -238,7 +238,7 @@ AT_CHECK_CONFIGURE([], [], [stdout])
|
||||
# Note that the output may contain more defines and lines matching
|
||||
# # 1 "conftest.c"
|
||||
# so delete everything before the interesting output.
|
||||
AT_CHECK([sed -n '/#define PACKAGE/,$p' stdout], [],
|
||||
AT_CHECK([sed -n 's/ *$//; /#define PACKAGE/,$p' stdout], [],
|
||||
[[#define PACKAGE_NAME "Hello"
|
||||
#define PACKAGE_TARNAME "hello"
|
||||
#define PACKAGE_VERSION "1.0"
|
||||
|
Loading…
Reference in New Issue
Block a user