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.

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