aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite/Makefile.in
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-09-12 01:11:29 +0000
committerDJ Delorie <dj@redhat.com>2002-09-12 01:11:29 +0000
commita54ba43fe9719b40edbfa24a6f49443d80da650d (patch)
treef61342d4836ba8647047291fb9eb6dd898f54c1d /libiberty/testsuite/Makefile.in
parente64f66d17121a4ce10bbd5eeadf8d4130c23e116 (diff)
downloadgdb-a54ba43fe9719b40edbfa24a6f49443d80da650d.zip
gdb-a54ba43fe9719b40edbfa24a6f49443d80da650d.tar.gz
gdb-a54ba43fe9719b40edbfa24a6f49443d80da650d.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/testsuite/Makefile.in')
-rw-r--r--libiberty/testsuite/Makefile.in20
1 files changed, 7 insertions, 13 deletions
diff --git a/libiberty/testsuite/Makefile.in b/libiberty/testsuite/Makefile.in
index 9d4ddd0..515dcd5 100644
--- a/libiberty/testsuite/Makefile.in
+++ b/libiberty/testsuite/Makefile.in
@@ -1,6 +1,6 @@
#
# Makefile
-# Copyright (C) 1999
+# Copyright (C) 1999, 2002
# Free Software Foundation
#
# This file is part of the libiberty library.
@@ -45,31 +45,25 @@ all:
check: @CHECK@
# Run some tests of the demangler.
-check-cplus-dem: test-filter $(srcdir)/demangle-expected
- $(SHELL) $(srcdir)/regress-demangle $(srcdir)/demangle-expected
+check-cplus-dem: test-demangle $(srcdir)/demangle-expected
+ ./test-demangle < $(srcdir)/demangle-expected
-# Note that we just hard-code prepends_underscore to 0. This doesn't
-# matter since any particular test can override the default if need
-# be.
TEST_COMPILE = $(CC) @DEFS@ $(LIBCFLAGS) -I.. -I$(INCDIR) $(HDEFINES)
-test-filter: $(srcdir)/../cplus-dem.c
- echo 'int prepends_underscore = 0;' > test-us.c
- $(TEST_COMPILE) -o test-filter -DMAIN -DVERSION='"none"' @DEFS@ \
- $(srcdir)/../cplus-dem.c test-us.c -L.. -liberty
-
+test-demangle: $(srcdir)/test-demangle.c
+ $(TEST_COMPILE) -o test-demangle \
+ $(srcdir)/test-demangle.c ../libiberty.a
# Standard (either GNU or Cygnus) rules we don't use.
info install-info clean-info dvi install etags tags installcheck:
# The standard clean rules.
mostlyclean:
- rm -f test-us.c test-filter
+ rm -f test-demangle
clean: mostlyclean
distclean: clean
rm -f Makefile
maintainer-clean realclean: distclean
-
Makefile: $(srcdir)/Makefile.in ../config.status
CONFIG_FILES=testsuite/Makefile CONFIG_HEADERS= \
cd .. && $(SHELL) ./config.status