[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Bison 2.1] testsuite: 5 41 42 43 44 45 46 47 48 49 51 62 63 [..
From: |
Ralf Menzel |
Subject: |
Re: [GNU Bison 2.1] testsuite: 5 41 42 43 44 45 46 47 48 49 51 62 63 [...] |
Date: |
Wed, 19 Oct 2005 17:12:24 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, usg-unix-v) |
Hello,
I hope the following is of any help.
I think all the failed test cases are caused by libintl not being
linked in. At least I get
--- snip ---
## ------------- ##
## Test results. ##
## ------------- ##
132 tests were successful.
3 tests were skipped.
--- snip ---
after I apply the following patch
--- snip ---
diff -ur bison-2.1/tests/atlocal.in bison-2.1-patched/tests/atlocal.in
--- bison-2.1/tests/atlocal.in 2004-05-30 20:58:00.000000000 +0200
+++ bison-2.1-patched/tests/atlocal.in 2005-10-19 16:28:03.134977000 +0200
@@ -28,3 +28,6 @@
# Are special libraries needed?
LIBS='@LIBS@'
+
+# where is the internationalization library?
+LIBINTL='@LIBINTL@'
diff -ur bison-2.1/tests/local.at bison-2.1-patched/tests/local.at
--- bison-2.1/tests/local.at 2005-08-25 10:53:33.000000000 +0200
+++ bison-2.1-patched/tests/local.at 2005-10-19 16:24:20.486965000 +0200
@@ -170,7 +170,7 @@
# Compile SOURCES into OUTPUT. If OUTPUT does not contain '.',
# assume that we are linking too; this is a hack.
m4_define([AT_COMPILE],
-[AT_CHECK([$CC $CFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS ])-o $1
m4_default([$2], [$1.c])[]m4_bmatch([$1], [[.]], [], [ $LIBS])],
+[AT_CHECK([$CC $CFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS ])-o $1
m4_default([$2], [$1.c])[]m4_bmatch([$1], [[.]], [], [ $LIBINTL $LIBS])],
0, [ignore], [ignore])])
# AT_COMPILE_CXX(OUTPUT, [SOURCES = OUTPUT.cc])
@@ -181,7 +181,7 @@
m4_define([AT_COMPILE_CXX],
[AT_KEYWORDS(c++)
AT_CHECK([$BISON_CXX_WORKS], 0, ignore, ignore)
-AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS ])-o
$1 m4_default([$2], [$1.cc])[]m4_bmatch([$1], [[.]], [], [ $LIBS])],
+AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS ])-o
$1 m4_default([$2], [$1.cc])[]m4_bmatch([$1], [[.]], [], [ $LIBINTL $LIBS])],
0, [ignore], [ignore])])
--- snip ---
Bye,
Ralf Menzel