This is the mail archive of the
mailing list for the GDB project.
[patch/testsuite/hp] "safe to move files around" ... yeah right
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 9 Jan 2004 07:11:35 -0500 (EST)
- Subject: [patch/testsuite/hp] "safe to move files around" ... yeah right
mec> BTW, there is nothing magic about the gdb.hp/ subtree that stops its
mec> scripts from running on other systems. In fact, all of the gdb.hp/
mec> scripts run on every system -- but each individual script suppresses
mec> itself. So it is safe for me to move things around like this.
mec> (Be sure to save this paragraph for when I blow something up!)
configure: error: can not find sources in /house/chastain/gdb/s1/gdb/testsuite/gdb.hp/gdb.aCC
configure: error: /house/chastain/gdb/s1/gdb/testsuite/gdb.hp/gdb.aCC/configure failed for gdb.aCC
configure: error: /house/chastain/gdb/s1/gdb/testsuite/gdb.hp/configure failed for gdb.hp
configure: error: /house/chastain/gdb/s1/gdb/testsuite/configure failed for testsuite
configure: you lose!
mec> cd testsuite/gdb.hp/gdb.aCC
mec> grep AC_INIT configure.in
grep: eat it sucker!
mec> mv configure SAVE-configure
mec> diff SAVE-configure configure
diff: < # Generated automatically using autoconf version 2.12.1
diff: > # Generated automatically using autoconf version 2.13
diff: you want more? i got more differences right here!
mec> ncftp ftp.gnu.org
mec> cd /pub/gnu/autoconf
mec> dir autoconf-*.tar.gz
ftp.gnu.org: -rw-r--r-- 1 0 0 410824 Nov 26 1996 autoconf-2.12.tar.gz
ftp.gnu.org: -rw-r--r-- 1 0 0 112888 Jan 5 1999 autoconf-2.12-2.13.diff.gz
ftp.gnu.org: -rw-r--r-- 1 0 0 443844 Jan 15 1999 autoconf-2.13.tar.gz
ftp.gnu.org: nice try!
mec> ncftp sources.redhat.com
sources.redhat.com: 666 don't bother me
sources.redhat.com: 666 try ftp.gnu.org
mec> lynx http://www.google.com
google: 4 messages from other people asking about autoconf 2.12.1
google: 3 links to dead ftp sites
google: 2 hits on some french rpm archive
google: and a partridge in a pear tree
mec> ncftp some.french.rpm.archive
mec> get autoconf-2.12-1.i386.rpm
mec> rpm -e libtool
mec> rpm -e autoconf
mec> rpm -i autoconf-2.12-1.i386.rpm
mec> autoconf --version
autoconf: Autoconf version 2.12
autoconf: Give it up, loser
autoconf: Gimme my file
mec> cd testsuite/gdb.hp/gdb.aCC
mec> vi exception.exp
mec> cvs add exception.exp
And that's why there is a test script "exception.exp" with one line in
it that says "continue" -- and the copyright notice.
(That is to say: gdb.hp/gdb.aCC/configure wants to see a file named
exception.exp, and I can't rebuild "configure" because I can't find
the same autoconf that it was built with the first time. If someone
wants to go into testsuite/ and re-generate all the configure files with
autoconf-000227 or autoconf 2.13, I would be grateful).
Tested on native i686-pc-linux-gnu, gcc 3.3.2, binutils 2.14, -gdwarf-2.
I am committing this now. I am close to getting committed myself.
2004-01-09 Michael Chastain <email@example.com>
* gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
# Copyright 2004 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Please email any bugs, comments, and/or additions to this file to:
# This file exists because the configure script requires it to exist.
# It would be nice to regenerate the configure script. I can't do it
# because I don't have autoconf 2.12.1, which is used to build it.
# -- chastain 2004-01-09