diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2016-12-09 13:16:22 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2017-02-01 14:38:44 +0100 |
commit | b5ac99b0828d4e1dfa33540b428c0fc6c32eda67 (patch) | |
tree | ddaf9b5e3c03c705e20a9bcbcbc6f9ff39a58e2e /gdb/testsuite/gdb.btrace/reconnect.exp | |
parent | cd4007e43421a2f974f51574b6e2b52b9b1a7a50 (diff) | |
download | gdb-b5ac99b0828d4e1dfa33540b428c0fc6c32eda67.zip gdb-b5ac99b0828d4e1dfa33540b428c0fc6c32eda67.tar.gz gdb-b5ac99b0828d4e1dfa33540b428c0fc6c32eda67.tar.bz2 |
btrace: add unsupported/untested messages when skipping tests
We may silently skip gdb.btrace tests if
- the target does not support record-btrace
- the target does not support TSX
- the target does not support gdbserver
- we fail to compile the test
- we fail to run to main
Add unsupported/untested messages for each of those.
testsuite/
* gdb.btrace/buffer-size.exp: Add unsupported/untested message if
the test is skipped.
* gdb.btrace/data.exp: Likewise.
* gdb.btrace/delta.exp: Likewise.
* gdb.btrace/dlopen.exp: Likewise.
* gdb.btrace/enable-running.exp: Likewise.
* gdb.btrace/enable.exp: Likewise.
* gdb.btrace/exception.exp: Likewise.
* gdb.btrace/function_call_history.exp: Likewise.
* gdb.btrace/gcore.exp: Likewise.
* gdb.btrace/instruction_history.exp: Likewise.
* gdb.btrace/multi-thread-step.exp: Likewise.
* gdb.btrace/nohist.exp: Likewise.
* gdb.btrace/non-stop.exp: Likewise.
* gdb.btrace/reconnect.exp: Likewise.
* gdb.btrace/record_goto-step.exp: Likewise.
* gdb.btrace/record_goto.exp: Likewise.
* gdb.btrace/rn-dl-bind.exp: Likewise.
* gdb.btrace/segv.exp: Likewise.
* gdb.btrace/step.exp: Likewise.
* gdb.btrace/stepi.exp: Likewise.
* gdb.btrace/tailcall-only.exp: Likewise.
* gdb.btrace/tailcall.exp: Likewise.
* gdb.btrace/tsx.exp: Likewise.
* gdb.btrace/unknown_functions.exp: Likewise.
* gdb.btrace/vdso.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.btrace/reconnect.exp')
-rw-r--r-- | gdb/testsuite/gdb.btrace/reconnect.exp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.btrace/reconnect.exp b/gdb/testsuite/gdb.btrace/reconnect.exp index 4538934..a9269af 100644 --- a/gdb/testsuite/gdb.btrace/reconnect.exp +++ b/gdb/testsuite/gdb.btrace/reconnect.exp @@ -19,8 +19,14 @@ load_lib gdbserver-support.exp -if { [skip_btrace_tests] } { return -1 } -if { [skip_gdbserver_tests] } { return -1 } +if { [skip_btrace_tests] } { + unsupported "target does not support record-btrace" + return -1 +} +if { [skip_gdbserver_tests] } { + unsupported "target does not support gdbserver" + return -1 +} standard_testfile if [prepare_for_testing "failed to prepare" $testfile $srcfile] { |