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.

116 lines
2.8 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. - +:tests/**
  28. - -:tests/support
  29. :source:
  30. - src/createCustomer.*
  31. - src/customerLogin.*
  32. - src/helperFunctions.*
  33. - src/error.*
  34. - src/createEmployeeAccount.*
  35. - src/employeeLogin.*
  36. - src/mainMenu.*
  37. - src/showGeneralInfoEmployee.*
  38. - src/calculatorAdd.*
  39. - src/calculatorDivide.*
  40. - src/calculatorFactorial.*
  41. - src/calculatorGetUserInput.*
  42. - src/calculatorGetUserInputFactorial.*
  43. - src/calculatorMultiply.*
  44. - src/calculatorSubtract.*
  45. - src/displazMenuCalculator.*
  46. :support:
  47. - tests/support
  48. :libraries: []
  49. :defines:
  50. # in order to add common defines:
  51. # 1) remove the trailing [] from the :common: section
  52. # 2) add entries to the :common: section (e.g. :test: has TEST defined)
  53. :common: &common_defines []
  54. :test:
  55. - *common_defines
  56. - TEST
  57. :test_preprocess:
  58. - *common_defines
  59. - TEST
  60. :cmock:
  61. :mock_prefix: mock_
  62. :when_no_prototypes: :warn
  63. :enforce_strict_ordering: TRUE
  64. :plugins:
  65. - :ignore
  66. - :callback
  67. :treat_as:
  68. uint8: HEX8
  69. uint16: HEX16
  70. uint32: UINT32
  71. int8: INT8
  72. bool: UINT8
  73. # Add -gcov to the plugins list to make sure of the gcov plugin
  74. # You will need to have gcov and gcovr both installed to make it work.
  75. # For more information on these options, see docs in plugins/gcov
  76. :gcov:
  77. :reports:
  78. - HtmlDetailed
  79. :gcovr:
  80. :html_medium_threshold: 75
  81. :html_high_threshold: 90
  82. #:tools:
  83. # Ceedling defaults to using gcc for compiling, linking, etc.
  84. # As [:tools] is blank, gcc will be used (so long as it's in your system path)
  85. # See documentation to configure a given toolchain for use
  86. # LIBRARIES
  87. # These libraries are automatically injected into the build process. Those specified as
  88. # common will be used in all types of builds. Otherwise, libraries can be injected in just
  89. # tests or releases. These options are MERGED with the options in supplemental yaml files.
  90. :libraries:
  91. :placement: :end
  92. :flag: "-l${1}"
  93. :path_flag: "-L ${1}"
  94. :system: [] # for example, you might list 'm' to grab the math library
  95. :test: []
  96. :release: []
  97. :plugins:
  98. :load_paths:
  99. - "#{Ceedling.load_path}"
  100. :enabled:
  101. - stdout_pretty_tests_report
  102. - module_generator
  103. ...