Fix more cases of improper test names
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / float.exp
index 939f07f9900a87961e93142a4fb3eb90158b561a..7ab30c925f03f22c60ac729e907f11d6167faacf 100644 (file)
@@ -23,7 +23,7 @@
 #
 
 
-if { [prepare_for_testing float.exp float float.c] } {
+if { [prepare_for_testing "failed to prepare" float float.c] } {
     return -1
 }
 
@@ -76,6 +76,15 @@ if { [is_aarch64_target] } then {
              pass "info float (with FPU)"
          }
     }
+} elseif [istarget "nds32*-*-*"] then {
+    gdb_test_multiple "info float" "info_float" {
+        -re "fd0.*fd3.*$gdb_prompt $" {
+            pass "info float (with FPU)"
+       }
+        -re "No floating.point info available for this processor.*" {
+            pass "info float (without FPU)"
+       }
+    }
 } elseif [istarget "powerpc*-*-*"] then {
     gdb_test_multiple "info float" "info_float" {
         -re "f0.*f1.*f31.*fpscr.*$gdb_prompt $" {
This page took 0.030246 seconds and 4 git commands to generate.