This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix typo in ftrace.exp condition testing
- From: Antoine Tremblay <hexa at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 12 Apr 2016 19:30:38 -0000
- Subject: [binutils-gdb] Fix typo in ftrace.exp condition testing
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8ce09462959bbc2af15e8088c5e54c8668cf8ccb
commit 8ce09462959bbc2af15e8088c5e54c8668cf8ccb
Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Date: Tue Apr 12 14:43:12 2016 -0400
Fix typo in ftrace.exp condition testing
This obvious patch replaces "ond" wiht "cond" as the test prefix for
conditional tests.
gdb/testsuite/ChangeLog:
* gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
Diff:
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/gdb.trace/ftrace.exp | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 67e58cc..d3d400b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
+
2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
* gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp
index 23e7d1e..d7ff3cb 100644
--- a/gdb/testsuite/gdb.trace/ftrace.exp
+++ b/gdb/testsuite/gdb.trace/ftrace.exp
@@ -180,7 +180,7 @@ proc test_fast_tracepoints {} {
# LIST is a list of expected values of VAR should be collected
# based on the CONDEXP.
proc test_ftrace_condition { condexp var list } \
-{ with_test_prefix "ond $condexp" \
+{ with_test_prefix "cond $condexp" \
{
global executable
global hex