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.
This commit is contained in:
parent
7dba4c934c
commit
ebcc6c3a7b
|
@ -1,3 +1,8 @@
|
|||
2014-08-15 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
|
||||
false.
|
||||
|
||||
2014-08-15 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* gdb.cp/casts.exp: Set print symbol off.
|
||||
|
|
|
@ -52,6 +52,7 @@ remote_file target delete $tfile_error
|
|||
|
||||
if { ![generate_tracefile $binfile] } {
|
||||
unsupported "Unable to generate trace file"
|
||||
return -1
|
||||
}
|
||||
|
||||
if {!$purely_local} {
|
||||
|
|
Loading…
Reference in New Issue