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.

104 lines
2.4 KiB

  1. ---
  2. # Notes:
  3. # Sample project C code is not presently written to produce a release artifact.
  4. # As such, release build options are disabled.
  5. # This sample, therefore, only demonstrates running a collection of unit tests.
  6. :project:
  7. :use_exceptions: FALSE
  8. :use_test_preprocessor: TRUE
  9. :use_auxiliary_dependencies: TRUE
  10. :build_root: build
  11. # :release_build: TRUE
  12. :test_file_prefix: test_
  13. :which_ceedling: gem
  14. :ceedling_version: 0.31.1
  15. :default_tasks:
  16. - test:all
  17. #:test_build:
  18. # :use_assembly: TRUE
  19. #:release_build:
  20. # :output: MyApp.out
  21. # :use_assembly: FALSE
  22. :environment:
  23. :extension:
  24. :executable: .out
  25. :paths:
  26. :test:
  27. - +:test/**
  28. - -:test/support
  29. :source:
  30. - src/createCustomer.*
  31. - src/customerLogin.*
  32. - src/stringManipulation.*
  33. - src/error.*
  34. :support:
  35. - test/support
  36. :libraries: []
  37. :defines:
  38. # in order to add common defines:
  39. # 1) remove the trailing [] from the :common: section
  40. # 2) add entries to the :common: section (e.g. :test: has TEST defined)
  41. :common: &common_defines []
  42. :test:
  43. - *common_defines
  44. - TEST
  45. :test_preprocess:
  46. - *common_defines
  47. - TEST
  48. :cmock:
  49. :mock_prefix: mock_
  50. :when_no_prototypes: :warn
  51. :enforce_strict_ordering: TRUE
  52. :plugins:
  53. - :ignore
  54. - :callback
  55. :treat_as:
  56. uint8: HEX8
  57. uint16: HEX16
  58. uint32: UINT32
  59. int8: INT8
  60. bool: UINT8
  61. # Add -gcov to the plugins list to make sure of the gcov plugin
  62. # You will need to have gcov and gcovr both installed to make it work.
  63. # For more information on these options, see docs in plugins/gcov
  64. :gcov:
  65. :reports:
  66. - HtmlDetailed
  67. :gcovr:
  68. :html_medium_threshold: 75
  69. :html_high_threshold: 90
  70. #:tools:
  71. # Ceedling defaults to using gcc for compiling, linking, etc.
  72. # As [:tools] is blank, gcc will be used (so long as it's in your system path)
  73. # See documentation to configure a given toolchain for use
  74. # LIBRARIES
  75. # These libraries are automatically injected into the build process. Those specified as
  76. # common will be used in all types of builds. Otherwise, libraries can be injected in just
  77. # tests or releases. These options are MERGED with the options in supplemental yaml files.
  78. :libraries:
  79. :placement: :end
  80. :flag: "-l${1}"
  81. :path_flag: "-L ${1}"
  82. :system: [] # for example, you might list 'm' to grab the math library
  83. :test: []
  84. :release: []
  85. :plugins:
  86. :load_paths:
  87. - "#{Ceedling.load_path}"
  88. :enabled:
  89. - stdout_pretty_tests_report
  90. - module_generator
  91. ...