gdb/testsuite: Fix minor bug in skip_btrace*tests procs
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 18 Nov 2019 18:08:50 +0000 (18:08 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 28 Nov 2019 00:28:58 +0000 (00:28 +0000)
commitdcdec67858b1db5a91c1947569d6085310bfabe6
treec63de3cb17599a8eb0d8dd37bce140155ad93db4
parent0ac2b354ee006d94d6fc46bea08f39f99b18f869
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
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp
This page took 0.023521 seconds and 4 git commands to generate.