diff options
author | Rob Savoye <rob@cygnus> | 1993-04-08 05:12:06 +0000 |
---|---|---|
committer | Rob Savoye <rob@cygnus> | 1993-04-08 05:12:06 +0000 |
commit | c3361cd3ca4685e46bfa25189d0a7465766a118b (patch) | |
tree | 972918d7256725b763d54876a36c7a2b6e5282ad /binutils/testsuite | |
parent | e57072116fca3b4f2c7b43dabe937daef06baa6a (diff) | |
download | gdb-c3361cd3ca4685e46bfa25189d0a7465766a118b.zip gdb-c3361cd3ca4685e46bfa25189d0a7465766a118b.tar.gz gdb-c3361cd3ca4685e46bfa25189d0a7465766a118b.tar.bz2 |
Changed "make check" target to use DejaGnu.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/Makefile.in | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/binutils/testsuite/Makefile.in b/binutils/testsuite/Makefile.in index 757fba7..9c5a1b2 100644 --- a/binutils/testsuite/Makefile.in +++ b/binutils/testsuite/Makefile.in @@ -40,6 +40,9 @@ CXXFLAGS = -g -O LINK= ln -s SUBDIRS= +RUNTEST = runtest +RUNTESTFLAGS = + CC_FOR_TARGET = ` \ if [ -f $${rootme}../gcc/Makefile ] ; then \ echo $${rootme}../gcc/xgcc -B$${rootme}../gcc/; \ @@ -138,26 +141,11 @@ install-info: @rootme=`pwd`/ ; export rootme ; \ $(MAKE) subdir_do DO=install-info "DODIRS=$(INFODIRS)" $(FLAGS_TO_PASS) -install: - -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \ - if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi - -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi - -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi - -if [ -d $(libdir) ] ; then true ; else mkdir $(libdir) ; fi - -if [ -d $(datadir) ] ; then true ; else mkdir $(datadir) ; fi - -if [ -d $(targetdir) ] ; then true ; else mkdir $(targetdir) ; fi - -for file in ./lib/*.exp; \ - do \ - $(INSTALL_DATA) $$file $(datadir) ; \ - done - -for file in ./*-init.exp; \ - do \ - $(INSTALL_DATA) $$file $(targetdir) ; \ - done +check: all + $(RUNTEST) $(RUNTESTFLAGS) --tool binutils --srcdir $(srcdir) +install: uninstall: force -# -rm -f $(datadir)/*.exp - -rm -fr $(targetdir) subdir_do: force @for i in $(DODIRS); do \ |