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

_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to