summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2013-10-21 12:29:18 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2013-10-21 12:29:18 +0000
commit2754261bdc592c32f5678f2fd7cd82aba12189f6 (patch)
tree0a4af8ac781ff91a6a6d21e25d6496d26f22c115
parentdac4fe369d4fa7212fdaff81825e53f43efe91fc (diff)
downloadgcc-47-2754261bdc592c32f5678f2fd7cd82aba12189f6.tar.gz
* Don't run the tests against the installed runtime libraries.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@6990 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
-rw-r--r--debian/changelog1
-rw-r--r--debian/rules233
2 files changed, 1 insertions, 33 deletions
diff --git a/debian/changelog b/debian/changelog
index e3a5bef..4ac6ea6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ gcc-4.7 (4.7.3-8) unstable; urgency=low
* Make the libstdc++ pretty printers compatible with Python3, if
gdb is built with Python3 support.
* Fix loading of libstdc++ pretty printers. Addresses: #701935.
+ * Don't run the tests against the installed runtime libraries.
-- Matthias Klose <doko@debian.org> Mon, 21 Oct 2013 14:02:04 +0200
diff --git a/debian/rules2 b/debian/rules2
index a9c2724..52d6bc3 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -1416,39 +1416,6 @@ $(check_stamp): $(build_stamp) $(build_locale_stamp)
ln -sf gcc $(builddir)/prev-gcc
ln -sf $(DEB_TARGET_GNU_TYPE) $(builddir)/prev-$(DEB_TARGET_GNU_TYPE)
-ifneq ($(with_common_libs),yesDISABLED)
- ifeq ($(with_cxx),yes)
- : # libstdc++6 built from newer gcc-4.x source, run testsuite against the installed lib
-
- sed 's/-L[^ ]*//g' $(buildlibdir)/libstdc++-v3/scripts/testsuite_flags \
- > $(buildlibdir)/libstdc++-v3/scripts/testsuite_flags.installed
- -$(ULIMIT_M); \
- set +e; \
- for d in $(buildlibdir)/libstdc++-v3/testsuite; do \
- echo "Running testsuite in $$d ..."; \
- TEST_INSTALLED=1 \
- $(SET_SHELL) \
- $(SET_LOCPATH) \
- $(SET_PATH) \
- DEJAGNU_TIMEOUT=$(DEJAGNU_TIMEOUT) \
- DEB_GCC_NO_O3=1 \
- $(MAKE) -k -C $$d $(NJOBS) check $(RUNTESTFLAGS); \
- done 2>&1 | tee test-protocol2
-
- BOOT_CFLAGS="$(BOOT_CFLAGS)" \
- $(srcdir)/contrib/test_summary -m "$(S_EMAIL)" > raw-test-summary
- -( \
- sed -n '/^Mail/s/.*"\([^"][^"]*\)".*/\1/p' raw-test-summary; \
- awk '/^cat/, /^EOF/' raw-test-summary | grep -v EOF; \
- ) > libstdc++-test-summary
- echo 'BEGIN installed libstdc++-v3 test-summary'
- cat libstdc++-test-summary
- echo 'END installed libstdc++-v3 test-summary'
- find $(buildlibdir)/libstdc++-v3/testsuite -name '*.log' -o -name '*.sum' \
- | xargs -r rm -f
- endif
-endif
-
ifeq ($(start_logwatch),yes)
: # start logwatch script for regular output during test runs
chmod +x debian/logwatch.sh