* [committed][gdb/testsuite] Stabilize gdb-caching-proc.exp test order
@ 2019-08-21 9:51 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-08-21 9:51 UTC (permalink / raw)
To: gdb-patches
Hi,
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.
Committed to trunk.
Thanks,
- Tom
[gdb/testsuite] Stabilize gdb-caching-proc.exp test order
gdb/testsuite/ChangeLog:
2019-08-21 Tom de Vries <tdevries@suse.de>
* gdb.base/gdb-caching-proc.exp: Sort files.
---
gdb/testsuite/gdb.base/gdb-caching-proc.exp | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/testsuite/gdb.base/gdb-caching-proc.exp b/gdb/testsuite/gdb.base/gdb-caching-proc.exp
index 82645b0008..ee78727939 100644
--- a/gdb/testsuite/gdb.base/gdb-caching-proc.exp
+++ b/gdb/testsuite/gdb.base/gdb-caching-proc.exp
@@ -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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-21 9:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 9:51 [committed][gdb/testsuite] Stabilize gdb-caching-proc.exp test order Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).