19750e409Sopenharmony_ciEclipse error parsers 29750e409Sopenharmony_ci===================== 39750e409Sopenharmony_ci 49750e409Sopenharmony_ciThese are a godsend for extracting & quickly navigating to 59750e409Sopenharmony_ciwarnings & error messages from console output. Unforunately 69750e409Sopenharmony_ciI don't know how to write an Eclipse plugin so you'll have 79750e409Sopenharmony_cito add them manually. 89750e409Sopenharmony_ci 99750e409Sopenharmony_ciTo add a console parser to Eclipse, go to Window --> Preferences 109750e409Sopenharmony_ci--> C/C++ --> Build --> Settings. Click on the 'Error Parsers' 119750e409Sopenharmony_citab and then click the 'Add...' button. See the table below for 129750e409Sopenharmony_cithe parser fields to add. 139750e409Sopenharmony_ci 149750e409Sopenharmony_ciEclipse will only parse the console output during a build, so 159750e409Sopenharmony_cirunning your unit tests must be part of your build process. 169750e409Sopenharmony_ciEither add this to your make/rakefile, or add it as a post- 179750e409Sopenharmony_cibuild step in your Eclipse project settings. 189750e409Sopenharmony_ci 199750e409Sopenharmony_ci 209750e409Sopenharmony_ciUnity unit test error parsers 219750e409Sopenharmony_ci----------------------------- 229750e409Sopenharmony_ciSeverity Pattern File Line Description 239750e409Sopenharmony_ci------------------------------------------------------------------------------- 249750e409Sopenharmony_ciError (\.+)(.*?):(\d+):(.*?):FAIL: (.*) $2 $3 $5 259750e409Sopenharmony_ciWarning (\.+)(.*?):(\d+):(.*?):IGNORE: (.*) $2 $3 $5 269750e409Sopenharmony_ciWarning (\.+)(.*?):(\d+):(.*?):IGNORE\s*$ $2 $3 Ignored test 27