]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.btrace/instruction_history.exp
btrace: add unsupported/untested messages when skipping tests
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.btrace / instruction_history.exp
index 905f76c21249bc5e77cf791d9bca4b2791b97db5..b5d6d3b4d843503b2f097de16c27c70c61a71899 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
+}
 
-# compile and run to main
 standard_testfile .c .S
 if [prepare_for_testing "failed to prepare" $testfile "$srcfile $srcfile2" {debug}] {
     return -1
 }
+
 if ![runto_main] {
+    untested "failed to run to main"
     return -1
 }