Fix more cases of improper test names
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.arch / s390-tdbregs.exp
index dc94f5ff0760ef052c0ed91df62382ab10c52751..f0cb825f1e2b1be2bc1747bb38bbfbd46c5a6efb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2004-2014 Free Software Foundation, Inc.
+# Copyright 2004-2016 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -24,39 +24,26 @@ if { ![istarget s390-*-*] && ![istarget s390x-*-* ] } {
     return
 }
 
-set testfile "s390-tdbregs"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .c
 
-if { [get_compiler_info] } {
+if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
-      executable [list debug]] != "" } {
-    fail "compile failed"
-    return
-}
-
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
-
 if { ![runto_main] } then {
     gdb_suppress_tests
 }
 
 gdb_test_multiple "next" "check for TE support" {
     -re "Program received signal SIGILL,.*\r\n$gdb_prompt $" {
-       unsupported "No TE support."
+       unsupported "no TE support."
        return
     }
     -re "\[0-9\]+.*\r\n$gdb_prompt $" {
        pass "TE support available"
     }
     -re "$gdb_prompt $" {
-       unsupported "No TE support (unknown error)."
+       unsupported "no TE support (unknown error)."
        return
     }
 }
This page took 0.025371 seconds and 4 git commands to generate.