This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed/obv] Fix typo in ftrace.exp condition testing
- From: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- Date: Tue, 12 Apr 2016 15:32:29 -0400
- Subject: [pushed/obv] Fix typo in ftrace.exp condition testing
- Authentication-results: sourceware.org; auth=none
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".
---
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
--
2.7.3