projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0676ec3
)
[gdb/testsuite] Cleanup unnecessary expr from require line
author
Tom de Vries
<tdevries@suse.de>
Fri, 24 Feb 2023 12:52:12 +0000
(13:52 +0100)
committer
Tom de Vries
<tdevries@suse.de>
Fri, 24 Feb 2023 12:52:12 +0000
(13:52 +0100)
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>
gdb/testsuite/gdb.base/morestack.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/morestack.exp
b/gdb/testsuite/gdb.base/morestack.exp
index b4d22187390e85c7c345394db73f8a8c74d6758b..cc81522a51ec48e29da9ad24a351feb2acee188c 100644
(file)
--- 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