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.

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