* gdb.xml/tdesc-arch.exp: Test is unsupported on target with
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 9 Mar 2007 00:14:07 +0000 (00:14 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 9 Mar 2007 00:14:07 +0000 (00:14 +0000)
just a single architecture.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.xml/tdesc-arch.exp

index bc3ab33ce0c4710a32ef4d709ac5ddd12702a548..6f9c051d676ca706e986d6f455cb2cd427fe6a8e 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
+       just a single architecture.
+
 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
index ac031309fd4abb8c1057c5f2dc10014d436524cf..fdec9c46ba606edc807e8466c93b770628d23a89 100644 (file)
@@ -32,6 +32,11 @@ gdb_test_multiple "set architecture" $msg {
        set arch2 $expect_out(2,string)
        pass $msg
     }
+    -re "Requires an argument. Valid arguments are (\[^ \]*), auto\\.\r\n$gdb_prompt $" {
+       # If there is just one supported architecture, we can't do this test.
+       unsupported "tdesc-arch.exp"
+       return -1
+    }
 }
 
 set default_arch ""