dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH 3/3: fix clone_output


From: Jacob Bachmeyer
Subject: PATCH 3/3: fix clone_output
Date: Wed, 09 Jan 2019 22:14:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

It turns out that clone_output was not actually sending errors to the error stream. Oops. This patch fixes the bug.

----
ChangeLog entry:
        * lib/framework.exp (clone_output): Actually send errors to the
        error stream; bug found while improving testsuite.
---
lib/framework.exp |    4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/framework.exp b/lib/framework.exp
index f48d3f5..00aa716 100644
--- a/lib/framework.exp
+++ b/lib/framework.exp
@@ -307,7 +307,9 @@ proc clone_output { message } {
                send_log -- "$message\n"
            }
        }
-       {"ERROR:" "WARNING:" "NOTE:"} {
+       "ERROR:" -
+       "WARNING:" -
+       "NOTE:" {
            send_error -- "$message\n"
            return $message
        }
----


-- Jacob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]