Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/cJSON/blob/master/tests/unity/extras/eclipse/error_parsers.txt # cJSON [Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `cJSON / tests / unity / extras / eclipse / error_parsers.txt` 26 lines ยท 1139 bytes Raw Blame History 1 Eclipse error parsers 2 ===================== 3 4 These are a godsend for extracting & quickly navigating to 5 warnings & error messages from console output. Unfortunately 6 I don't know how to write an Eclipse plugin so you'll have 7 to add them manually. 8 9 To add a console parser to Eclipse, go to Window --> Preferences 10 --> C/C++ --> Build --> Settings. Click on the 'Error Parsers' 11 tab and then click the 'Add...' button. See the table below for 12 the parser fields to add. 13 14 Eclipse will only parse the console output during a build, so 15 running your unit tests must be part of your build process. 16 Either add this to your make/rakefile, or add it as a post- 17 build step in your Eclipse project settings. 18 19 20 Unity unit test error parsers 21 ----------------------------- 22 Severity Pattern File Line Description 23 ------------------------------------------------------------------------------- 24 Error (\.+)(.*?):(\d+):(.*?):FAIL: (.*) $2 $3 $5 25 Warning (\.+)(.*?):(\d+):(.*?):IGNORE: (.*) $2 $3 $5 26 Warning (\.+)(.*?):(\d+):(.*?):IGNORE\s*$ $2 $3 Ignored test