[2/3] Remove obsolete check from skip_compile_feature_tests

Message ID 20221130193531.2464972-3-tromey@adacore.com
State Committed
Commit 5b92bbd934059eb06cf531c268627deef53886aa
Headers
Series [1/3] Remove one copy of skip_compile_feature_tests |

Commit Message

Tom Tromey Nov. 30, 2022, 7:35 p.m. UTC
  skip_compile_feature_tests checks for "Command not supported on this
host", but this error was removed by commit e8d8cce6 ("Import mkdtemp
gnulib module, fix mingw build").  This patch removes the obsolete
test.
---
 gdb/testsuite/lib/compile-support.exp | 3 ---
 1 file changed, 3 deletions(-)
  

Patch

diff --git a/gdb/testsuite/lib/compile-support.exp b/gdb/testsuite/lib/compile-support.exp
index 58b3e4e3a1e..16b7c5dbc0d 100644
--- a/gdb/testsuite/lib/compile-support.exp
+++ b/gdb/testsuite/lib/compile-support.exp
@@ -26,9 +26,6 @@  proc skip_compile_feature_tests {} {
 	"Could not load libcc1.*\r\n$gdb_prompt $" {
 	    set result 1
 	}
-	-re "Command not supported on this host\\..*\r\n$gdb_prompt $" {
-	    set result 1
-	}
 	-re "\r\n$gdb_prompt $" {
 	}
     }