aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/Makefile.in')
-rw-r--r--binutils/testsuite/Makefile.in27
1 files changed, 26 insertions, 1 deletions
diff --git a/binutils/testsuite/Makefile.in b/binutils/testsuite/Makefile.in
index 098a490..55a135f 100644
--- a/binutils/testsuite/Makefile.in
+++ b/binutils/testsuite/Makefile.in
@@ -1,3 +1,20 @@
+# Makefile for regression testing the GNU binary utilities.
+# Copyright (C) 1993, 1994 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+
srcdir = .
prefix = /usr/local
@@ -68,7 +85,9 @@ EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; \
LINK= ln -s
SUBDIRS=
-RUNTEST = runtest
+RUNTEST = `if [ -f ${srcdir}/../../dejagnu/runtest ] ; \
+ then echo ${srcdir}/../../dejagnu/runtest ; \
+ else echo runtest ; fi`
RUNTESTFLAGS =
FLAGS_TO_PASS = \
"CC=$(CC)" \
@@ -91,6 +110,12 @@ install-info:
$(MAKE) subdir_do DO=install-info "DODIRS=$(INFODIRS)" $(FLAGS_TO_PASS)
check: site.exp all
+ rootme=`pwd`; export rootme; \
+ srcdir=${srcdir} ; export srcdir ; \
+ EXPECT=${EXPECT} ; export EXPECT ; \
+ if [ -f $${rootme}/../../expect/expect ] ; then \
+ TCL_LIBRARY=$${srcdir}/../../tcl/library ; \
+ export TCL_LIBRARY ; fi ; \
$(RUNTEST) $(RUNTESTFLAGS)
site.exp: ./config.status Makefile