Skip tfile.exp if unable to generate trace file
authorYao Qi <yao@codesourcery.com>
Thu, 14 Aug 2014 07:24:58 +0000 (15:24 +0800)
committerYao Qi <yao@codesourcery.com>
Fri, 15 Aug 2014 00:43:44 +0000 (08:43 +0800)
commitebcc6c3a7b5021bab3cc30e9b7d4c340153a0c32
tree76be792f0a2f9218fe3b4b3e7d37f0ae9a4c40b3
parent7dba4c934c4c294f28060207df711f730f23a2a8
Skip tfile.exp if unable to generate trace file

I added proc generate_tracefile in this patch
https://sourceware.org/ml/gdb-patches/2014-03/msg00591.html but
tfile.exp isn't skipped as changelog entry said:

* gdb.trace/tfile.exp: Skip the test if generate_tracefile
return 0.

it is a mistake I made at the last minute.  Patch below fixed it.

gdb/testsuite:

2014-08-15  Yao Qi  <yao@codesourcery.com>

* gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
false.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/tfile.exp