diff options
Diffstat (limited to 'src/systemc/tests/systemc/kernel')
3 files changed, 6 insertions, 4 deletions
diff --git a/src/systemc/tests/systemc/kernel/phase_callbacks/test04/register_phase_callbacks.cpp b/src/systemc/tests/systemc/kernel/phase_callbacks/test04/register_phase_callbacks.cpp index 5ed6dd4f9..a66c6a3f9 100644 --- a/src/systemc/tests/systemc/kernel/phase_callbacks/test04/register_phase_callbacks.cpp +++ b/src/systemc/tests/systemc/kernel/phase_callbacks/test04/register_phase_callbacks.cpp @@ -212,7 +212,7 @@ private: int sc_main(int, char*[]) { // don't run without callbacks enabled - sc_report_handler::set_actions( SC_ID_PHASE_CALLBACKS_UNSUPPORTED_ + sc_report_handler::set_actions( "simulation phase callbacks not enabled" , SC_DEFAULT_ERROR_ACTIONS ); phase_tracer pt; diff --git a/src/systemc/tests/systemc/kernel/process_control/reset/method_reset_throw/sc_method_reset_throw.cpp b/src/systemc/tests/systemc/kernel/process_control/reset/method_reset_throw/sc_method_reset_throw.cpp index c6596f0c7..ab7718a1e 100644 --- a/src/systemc/tests/systemc/kernel/process_control/reset/method_reset_throw/sc_method_reset_throw.cpp +++ b/src/systemc/tests/systemc/kernel/process_control/reset/method_reset_throw/sc_method_reset_throw.cpp @@ -93,7 +93,9 @@ protected: int sc_main (int, char*[]) { - sc_report_handler::set_actions( SC_ID_DISABLE_WILL_ORPHAN_PROCESS_, SC_DO_NOTHING ); + sc_report_handler::set_actions( "disable() or dont_initialize() " + "called on process with no static sensitivity, it will be orphaned", + SC_DO_NOTHING ); sctop top1("Top1"); sc_start(10, SC_NS); return 0; diff --git a/src/systemc/tests/systemc/kernel/sc_time/test19/test19.cpp b/src/systemc/tests/systemc/kernel/sc_time/test19/test19.cpp index c7a7f357c..4e62c1091 100644 --- a/src/systemc/tests/systemc/kernel/sc_time/test19/test19.cpp +++ b/src/systemc/tests/systemc/kernel/sc_time/test19/test19.cpp @@ -59,8 +59,8 @@ void check_time( const sc_time& t, sc_time_unit tu, const std::string & str ) int sc_main( int, char*[] ) { - sc_report_handler::set_actions( SC_ID_SET_TIME_RESOLUTION_, SC_DO_NOTHING ); - sc_report_handler::set_actions( SC_ID_TIME_CONVERSION_FAILED_, SC_DISPLAY ); + sc_report_handler::set_actions( "set time resolution failed", SC_DO_NOTHING ); + sc_report_handler::set_actions( "sc_time conversion failed", SC_DISPLAY ); unsigned resolutions[] = { 100, 10, 1 }; sc_time_unit resunit = SC_FS; |