From: Yao Qi <qiyaoltc@gmail.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] Skip float complex types if gdb_skip_float_test
Date: Tue, 04 Oct 2016 14:34:00 -0000 [thread overview]
Message-ID: <1475591646-9783-1-git-send-email-yao.qi@linaro.org> (raw)
If the target doesn't support float, we don't run float complex types
tests.
gdb/testsuite:
2016-10-04 Yao Qi <yao.qi@linaro.org>
* gdb.base/callfuncs.exp (do_function_calls): Do float
complex tests if $skip_float_test is true.
---
gdb/testsuite/gdb.base/callfuncs.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index b108952..55294f0 100644
--- a/gdb/testsuite/gdb.base/callfuncs.exp
+++ b/gdb/testsuite/gdb.base/callfuncs.exp
@@ -119,7 +119,7 @@ proc do_function_calls {} {
gdb_test "p t_int_double(99, 99.0)" " = 1"
}
- if [support_complex_tests] {
+ if { [support_complex_tests] && !$skip_float_test } {
gdb_test "p t_float_complex_values(fc1, fc2)" " = 1"
gdb_test "p t_float_complex_values(fc3, fc4)" " = 0"
--
1.9.1
next reply other threads:[~2016-10-04 14:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 14:34 Yao Qi [this message]
2016-10-04 18:49 ` Pedro Alves
[not found] ` <86wphmaox5.fsf@gmail.com>
2016-10-05 14:07 ` Pedro Alves
2016-10-05 16:06 ` Yao Qi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475591646-9783-1-git-send-email-yao.qi@linaro.org \
--to=qiyaoltc@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox