From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67127 invoked by alias); 21 Aug 2019 09:51:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 67118 invoked by uid 89); 21 Aug 2019 09:51:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Aug 2019 09:51:38 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DDB61AEAF for ; Wed, 21 Aug 2019 09:51:36 +0000 (UTC) Date: Wed, 21 Aug 2019 09:51:00 -0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [committed][gdb/testsuite] Stabilize gdb-caching-proc.exp test order Message-ID: <20190821095134.GA7268@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00463.txt.bz2 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 * 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 }