/usr/src/gcc-4.6/debian/patches/libstdc++-no-testsuite.diff is in gcc-4.6-source 4.6.4-6ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## DP: Don't run the libstdc++ testsuite on arm and ia64 (timeouts on the buildds)
# DP: Don't run the libstdc++ testsuite on hppa and mipsel (timeouts on the buildds)
--- a/src/libstdc++-v3/testsuite/Makefile.in~ 2010-02-23 02:43:51.522335339 +0100
+++ b/src/libstdc++-v3/testsuite/Makefile.in 2010-02-23 08:34:41.691086441 +0100
@@ -560,6 +560,7 @@
# Run the testsuite in normal mode.
check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
+ case "$(target)" in arm*|hppa*|ia64*|mips*) exit 0;; esac; \
AR="$(AR)"; export AR; \
RANLIB="$(RANLIB)"; export RANLIB; \
if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
|