From 16fa8d7cc8c92f5ab879e4cf9c6c0bbb3567860f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 24 May 2018 01:37:55 -0700 Subject: systemc: Import tests from the Accellera systemc distribution. Change-Id: Iad76b398949a55d768a34d027a2d8e3739953da6 Reviewed-on: https://gem5-review.googlesource.com/10845 Reviewed-by: Giacomo Travaglini Maintainer: Gabe Black --- .../utils/sc_report/log_file/golden/log_file.log | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/systemc/tests/systemc/utils/sc_report/log_file/golden/log_file.log (limited to 'src/systemc/tests/systemc/utils/sc_report/log_file/golden/log_file.log') diff --git a/src/systemc/tests/systemc/utils/sc_report/log_file/golden/log_file.log b/src/systemc/tests/systemc/utils/sc_report/log_file/golden/log_file.log new file mode 100644 index 000000000..2b1399285 --- /dev/null +++ b/src/systemc/tests/systemc/utils/sc_report/log_file/golden/log_file.log @@ -0,0 +1,85 @@ +SystemC Simulation + +Info: ID1: before log is opened + +Warning: ID1: before log is opened +In file: + +Info: ID1: after log is opened + +Warning: ID2: after log is opened +In file: + +Error: ID1: after log is opened +In file: + +Fatal: ID2: after log is opened +In file: + +Error: ID1: after log is opened +In file: + +Info: ID1: after log is opened + +Warning: ID2: after log is opened +In file: +In process: uut.method1 @ 20 ns + +Error: ID1: after log is opened +In file: +In process: uut.method1 @ 20 ns + +Fatal: ID2: after log is opened +In file: +In process: uut.method1 @ 20 ns + +Info: ID2: after log is opened + +Warning: ID1: after log is opened +In file: +In process: uut.thread1 @ 30 ns + +Error: ID2: after log is opened +In file: +In process: uut.thread1 @ 30 ns + +Fatal: ID1: after log is opened +In file: +In process: uut.thread1 @ 30 ns + +Info: ID1: after log is closed + +Warning: ID1: after log is closed +In file: + + +Dump the logfile +0 s: Info: ID1: after log is opened +0 s: Warning: ID2: after log is opened +In file: +0 s: Error: ID1: after log is opened +In file: +0 s: Fatal: ID2: after log is opened +In file: +10 ns: Error: ID1: after log is opened +In file: +20 ns: Info: ID1: after log is opened +20 ns: Warning: ID2: after log is opened +In file: +In process: uut.method1 @ 20 ns +20 ns: Error: ID1: after log is opened +In file: +In process: uut.method1 @ 20 ns +20 ns: Fatal: ID2: after log is opened +In file: +In process: uut.method1 @ 20 ns +30 ns: Info: ID2: after log is opened +30 ns: Warning: ID1: after log is opened +In file: +In process: uut.thread1 @ 30 ns +30 ns: Error: ID2: after log is opened +In file: +In process: uut.thread1 @ 30 ns +30 ns: Fatal: ID1: after log is opened +In file: +In process: uut.thread1 @ 30 ns -- cgit v1.2.3