Description: Disable broken tests
Author: Stephen Kitt <skitt@debian.org>

--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/i386.exp
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/i386.exp
@@ -190,8 +190,10 @@
     run_dump_test "8087"
     run_dump_test "287"
     run_dump_test "387"
-    run_list_test "no87" "-al"
-    run_list_test "no87-2" "-march=i686+no87 -al"
+    if {![istarget "*-*-msdosdjgpp*"]} then {
+        run_list_test "no87" "-al"
+        run_list_test "no87-2" "-march=i686+no87 -al"
+    }
     run_list_test "no87-3" "-al"
     run_list_test "stN" "-al"
     run_list_test "fpu"
@@ -256,7 +258,9 @@
     run_dump_test "evex-wig1-intel"
     run_dump_test "sse2avx"
     run_list_test "inval-avx" "-al"
-    run_list_test "inval-avx512f" "-al"
+    if {![istarget "*-*-msdosdjgpp*"]} then {
+        run_list_test "inval-avx512f" "-al"
+    }
     run_list_test "inval-avx512vl" "-al"
     run_dump_test "sse-check"
     run_dump_test "sse-check-none"
@@ -334,7 +338,9 @@
     run_dump_test "mpx-add-bnd-prefix"
     run_dump_test "mpx-16bit"
     run_list_test "bnd" "-al"
-    run_dump_test "sha"
+    if {![istarget "*-*-msdosdjgpp*"]} then {
+        run_dump_test "sha"
+    }
     run_dump_test "clflushopt"
     run_dump_test "clflushopt-intel"
     run_dump_test "xsavec"
--- a/gnu/binutils-2.35.1/binutils/testsuite/binutils-all/copy-3.d
+++ b/gnu/binutils-2.35.1/binutils/testsuite/binutils-all/copy-3.d
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags .text=alloc,data
 #name: copy with setting section flags 3
 #source: bintest.s
-#notarget: *-*-*aout *-*-*coff *-*-cygwin* *-*-darwin *-*-mingw* *-*-go32 *-*-*pe hppa*-*-hpux* ns32k-*-* powerpc-*-aix* rs6000-*-* rx-*-*
+#notarget: *-*-*aout *-*-*coff *-*-cygwin* *-*-darwin *-*-mingw* *-*-go32 *-*-msdosdjgpp* *-*-*pe hppa*-*-hpux* ns32k-*-* powerpc-*-aix* rs6000-*-* rx-*-*
 # The .text # section in PE/COFF has a fixed set of flags and these
 # cannot be changed.  We skip it for them.
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/all/gas.exp
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/all/gas.exp
@@ -169,7 +169,8 @@
 	setup_xfail "bfin-*-*" "i\[3-7\]86-*-*coff" \
 	    "i\[3-7\]86-*-*pe" "i\[3-7\]86-*-go32*" \
 	    "i\[3-7\]86-*-cygwin*" "i\[3-7\]86-*-mingw*" \
-	    "x86_64-*-cygwin*" "x86_64-*-mingw*"
+	    "x86_64-*-cygwin*" "x86_64-*-mingw*" \
+	    "*-*-msdosdjgpp*"
 	run_dump_test redef3
 	gas_test_error "redef4.s" "" ".set for symbol already used as label"
 	gas_test_error "redef5.s" "" ".set for symbol already defined through .comm"
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/absrel.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/absrel.d
@@ -1,7 +1,7 @@
 #objdump: -drw
 #name: i386 abs reloc
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/align-1a.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/align-1a.d
@@ -3,7 +3,7 @@
 #as: -mtune=generic32
 #objdump: -dr
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 
 Disassembly of section .text:
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/align-1b.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/align-1b.d
@@ -3,7 +3,7 @@
 #as: -mtune=generic32 -n
 #objdump: -dr
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 
 Disassembly of section .text:
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/att-regs.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/att-regs.d
@@ -2,7 +2,7 @@
 #objdump: -drw
 #name: i386 AT&T register names
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 0+0 <.*>:
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/bundle-lock.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/bundle-lock.d
@@ -1,7 +1,7 @@
 #objdump: -drw
 #name: i386 .bundle_lock
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/bundle.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/bundle.d
@@ -1,7 +1,7 @@
 #objdump: -drw
 #name: i386 .bundle_align_mode
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/fence-as-lock-add-no.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/fence-as-lock-add-no.d
@@ -3,7 +3,7 @@
 #objdump: -dw
 #name: i386  fence as lock add = no
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/fence-as-lock-add-yes.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/fence-as-lock-add-yes.d
@@ -3,7 +3,7 @@
 #objdump: -dw
 #name: i386  fence as lock add = yes
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/intel-regs.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/intel-regs.d
@@ -2,7 +2,7 @@
 #objdump: -drw
 #name: i386 Intel register names
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 0+0 <.*>:
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/jump.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/jump.d
@@ -1,7 +1,7 @@
 #name: i386 jump
 #objdump: -drw
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/jump16.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/jump16.d
@@ -2,7 +2,7 @@
 #objdump: -drw -mi8086
 #warning_output: jump16.e
 
-.*:     file format .*i386.*
+.*:     file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/mixed-mode-reloc32.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/mixed-mode-reloc32.d
@@ -3,7 +3,7 @@
 #source: mixed-mode-reloc.s
 #name: x86 mixed mode relocs (32-bit object)
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 RELOCATION RECORDS FOR \[.text\]:
 OFFSET[ 	]+TYPE[ 	]+VALUE[ 	]*
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/naked.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/naked.d
@@ -1,7 +1,7 @@
 #objdump: -drw
 #name: i386 naked reg
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/omit-lock-no.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/omit-lock-no.d
@@ -3,7 +3,7 @@
 #objdump: -dw
 #name: i386  omit lock = no
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/omit-lock-yes.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/omit-lock-yes.d
@@ -3,7 +3,7 @@
 #objdump: -dw
 #name: i386  omit lock = yes
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/pcrel-elf.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/pcrel-elf.d
@@ -3,7 +3,7 @@
 #objdump: -drw
 #name: i386 pcrel ELF reloc
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/pcrel.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/pcrel.d
@@ -1,7 +1,7 @@
 #objdump: -drw
 #name: i386 pcrel reloc
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/pr12589-1.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/pr12589-1.d
@@ -1,7 +1,7 @@
 #name: i386 jump
 #objdump: -drw
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/relax.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/relax.d
@@ -2,7 +2,7 @@
 #name: i386 relax
 #objdump: -s
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Contents of section .text:
  0+00 90 ?90 ?eb ?14 eb ?12 ?41 ?42 43 ?44 ?45 ?46 47 ?48 ?49 ?00  .*
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/reloc.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/reloc.d
@@ -1,7 +1,7 @@
 #objdump: -drw
 #name: i386 reloc
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/reloc32.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/reloc32.d
@@ -2,7 +2,7 @@
 #objdump: -Drw
 #name: i386 relocs
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section \.text:
 #...
--- a/gnu/binutils-2.35.1/gas/testsuite/gas/i386/sub.d
+++ b/gnu/binutils-2.35.1/gas/testsuite/gas/i386/sub.d
@@ -1,7 +1,7 @@
 #objdump: -drw
 #name: i386 sub
 
-.*: +file format .*i386.*
+.*: +file format .*(i386|coff-go32).*
 
 Disassembly of section .text:
 
