From: Antoine Tremblay <antoine.tremblay@ericsson.com>
To: <gdb-patches@sourceware.org>
Cc: Antoine Tremblay <antoine.tremblay@ericsson.com>
Subject: [PATCH 3/5 v2] Add emit_less_unsigned test in trace-condition.exp
Date: Fri, 27 May 2016 19:05:00 -0000 [thread overview]
Message-ID: <1464375916-16369-3-git-send-email-antoine.tremblay@ericsson.com> (raw)
In-Reply-To: <1464375916-16369-1-git-send-email-antoine.tremblay@ericsson.com>
This patch adds coverage for emit_less_unsigned.
gdb/testsuite/ChangeLog:
* gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
---
gdb/testsuite/gdb.trace/trace-condition.exp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gdb/testsuite/gdb.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp
index c4dc5fe..e179828 100644
--- a/gdb/testsuite/gdb.trace/trace-condition.exp
+++ b/gdb/testsuite/gdb.trace/trace-condition.exp
@@ -151,6 +151,7 @@ foreach trace_command { "trace" "ftrace" } {
test_tracepoints $trace_command "(0xaaaaaaaa ^ 0x55555555) == 0xffffffff" 10
test_tracepoints $trace_command "~0xaaaaaaaa == 0x55555555" 10
test_tracepoints $trace_command "21 < 42" 10
+ test_tracepoints $trace_command "21U < 42U" 10
test_tracepoints $trace_command "42 <= 42" 10
test_tracepoints $trace_command "42 >= 42" 10
test_tracepoints $trace_command "42 > 21" 10
@@ -175,6 +176,7 @@ foreach trace_command { "trace" "ftrace" } {
test_tracepoints $trace_command "(0xaaaaaaaa ^ 0x55555555) == 0xaaaaaaaa" 0
test_tracepoints $trace_command "~0xaaaaaaaa == 0x11111111" 0
test_tracepoints $trace_command "61 < 42" 0
+ test_tracepoints $trace_command "61U < 42U" 0
test_tracepoints $trace_command "42 <= 11" 0
test_tracepoints $trace_command "11 >= 42" 0
test_tracepoints $trace_command "11 > 21" 0
--
2.8.1
next prev parent reply other threads:[~2016-05-27 19:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 19:05 [PATCH 1/5] Add counter-cases for trace-condition.exp tests Antoine Tremblay
2016-05-27 19:05 ` [PATCH 2/5 v2] Move trace conditions tests from ftrace.exp to trace-condition.exp Antoine Tremblay
2016-05-30 11:02 ` Pedro Alves
2016-05-27 19:05 ` Antoine Tremblay [this message]
2016-05-30 11:02 ` [PATCH 3/5 v2] Add emit_less_unsigned test in trace-condition.exp Pedro Alves
2016-05-27 19:05 ` [PATCH 4/5 v2] Add variable length tests for emit_ref " Antoine Tremblay
2016-05-30 11:02 ` Pedro Alves
2016-05-27 19:05 ` [PATCH 5/5 v2] Add tests for 64bit values " Antoine Tremblay
2016-05-30 11:02 ` Pedro Alves
2016-05-30 14:50 ` [PATCH 5/5 v3] " Antoine Tremblay
2016-05-30 15:06 ` Pedro Alves
2016-05-30 16:55 ` Antoine Tremblay
2016-05-30 10:50 ` [PATCH 1/5] Add counter-cases for trace-condition.exp tests Pedro Alves
2016-05-30 14:20 ` Antoine Tremblay
2016-05-30 14:48 ` [PATCH 1/5 v3] " Antoine Tremblay
2016-05-30 15:06 ` Pedro Alves
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=1464375916-16369-3-git-send-email-antoine.tremblay@ericsson.com \
--to=antoine.tremblay@ericsson.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