autoconf
[Top][All Lists]
Advanced

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

bison and autotest


From: tys lefering
Subject: bison and autotest
Date: Sat, 23 Jan 2010 19:43:53 +0100
User-agent: SquirrelMail/1.4.18

Hi,
GNU bison is using autotest with 'make maintainer-check'
and that works fine. at failed test lines appear like:
./regression.at:941: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.cc
$LIBS
is it possible to have the $CXX etc. expanded to 'g++'
in the output or needs that change to autotest?

here is some sample output from bison with 2 failed tests:
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
GNU Bison 2.4.471-d6e4 test suite test groups:

 NUM: FILE-NAME:LINE     TEST-GROUP-NAME
      KEYWORDS

 239: regression.at:941  Dancer %skeleton "lalr1.cc"
      c++
 242: regression.at:1037 Expecting two tokens %skeleton "lalr1.cc"
      c++

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
239. regression.at:941: testing ...
./regression.at:941: bison -o dancer.c dancer.y
./regression.at:941: bison -o dancer.cc dancer.y
./regression.at:941: $BISON_CXX_WORKS
stderr:
stdout:
./regression.at:941: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.cc
$LIBS
stderr:
dancer.y: In function 'int yylex(int*)':
dancer.y:85: error: 'abort' was not declared in this scope
stdout:
./regression.at:941: exit code was 1, expected 0
239. regression.at:941: 239. Dancer %skeleton "lalr1.cc"
(regression.at:941): FAILED (regression.at:941)

#                             -*- compilation -*-
242. regression.at:1037: testing ...
./regression.at:1037: bison -o expect2.c expect2.y
./regression.at:1037: bison -o expect2.cc expect2.y
./regression.at:1037: $BISON_CXX_WORKS
stderr:
stdout:
./regression.at:1037: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o expect2
expect2.cc $LIBS
stderr:
expect2.y: In function 'int yylex(int*)':
expect2.y:53: error: 'abort' was not declared in this scope
stdout:
./regression.at:1037: exit code was 1, expected 0
242. regression.at:1037: 242. Expecting two tokens %skeleton "lalr1.cc"
(regression.at:1037): FAILED (regression.at:1037)

thanks,
Tys Lefering






reply via email to

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