diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-11-18 18:08:50 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-11-28 00:28:58 +0000 |
commit | dcdec67858b1db5a91c1947569d6085310bfabe6 (patch) | |
tree | c63de3cb17599a8eb0d8dd37bce140155ad93db4 /gdb/cli/cli-script.c | |
parent | 0ac2b354ee006d94d6fc46bea08f39f99b18f869 (diff) | |
download | gdb-dcdec67858b1db5a91c1947569d6085310bfabe6.zip gdb-dcdec67858b1db5a91c1947569d6085310bfabe6.tar.gz gdb-dcdec67858b1db5a91c1947569d6085310bfabe6.tar.bz2 |
gdb/testsuite: Fix minor bug in skip_btrace*tests procs
The two guard functions skip_btrace_tests and skip_btrace_pt_tests
have a minor bug, if the check function fails to compile then surely
we should skip the btrace tests - currently we return 0 to indicate
don't skip.
gdb/testsuite/ChangeLog:
* lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
compile.
(skip_btrace_pt_tests): Likewise.
Change-Id: I6dfc04b4adcf5b9424fb542ece7ddbe751bee301
Diffstat (limited to 'gdb/cli/cli-script.c')
0 files changed, 0 insertions, 0 deletions