]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.btrace/segv.exp
btrace: add unsupported/untested messages when skipping tests
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.btrace / segv.exp
index 562037a00cbae22974067350f47d84f10a544837..f146cdc4ea6520a575580f2e169ee9ce2ebf6f5f 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# check for btrace support
-if { [skip_btrace_tests] } { return -1 }
+if { [skip_btrace_tests] } {
+    unsupported "target does not support record-btrace"
+    return -1
+}
 
-# start inferior
 standard_testfile
 if [prepare_for_testing "failed to prepare" $testfile $srcfile] {
     return -1
 }
 if ![runto_main] {
+    untested "failed to run to main"
     return -1
 }