Changeset 83 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/src/main.cpp
- Timestamp:
- May 9, 2008, 8:00:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/src/main.cpp
r82 r83 14 14 err (_("<Usage> %s name_instance list_params.\n"),argv[0]); 15 15 err (_("list_params is :\n")); 16 err (_(" * ()\n"));16 err (_(" * ()\n")); 17 17 18 18 exit (1); … … 31 31 32 32 string name = argv[x++]; 33 //const uint32_t size_data = atoi(argv[x++]);34 //const uint32_t nb_port = atoi(argv[x++]);35 33 36 34 int _return = EXIT_SUCCESS; … … 38 36 { 39 37 morpheo::behavioural::@NAMESPACE_USE::Parameters * param = new morpheo::behavioural::@NAMESPACE_USE::Parameters 40 (//size_data, 41 //nb_port 38 ( 42 39 ); 43 40 … … 51 48 _return = EXIT_FAILURE; 52 49 } 53 catch (...) 50 51 try 54 52 { 55 err (_("<%s> : This test must generate a error.\n"),name.c_str()); 53 if (_return == EXIT_SUCCESS) 54 TEST_OK("@COMPONENT : no error"); 55 else 56 TEST_KO("@COMPONENT : a lot of error"); 57 } 58 catch (morpheo::ErrorMorpheo & error) 59 { 60 msg (_("<%s> :\n%s"),name.c_str(), error.what ()); 56 61 _return = EXIT_FAILURE; 57 62 }
Note: See TracChangeset
for help on using the changeset viewer.