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
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf