Opened 12 years ago
Closed 12 years ago
#650 closed defect (fixed)
tests fail with old autotools
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.8 |
Component: | test | Version: | 0.7 |
Keywords: | Cc: |
Description
Some tests fail when the available autotools are too old. If the tools are not available the test will be skipped, and we should fix this so tests are skipped also when the tools are old. Here is the log:
================================== yat 0.7: test/test-suite.log ================================== 6 of 6 tests failed. .. contents:: :depth: 2 FAIL: static_test.sh (exit: 1) ============================== === Running ./static_test.sh === ./static_test.sh: running autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./static_test.sh: running automake --version automake (GNU automake) 1.9.2 Written by Tom Tromey <tromey@redhat.com>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./static_test.sh: running libtool --version ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /bin/mkdir: created directory `testSubDir/static_test.sh.dir' creating configure.ac creating Makefile.am creating hello.cc + cat + echo 'AM_LDFLAGS = -all-static' + bootstrap + /bin/mkdir -p m4 + autoreconf -siv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I /home/peterj/osd/yat-0.7/m4 --install aclocal: unrecognized option -- `--install' Try `aclocal --help' for more information. autoreconf: aclocal failed with exit status: 1 + res=1 + case $res in + exit 1 FAIL: yat_cpp_add_flag_test.sh (exit: 1) ======================================== === Running ./yat_cpp_add_flag_test.sh === ./yat_cpp_add_flag_test.sh: running autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_cpp_add_flag_test.sh: running automake --version automake (GNU automake) 1.9.2 Written by Tom Tromey <tromey@redhat.com>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_cpp_add_flag_test.sh: running g++ --version g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /bin/mkdir: created directory `testSubDir/yat_cpp_add_flag_test.sh.dir' creating configure.ac creating Makefile.am creating hello.cc + cat + bootstrap + /bin/mkdir -p m4 + autoreconf -siv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I /home/peterj/osd/yat-0.7/m4 --install aclocal: unrecognized option -- `--install' Try `aclocal --help' for more information. autoreconf: aclocal failed with exit status: 1 + res=1 + case $res in + exit 1 FAIL: yat_cxx_add_flag_test.sh (exit: 1) ======================================== === Running ./yat_cxx_add_flag_test.sh === ./yat_cxx_add_flag_test.sh: running autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_cxx_add_flag_test.sh: running automake --version automake (GNU automake) 1.9.2 Written by Tom Tromey <tromey@redhat.com>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_cxx_add_flag_test.sh: running g++ --version g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /bin/mkdir: created directory `testSubDir/yat_cxx_add_flag_test.sh.dir' creating configure.ac creating Makefile.am creating hello.cc + cat + bootstrap + /bin/mkdir -p m4 + autoreconf -siv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I /home/peterj/osd/yat-0.7/m4 --install aclocal: unrecognized option -- `--install' Try `aclocal --help' for more information. autoreconf: aclocal failed with exit status: 1 + res=1 + case $res in + exit 1 FAIL: yat_ld_add_flag_test.sh (exit: 1) ======================================= === Running ./yat_ld_add_flag_test.sh === ./yat_ld_add_flag_test.sh: running autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_ld_add_flag_test.sh: running automake --version automake (GNU automake) 1.9.2 Written by Tom Tromey <tromey@redhat.com>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_ld_add_flag_test.sh: running g++ --version g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /bin/mkdir: created directory `testSubDir/yat_ld_add_flag_test.sh.dir' creating configure.ac creating Makefile.am creating hello.cc + cat + bootstrap + /bin/mkdir -p m4 + autoreconf -siv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I /home/peterj/osd/yat-0.7/m4 --install aclocal: unrecognized option -- `--install' Try `aclocal --help' for more information. autoreconf: aclocal failed with exit status: 1 + res=1 + case $res in + exit 1 FAIL: yat_lt_link_ifelse_test.sh (exit: 1) ========================================== === Running ./yat_lt_link_ifelse_test.sh === ./yat_lt_link_ifelse_test.sh: running autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_lt_link_ifelse_test.sh: running automake --version automake (GNU automake) 1.9.2 Written by Tom Tromey <tromey@redhat.com>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_lt_link_ifelse_test.sh: running libtool --version ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /bin/mkdir: created directory `testSubDir/yat_lt_link_ifelse_test.sh.dir' creating configure.ac creating Makefile.am creating hello.cc + cat + bootstrap + /bin/mkdir -p m4 + autoreconf -siv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I /home/peterj/osd/yat-0.7/m4 --install aclocal: unrecognized option -- `--install' Try `aclocal --help' for more information. autoreconf: aclocal failed with exit status: 1 + res=1 + case $res in + exit 1 FAIL: yat_m4_test.sh (exit: 1) ============================== === Running ./yat_m4_test.sh === ./yat_m4_test.sh: running autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_m4_test.sh: running automake --version automake (GNU automake) 1.9.2 Written by Tom Tromey <tromey@redhat.com>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ./yat_m4_test.sh: running libtool --version ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /bin/mkdir: created directory `testSubDir/yat_m4_test.sh.dir' creating configure.ac creating Makefile.am creating hello.cc + cat + bootstrap + /bin/mkdir -p m4 + autoreconf -siv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I /home/peterj/osd/yat-0.7/m4 --install aclocal: unrecognized option -- `--install' Try `aclocal --help' for more information. autoreconf: aclocal failed with exit status: 1 + res=1 + case $res in + exit 1
Note: See
TracTickets for help on using
tickets.
(In [2406]) require automake 1.10 rather than just automake (skip test with old automake). fixes #650