From: Michael Chastain Date: Tue, 17 Aug 2004 16:33:28 +0000 (+0000) Subject: 2004-08-17 Michael Chastain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89a237cb65fe5a517e8c88fcc274c70c2db4b27c;p=binutils-gdb.git 2004-08-17 Michael Chastain * configure.in: Add gdb.fortran. * configure: Regenerate. * gdb.fortran/Makefile.in: New file. * lib/gdb.exp (skip_fortran_tests): New procedure. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ebd2cd59872..5cd721473b0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-08-17 Michael Chastain + + * configure.in: Add gdb.fortran. + * configure: Regenerate. + * gdb.fortran/Makefile.in: New file. + * lib/gdb.exp (skip_fortran_tests): New procedure. + 2004-08-17 Michael Chastain * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure index b8c9732d263..271e11d1281 100755 --- a/gdb/testsuite/configure +++ b/gdb/testsuite/configure @@ -1052,7 +1052,8 @@ ac_given_srcdir=$srcdir trap 'rm -fr `echo "Makefile \ gdb.ada/Makefile gdb.ada/gnat_ada.gpr:gdb.ada/gnat_ada.gin \ gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile \ - gdb.cp/Makefile gdb.disasm/Makefile gdb.java/Makefile gdb.mi/Makefile \ + gdb.cp/Makefile gdb.disasm/Makefile gdb.fortran/Makefile \ + gdb.java/Makefile gdb.mi/Makefile \ gdb.objc/Makefile gdb.threads/Makefile gdb.trace/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF diff --git a/gdb/testsuite/configure.in b/gdb/testsuite/configure.in index 950600c65fc..8b90e04484c 100644 --- a/gdb/testsuite/configure.in +++ b/gdb/testsuite/configure.in @@ -121,5 +121,6 @@ AC_CONFIG_SUBDIRS($configdirs) AC_OUTPUT([Makefile \ gdb.ada/Makefile gdb.ada/gnat_ada.gpr:gdb.ada/gnat_ada.gin \ gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile \ - gdb.cp/Makefile gdb.disasm/Makefile gdb.java/Makefile gdb.mi/Makefile \ + gdb.cp/Makefile gdb.disasm/Makefile gdb.fortran/Makefile \ + gdb.java/Makefile gdb.mi/Makefile \ gdb.objc/Makefile gdb.threads/Makefile gdb.trace/Makefile]) diff --git a/gdb/testsuite/gdb.fortran/Makefile.in b/gdb/testsuite/gdb.fortran/Makefile.in new file mode 100644 index 00000000000..a1c3b074a07 --- /dev/null +++ b/gdb/testsuite/gdb.fortran/Makefile.in @@ -0,0 +1,34 @@ +# Makefile for regression testing the GNU debugger. +# Copyright 1992, 1993, 1994, 1995, 1996, 1999, 2001, 2003, 2004 +# Free Software Foundation, Inc. + +# This file is part of GDB. + +# GDB 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, or (at your option) +# any later version. + +# GDB 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. + +VPATH = @srcdir@ +srcdir = @srcdir@ + +EXECUTABLES = + +all info install-info dvi install uninstall installcheck check: + @echo "Nothing to be done for $@..." + +clean mostlyclean: + -rm -f *~ *.o *.ci + -rm -f core ${EXECUTABLES} + +distclean maintainer-clean realclean: clean + -rm -f Makefile config.status config.log diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 22893ddeec9..942e13599cb 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1121,6 +1121,12 @@ proc skip_cplus_tests {} { return 0 } +# Return a 1 if I don't even want to try to test FORTRAN. + +proc skip_fortran_tests {} { + return 0 +} + # Skip all the tests in the file if you are not on an hppa running # hpux target.