From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 423063858D3C for ; Sat, 20 Nov 2021 02:27:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 423063858D3C Received: by smtp.gentoo.org (Postfix, from userid 559) id 8845B342B66; Sat, 20 Nov 2021 02:27:57 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: bfin: fix short --env usage in testsuite Date: Fri, 19 Nov 2021 21:27:56 -0500 Message-Id: <20211120022756.22834-1-vapier@gentoo.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2021 02:28:01 -0000 Now that we have more than one option that matches "--env", the test config here doesn't work. Use the explicit --environment. --- sim/testsuite/bfin/mdma-32bit-1d-neg-count.c | 2 +- sim/testsuite/bfin/mdma-32bit-1d.c | 2 +- sim/testsuite/bfin/mdma-8bit-1d-neg-count.c | 2 +- sim/testsuite/bfin/mdma-8bit-1d.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sim/testsuite/bfin/mdma-32bit-1d-neg-count.c b/sim/testsuite/bfin/mdma-32bit-1d-neg-count.c index e380254475de..c033c23f3e7a 100644 --- a/sim/testsuite/bfin/mdma-32bit-1d-neg-count.c +++ b/sim/testsuite/bfin/mdma-32bit-1d-neg-count.c @@ -1,7 +1,7 @@ /* Basic MDMA device tests. # mach: bfin # cc: -mcpu=bf537 -nostdlib -lc -# sim: --env operating --model bf537 +# sim: --environment operating --model bf537 */ #include "test.h" diff --git a/sim/testsuite/bfin/mdma-32bit-1d.c b/sim/testsuite/bfin/mdma-32bit-1d.c index acb891ea35c7..92160704ccb1 100644 --- a/sim/testsuite/bfin/mdma-32bit-1d.c +++ b/sim/testsuite/bfin/mdma-32bit-1d.c @@ -1,7 +1,7 @@ /* Basic MDMA device tests. # mach: bfin # cc: -mcpu=bf537 -nostdlib -lc -# sim: --env operating --model bf537 +# sim: --environment operating --model bf537 */ #include "test.h" diff --git a/sim/testsuite/bfin/mdma-8bit-1d-neg-count.c b/sim/testsuite/bfin/mdma-8bit-1d-neg-count.c index 26ba577adf71..4ecf9737b161 100644 --- a/sim/testsuite/bfin/mdma-8bit-1d-neg-count.c +++ b/sim/testsuite/bfin/mdma-8bit-1d-neg-count.c @@ -1,7 +1,7 @@ /* Basic MDMA device tests. # mach: bfin # cc: -mcpu=bf537 -nostdlib -lc -# sim: --env operating --model bf537 +# sim: --environment operating --model bf537 */ #include "test.h" diff --git a/sim/testsuite/bfin/mdma-8bit-1d.c b/sim/testsuite/bfin/mdma-8bit-1d.c index 838409365ba1..747b8e4c3b30 100644 --- a/sim/testsuite/bfin/mdma-8bit-1d.c +++ b/sim/testsuite/bfin/mdma-8bit-1d.c @@ -1,7 +1,7 @@ /* Basic MDMA device tests. # mach: bfin # cc: -mcpu=bf537 -nostdlib -lc -# sim: --env operating --model bf537 +# sim: --environment operating --model bf537 */ #include "test.h" -- 2.33.0