summaryrefslogtreecommitdiffstats
path: root/debian/patches/gcc-arm-disable-guality-tests.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:22:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:22:56 +0000
commit3f472a4e5ca21e3ddb13737473e636b2b11a408a (patch)
tree7db1ab317884b9f6e04b6e13737c1679879cb97a /debian/patches/gcc-arm-disable-guality-tests.diff
parentAdding upstream version 13.2.0. (diff)
downloadgcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.tar.xz
gcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.zip
Adding debian version 13.2.0-10.debian/13.2.0-10debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/gcc-arm-disable-guality-tests.diff44
1 files changed, 44 insertions, 0 deletions
diff --git a/debian/patches/gcc-arm-disable-guality-tests.diff b/debian/patches/gcc-arm-disable-guality-tests.diff
new file mode 100644
index 0000000..bc43363
--- /dev/null
+++ b/debian/patches/gcc-arm-disable-guality-tests.diff
@@ -0,0 +1,44 @@
+# DP: Don't run some tests from the guality test suite on armhf. These fail
+# DP: on every target, but seem to hang on the buildds occasionally on armhf.
+
+--- a/src/gcc/testsuite/gcc.dg/guality/guality.exp
++++ b/src/gcc/testsuite/gcc.dg/guality/guality.exp
+@@ -93,7 +93,37 @@ if {[check_guality "
+ }
+ }
+
+- gcc-dg-runtest [lsort [glob $srcdir/$subdir/*.c]] "" ""
++ # FIXME: these seem to hang on the buildds, and gdb always times out
++ # trying to run them.
++ if { [istarget arm-*-linux-gnueabi*] } {
++ set guality [list]
++ foreach file [lsort [glob $srcdir/$subdir/*.c]] {
++ switch -glob -- [file tail $file] {
++ pr36728-*.c -
++ pr41616-1.c -
++ pr43051-1.c -
++ pr54200.c -
++ pr54519-*.c -
++ pr54551.c -
++ pr54693-2.c -
++ pr54796.c -
++ pr56154-1.c -
++ pr58791-3.c -
++ pr58791-5.c -
++ pr68860-1.c -
++ pr68860-2.c -
++ pr78726.c -
++ pr89528.c -
++ pr90074.c -
++ pr90716.c { }
++ * { lappend guality $file }
++ }
++ }
++ } {
++ set guality [lsort [glob $srcdir/$subdir/*.c]]
++ }
++
++ gcc-dg-runtest $guality "" ""
+ gcc-dg-runtest $general "" "-Wc++-compat"
+ set-torture-options \
+ [list "-O0" "-Og"] \