You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.7 KiB

11 months ago
  1. ceedling-bullseye
  2. =================
  3. # Plugin Overview
  4. Plugin for integrating Bullseye code coverage tool into Ceedling projects.
  5. This plugin requires a working license to Bullseye code coverage tools. The tools
  6. must be within the path or the path should be added to the environment in the
  7. `project.yml file`.
  8. ## Configuration
  9. The bullseye plugin supports configuration options via your `project.yml` provided
  10. by Ceedling. The following is a typical configuration example:
  11. ```
  12. :bullseye:
  13. :auto_license: TRUE
  14. :plugins:
  15. :bullseye_lib_path: []
  16. :paths:
  17. :bullseye_toolchain_include: []
  18. :tools:
  19. :bullseye_instrumentation:
  20. :executable: covc
  21. :arguments:
  22. - '--file $': ENVIRONMENT_COVFILE
  23. - -q
  24. - ${1}
  25. :bullseye_compiler:
  26. :executable: gcc
  27. :arguments:
  28. - -g
  29. - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR
  30. - -I"$": COLLECTION_PATHS_BULLSEYE_TOOLCHAIN_INCLUDE
  31. - -D$: COLLECTION_DEFINES_TEST_AND_VENDOR
  32. - -DBULLSEYE_COMPILER
  33. - -c "${1}"
  34. - -o "${2}"
  35. :bullseye_linker:
  36. :executable: gcc
  37. :arguments:
  38. - ${1}
  39. - -o ${2}
  40. - -L$: PLUGINS_BULLSEYE_LIB_PATH
  41. - -lcov
  42. :bullseye_fixture:
  43. :executable: ${1}
  44. :bullseye_report_covsrc:
  45. :executable: covsrc
  46. :arguments:
  47. - '--file $': ENVIRONMENT_COVFILE
  48. - -q
  49. - -w140
  50. :bullseye_report_covfn:
  51. :executable: covfn
  52. :stderr_redirect: :auto
  53. :arguments:
  54. - '--file $': ENVIRONMENT_COVFILE
  55. - --width 120
  56. - --no-source
  57. - '"${1}"'
  58. :bullseye_browser:
  59. :executable: CoverageBrowser
  60. :background_exec: :auto
  61. :optional: TRUE
  62. :arguments:
  63. - '"$"': ENVIRONMENT_COVFILE
  64. ```
  65. ## Example Usage
  66. ```sh
  67. ceedling bullseye:all utils:bullseye
  68. ```