From: Gabe Black Date: Fri, 17 Aug 2018 02:10:27 +0000 (-0700) Subject: systemc: Make a test use cout for all its messages. X-Git-Tag: v19.0.0.0~1753 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0150b6fc88abd38bc8f485b0bb47a6a4ef7d3373;p=gem5.git systemc: Make a test use cout for all its messages. This makes them end up in simout so verify.py can find them when it's checking output. Change-Id: I2b7b276b3e1816a257f58b0cfb13487d6296e6fd Reviewed-on: https://gem5-review.googlesource.com/12216 Reviewed-by: Gabe Black Maintainer: Gabe Black --- diff --git a/src/systemc/tests/systemc/kernel/sc_start/sc_start_0/test1/test1.cpp b/src/systemc/tests/systemc/kernel/sc_start/sc_start_0/test1/test1.cpp index 7b2502d04..d1b345e59 100644 --- a/src/systemc/tests/systemc/kernel/sc_start/sc_start_0/test1/test1.cpp +++ b/src/systemc/tests/systemc/kernel/sc_start/sc_start_0/test1/test1.cpp @@ -111,7 +111,7 @@ int sc_main(int argc, char* argv[]) ACTION(sc_start(0, SC_NS),"sc_start(0, SC_NS)") ACTION(sc_start(0, SC_NS),"sc_start(0, SC_NS)") - cerr << "Program completed" << endl; + cout << "Program completed" << endl; return 0; }