diff mbox

[3/5,v2] Add emit_less_unsigned test in trace-condition.exp

Message ID 1464375916-16369-3-git-send-email-antoine.tremblay@ericsson.com
State New
Headers show

Commit Message

Antoine Tremblay May 27, 2016, 7:05 p.m. UTC
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(+)

Comments

Pedro Alves May 30, 2016, 11:01 a.m. UTC | #1
On 05/27/2016 08:05 PM, Antoine Tremblay wrote:
> This patch adds coverage for emit_less_unsigned.
> 
> gdb/testsuite/ChangeLog:
> 
> 	* gdb.trace/trace-condition.exp: Add emit_less_unsigned test.

"tests" :-)

LGTM.

Thanks,
Pedro Alves
diff mbox

Patch

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