summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-08-16 19:10:27 -0700
committerGabe Black <gabeblack@google.com>2018-09-25 23:50:43 +0000
commit0150b6fc88abd38bc8f485b0bb47a6a4ef7d3373 (patch)
tree7178a18041f40d099eb6394e965ab71e5c7d708c /src
parentdf50b775cb04bb22fd583cee40af870f2c80b65e (diff)
downloadgem5-0150b6fc88abd38bc8f485b0bb47a6a4ef7d3373.tar.xz
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 <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/systemc/tests/systemc/kernel/sc_start/sc_start_0/test1/test1.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}