8sa1-gcc/gcc/testsuite/g++.old-deja/old-deja.exp
Joseph Myers 9f2f9eb62b freebsd.h, [...]: Update FSF address.
* config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
	config/i386/i386elf.h, config/i386/netbsd-elf.h,
	config/i386/netware.h, config/mcore/gfloat.h,
	config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
	config/netware.h, gccbug.in: Update FSF address.

ada:
	* 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
	FSF address.

testsuite:
	* consistency.vlad/vlad.exp, g++.old-deja/g++.mike/p784.C,
	g++.old-deja/old-deja.exp, g77.f-torture/compile/compile.exp,
	g77.f-torture/execute/execute.exp,
	g77.f-torture/noncompile/noncompile.exp,
	gcc.c-torture/compile/compile.exp,
	gcc.c-torture/execute/execute.exp,
	gcc.c-torture/execute/ieee/ieee.exp,
	gcc.c-torture/execute/memcheck/memcheck.exp,
	gcc.c-torture/unsorted/unsorted.exp, gcc.misc-tests/linkage.exp,
	objc/execute/execute.exp: Update FSF address.

From-SVN: r46118
2001-10-09 11:16:27 +01:00

63 lines
2.0 KiB
Plaintext

# Copyright (C) 1988, 90, 91, 92, 1994, 1997, 2000 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.
# This file was written by Rob Savoye. (rob@cygnus.com)
#
# these tests come from the original DejaGnu test suite
# developed at Cygnus Support. If this isn't deja gnu, I
# don't know what is...
#
# load support procs
load_lib old-dejagnu.exp
load_lib g++.exp
# When a testcase doesn't have any special options, use these.
if ![info exists DEFAULT_CXXFLAGS] {
set DEFAULT_CXXFLAGS "-ansi -pedantic-errors -Wno-long-long"
}
old-dejagnu-init
global GXX_UNDER_TEST
#
# main test loop
#
set dirlen [expr [string length "$srcdir/$subdir"] + 1];
foreach file [lsort [find $srcdir/$subdir *.C]] {
# If we're only testing specific files and this isn't one of them, skip it.
set tfile [string range $file $dirlen end];
if ![runtest_file_p $runtests $tfile] then {
continue
}
verbose "Testing $file"
# We don't want old-dejagnu.exp to have to know about all the global
# variables we use. For now we tell it about CXXFLAGS and LIBS and
# leave LDFLAGS alone.
old-dejagnu $GXX_UNDER_TEST "$file" "$tfile" "" "$DEFAULT_CXXFLAGS" "-lstdc++"
}
# The framework doesn't like to see any error remnants,
# so remove them.
if [info exists errorInfo] then {
unset errorInfo
}