public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Cleanup unnecessary expr from require line
@ 2023-02-24 12:51 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-02-24 12:51 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f1c8928395be789ec091d5ff0f3546d7916e00ba

commit f1c8928395be789ec091d5ff0f3546d7916e00ba
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Feb 24 13:52:12 2023 +0100

    [gdb/testsuite] Cleanup unnecessary expr from require line
    
    In a recent commit I've added:
    ...
    require {expr [have_compile_flag -fsplit-stack]}
    ...
    but actually the expr bit is unnecessary, and we can just use:
    ...
    require {have_compile_flag -fsplit-stack}
    ...
    
    Reported-By: Tom Tromey <tom@tromey.com>

Diff:
---
 gdb/testsuite/gdb.base/morestack.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.base/morestack.exp b/gdb/testsuite/gdb.base/morestack.exp
index b4d22187390..cc81522a51e 100644
--- a/gdb/testsuite/gdb.base/morestack.exp
+++ b/gdb/testsuite/gdb.base/morestack.exp
@@ -15,7 +15,7 @@
 
 require is_c_compiler_gcc
 
-require {expr [have_compile_flag -fsplit-stack]}
+require {have_compile_flag -fsplit-stack}
 
 standard_testfile

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-24 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24 12:51 [binutils-gdb] [gdb/testsuite] Cleanup unnecessary expr from require line 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).