Changeset 131 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/SelfTest/src/main.cpp
- Timestamp:
- Jul 8, 2009, 8:40:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/SelfTest/src/main.cpp
r88 r131 85 85 _nb_inst_retire_rob [i] = atoi(argv[x++]); 86 86 87 int _return = EXIT_SUCCESS; 87 88 try 88 89 { … … 114 115 catch (morpheo::ErrorMorpheo & error) 115 116 { 116 cout << "<" << name << "> : " << error.what (); 117 exit (EXIT_FAILURE); 118 } 119 catch (...) 120 { 121 cerr << "<" << name << "> : This test must generate a error" << endl; 122 exit (EXIT_FAILURE); 117 msg (_("<%s> :\n%s"),name.c_str(), error.what ()); 118 _return = EXIT_FAILURE; 123 119 } 124 120 125 return (EXIT_SUCCESS); 121 try 122 { 123 if (_return == EXIT_SUCCESS) 124 TEST_OK("OOO_Engine : no error"); 125 else 126 TEST_KO("OOO_Engine : a lot of error"); 127 } 128 catch (morpheo::ErrorMorpheo & error) 129 { 130 // msg (_("<%s> :\n%s"),name.c_str(), error.what ()); 131 _return = EXIT_FAILURE; 132 } 133 134 return (_return); 126 135 } 127 136
Note: See TracChangeset
for help on using the changeset viewer.