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/enable-running.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/enable-running.exp')
-rw-r--r-- | gdb/testsuite/gdb.btrace/enable-running.exp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.btrace/enable-running.exp b/gdb/testsuite/gdb.btrace/enable-running.exp index d549a40..1316ed1 100644 --- a/gdb/testsuite/gdb.btrace/enable-running.exp +++ b/gdb/testsuite/gdb.btrace/enable-running.exp @@ -15,10 +15,14 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -if { [skip_btrace_tests] } { return -1 } +if { [skip_btrace_tests] } { + unsupported "target does not support record-btrace" + return -1 +} standard_testfile if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" "$binfile" executable {debug}] != "" } { + untested "failed to prepare" return -1 } @@ -29,6 +33,7 @@ save_vars { GDBFLAGS } { } if ![runto_main] { + untested "failed to run to main" return -1 } |