From patchwork Wed Jul 6 14:26:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 13671 Received: (qmail 7986 invoked by alias); 6 Jul 2016 14:27:12 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 7975 invoked by uid 89); 6 Jul 2016 14:27:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=cfile, testdir, csrcfile, cobject X-HELO: usplmg20.ericsson.net Received: from usplmg20.ericsson.net (HELO usplmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 06 Jul 2016 14:27:01 +0000 Received: from EUSAAHC002.ericsson.se (Unknown_Domain [147.117.188.78]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id 8E.86.09012.39A0D775; Wed, 6 Jul 2016 15:41:40 +0200 (CEST) Received: from elxcz23q12-y4.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.78) with Microsoft SMTP Server (TLS) id 14.3.294.0; Wed, 6 Jul 2016 10:26:55 -0400 From: Simon Marchi To: CC: Simon Marchi Subject: [PATCH obv] gdb.ada/arraydim.exp: Fix directory layout Date: Wed, 6 Jul 2016 10:26:49 -0400 Message-ID: <20160706142649.28561-1-simon.marchi@ericsson.com> MIME-Version: 1.0 X-IsSubscribed: yes FYI, I pushed this as obvious. I forgot to fix this one in the previous commit. gdb/testsuite/ChangeLog: * gdb.ada/arraydim.exp: Remove extra directory level in build directory. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.ada/arraydim.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 013af4d..b0e6c2a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2016-07-06 Simon Marchi + * gdb.ada/arraydim.exp: Remove extra directory level in build + directory. + +2016-07-06 Simon Marchi + * lib/ada.exp: Remove extra directory level in build directory. * gdb.ada/cond_lang.exp: Likewise. * gdb.ada/exec_changed.exp: Likewise. diff --git a/gdb/testsuite/gdb.ada/arraydim.exp b/gdb/testsuite/gdb.ada/arraydim.exp index 58b50ab..38eafa5 100644 --- a/gdb/testsuite/gdb.ada/arraydim.exp +++ b/gdb/testsuite/gdb.ada/arraydim.exp @@ -17,8 +17,8 @@ load_lib "ada.exp" standard_ada_testfile foo -set cfile "${testdir}/inc" -set csrcfile ${srcdir}/${subdir}/${cfile}.c +set cfile "inc" +set csrcfile ${srcdir}/${subdir}/${testdir}/${cfile}.c set cobject [standard_output_file ${cfile}.o] gdb_compile "${csrcfile}" "${cobject}" object [list debug]