[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed
From: |
Ralf Wildenhues |
Subject: |
Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed |
Date: |
Fri, 24 Sep 2010 06:34:39 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hi Scott,
* scott mc wrote on Thu, Sep 23, 2010 at 06:41:30PM CEST:
> This was on Haiku, gcc2 build, r38734,IIRC this is similar to the
> results for autoconf 2.67 on Haiku.
Thanks for the bug report. Can you try this patch to see whether it
fixes the failures of 261 and 262 for you?
It should suffice to run
make check TESTSUITEFLAGS=--recheck
or
make check TESTSUITEFLAGS=261-262
Please send 'gcc2 --version' output.
Thanks,
Ralf
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 X.Y on Haiku.
Report by Scott McCreary.
diff --git a/tests/compile.at b/tests/compile.at
index dd7175b..7af76b1 100644
--- a/tests/compile.at
+++ b/tests/compile.at
@@ -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"
- [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed, scott mc, 2010/09/23
- Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed,
Ralf Wildenhues <=
- Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed, Eric Blake, 2010/09/24
- Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed, scott mc, 2010/09/24
- Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed, Eric Blake, 2010/09/24
- Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed, scott mc, 2010/09/24
- Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed, Eric Blake, 2010/09/24
- Re: [GNU Autoconf 2.68] testsuite: 199 205 261 262 failed, Ralf Wildenhues, 2010/09/24