bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 2.5] testsuite: 247 failed on Solaris 10 on SPARC(sun4v)


From: Tomohiro Suzuki
Subject: Re: [GNU Bison 2.5] testsuite: 247 failed on Solaris 10 on SPARC(sun4v)
Date: Thu, 26 Jan 2012 15:18:15 +0900
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

Hi, Paul,
Thank you for the patch creation.
However, the problem changed as follows.
-----
% make check
if test -d ./.git; then                 \
  cd . &&                                               \
  git submodule --quiet foreach test '$(git rev-parse $sha1)'   \
      = '$(git merge-base origin $sha1)'                        \
    || { echo 'maint.mk: found non-public submodule commit' >&2;        \
         exit 1; };                                             \
else                                                            \
  : ;                                                           \
fi
make  check-recursive
make[1]: Entering directory `/usr/local/src/bison-2.5'
Making check in build-aux
make[2]: Entering directory `/usr/local/src/bison-2.5/build-aux'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/local/src/bison-2.5/build-aux'
Making check in po
make[2]: Entering directory `/usr/local/src/bison-2.5/po'
make[2]: Leaving directory `/usr/local/src/bison-2.5/po'
Making check in runtime-po
make[2]: Entering directory `/usr/local/src/bison-2.5/runtime-po'
make[2]: Leaving directory `/usr/local/src/bison-2.5/runtime-po'
Making check in lib
make[2]: Entering directory `/usr/local/src/bison-2.5/lib'
make  check-recursive
make[3]: Entering directory `/usr/local/src/bison-2.5/lib'
make[4]: Entering directory `/usr/local/src/bison-2.5/lib'
make[4]: Leaving directory `/usr/local/src/bison-2.5/lib'
make[3]: Leaving directory `/usr/local/src/bison-2.5/lib'
make[2]: Leaving directory `/usr/local/src/bison-2.5/lib'
Making check in data
make[2]: Entering directory `/usr/local/src/bison-2.5/data'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/local/src/bison-2.5/data'
Making check in src
make[2]: Entering directory `/usr/local/src/bison-2.5/src'
make  check-am
make[3]: Entering directory `/usr/local/src/bison-2.5/src'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/usr/local/src/bison-2.5/src'
make[2]: Leaving directory `/usr/local/src/bison-2.5/src'
Making check in doc
make[2]: Entering directory `/usr/local/src/bison-2.5/doc'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/local/src/bison-2.5/doc'
Making check in examples
make[2]: Entering directory `/usr/local/src/bison-2.5/examples'
Making check in calc++
make[3]: Entering directory `/usr/local/src/bison-2.5/examples/calc++'
make  check-am
make[4]: Entering directory `/usr/local/src/bison-2.5/examples/calc++'
make  calc++
make[5]: Entering directory `/usr/local/src/bison-2.5/examples/calc++'
g++  -I. -I.   -I/usr/local/include  -g -O2 -MT calc++-scanner.o -MD -MP -MF 
.deps/calc++-scanner.Tpo -c -o calc++-scanner.o calc++-scanner.cc
mv -f .deps/calc++-scanner.Tpo .deps/calc++-scanner.Po
g++  -I. -I.   -I/usr/local/include  -g -O2 -MT calc++.o -MD -MP -MF 
.deps/calc++.Tpo -c -o calc++.o `test -f './calc++.cc' || echo './'`./calc++.cc
mv -f .deps/calc++.Tpo .deps/calc++.Po
g++  -I. -I.   -I/usr/local/include  -g -O2 -MT calc++-driver.o -MD -MP -MF 
.deps/calc++-driver.Tpo -c -o calc++-driver.o `test -f './calc++-driver.cc' || 
echo './'`./calc++-driver.cc
mv -f .deps/calc++-driver.Tpo .deps/calc++-driver.Po
g++  -I. -I.   -I/usr/local/include  -g -O2 -MT calc++-parser.o -MD -MP -MF 
.deps/calc++-parser.Tpo -c -o calc++-parser.o `test -f './calc++-parser.cc' || 
echo './'`./calc++-parser.cc
mv -f .deps/calc++-parser.Tpo .deps/calc++-parser.Po
g++  -g -O2   -o calc++ calc++-scanner.o calc++.o calc++-driver.o 
calc++-parser.o
make[5]: Leaving directory `/usr/local/src/bison-2.5/examples/calc++'
make  check-TESTS
make[5]: Entering directory `/usr/local/src/bison-2.5/examples/calc++'
PASS: test
=============
1 test passed
=============
make[5]: Leaving directory `/usr/local/src/bison-2.5/examples/calc++'
make[4]: Leaving directory `/usr/local/src/bison-2.5/examples/calc++'
make[3]: Leaving directory `/usr/local/src/bison-2.5/examples/calc++'
make[3]: Entering directory `/usr/local/src/bison-2.5/examples'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/usr/local/src/bison-2.5/examples'
make[2]: Leaving directory `/usr/local/src/bison-2.5/examples'
Making check in tests
make[2]: Entering directory `/usr/local/src/bison-2.5/tests'
make  bison
make[3]: Entering directory `/usr/local/src/bison-2.5/tests'
make[3]: `bison' is up to date.
make[3]: Leaving directory `/usr/local/src/bison-2.5/tests'
make  check-local
make[3]: Entering directory `/usr/local/src/bison-2.5/tests'
/bin/bash /usr/local/src/bison-2.5/build-aux/missing --run autom4te 
--language=autotest -I . testsuite.at -o testsuite.tmp
/usr/local/src/bison-2.5/build-aux/missing: line 52: autom4te: command not found
WARNING: `autom4te' is needed, but is missing on your system.
         You might have modified some files without having the
         proper tools for further handling them.
         You can get `autom4te' as part of `Autoconf' from any GNU
         archive site.
make[3]: *** [testsuite] Error 1
make[3]: Leaving directory `/usr/local/src/bison-2.5/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/local/src/bison-2.5/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/bison-2.5'
make: *** [check] Error 2
-----

This problem was experienced before.
http://lists.gnu.org/archive/html/bug-bison/2009-02/msg00008.html

bison-2.4.3 doesn't have the problem.

(2012/01/25 7:27), Paul Eggert wrote:
Thanks for the bug report.  I pushed this patch into the Bison trunk:

tests: port to Solaris 10 'diff -u'
* tests/regression.at (parse-gram.y: LALR = IELR): Port to Solaris 10,
where "diff -u X X" outputs "No differences encountered"
instead of outputting nothing.  Reported by Tomohiro Suzuki in
<http://lists.gnu.org/archive/html/bug-bison/2012-01/msg00101.html>.
diff --git a/tests/regression.at b/tests/regression.at
index 59e1998..5affe4d 100644
--- a/tests/regression.at
+++ b/tests/regression.at
@@ -1258,10 +1258,10 @@ AT_SETUP([[parse-gram.y: LALR = IELR]])
  # output files have the same name.
  [cp $abs_top_srcdir/src/parse-gram.y input.y]
  AT_BISON_CHECK([[-o input.c -Dlr.type=lalr input.y]])
-[mv input.c lalr.c]
+[mv input.c expout]
  AT_BISON_CHECK([[-o input.c -Dlr.type=ielr input.y]])
  [mv input.c ielr.c]
-AT_CHECK([[diff -u lalr.c ielr.c]])
+AT_CHECK([[cat ielr.c]], [[0]], [[expout]])

  AT_CLEANUP


--
****************************************
  JAPAN INFORMATION PROCESSING SERVICE
            Tomohiro Suzuki
****************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]