[gdb/testsuite] Stabilize gdb-caching-proc.exp test order
The test-case gdb-caching-proc.exp tests each gdb_caching_proc in gdb/testsuite/lib/*.exp. However, the order of .exp file being tested can change from run to run, because of using glob. Fix this by sorting the glob result. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2019-08-21 Tom de Vries <tdevries@suse.de> * gdb.base/gdb-caching-proc.exp: Sort files.
This commit is contained in:
parent
b068c22c2a
commit
61f80d5daf
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2019-08-21 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* gdb.base/gdb-caching-proc.exp: Sort files.
|
||||
|
||||
2019-08-20 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
|
||||
|
|
|
@ -104,6 +104,7 @@ if { ![gdb_simple_compile $me $src executable] } {
|
|||
|
||||
# Test gdb_caching_procs in gdb/testsuite/lib/*.exp
|
||||
set files [eval glob -types f $srcdir/lib/*.exp]
|
||||
set files [lsort $files]
|
||||
foreach file $files {
|
||||
test_file $file
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue