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.

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