ceedling 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.vim +1 -0
- data/Gemfile +3 -0
- data/LICENSE +19 -0
- data/Rakefile +18 -0
- data/bin/ceedling +39 -0
- data/ceedling.gemspec +23 -0
- data/lib/ceedling/version.rb +10 -0
- data/lib/ceedling/version.rb.erb +10 -0
- data/lib/ceedling.rb +5 -0
- data/new_project_template/build/.gitkeep +0 -0
- data/new_project_template/project.yml +65 -0
- data/new_project_template/rakefile.rb +4 -0
- data/new_project_template/src/.gitkeep +0 -0
- data/new_project_template/test/.gitkeep +0 -0
- data/new_project_template/test/support/.gitkeep +0 -0
- data/new_project_template/vendor/ceedling/config/test_environment.rb +12 -0
- data/new_project_template/vendor/ceedling/docs/Ceedling Packet.odt +0 -0
- data/new_project_template/vendor/ceedling/docs/Ceedling Packet.pdf +0 -0
- data/new_project_template/vendor/ceedling/docs/CeedlingLogo.png +0 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v4.yml +91 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v5.yml +80 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/project.yml +65 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/rakefile.rb +5 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.c +42 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardware.c +27 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardware.h +11 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardwareConfigurator.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardwareConfigurator.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcModel.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcTemperatureSensor.c +51 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcTemperatureSensor.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Executor.c +25 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Executor.h +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/IntrinsicsWrapper.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/IntrinsicsWrapper.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Main.c +46 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Main.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Model.c +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Model.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/ModelConfig.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TaskScheduler.c +72 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TaskScheduler.h +11 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.c +27 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureFilter.c +39 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureFilter.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConductor.c +15 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConductor.h +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConfigurator.c +51 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConfigurator.h +15 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerHardware.c +15 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerHardware.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptConfigurator.c +55 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptHandler.c +25 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptHandler.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerModel.c +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerModel.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Types.h +90 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConductor.c +21 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConductor.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConfigurator.c +39 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartHardware.c +22 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartHardware.h +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartModel.c +34 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartModel.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartPutChar.c +16 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartPutChar.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartTransmitBufferStatus.c +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartTransmitBufferStatus.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcConductor.c +121 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcHardware.c +44 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestExecutor.c +36 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestMain.c +24 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestModel.c +20 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTaskScheduler.c +104 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureCalculator.c +33 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureFilter.c +69 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerConductor.c +32 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerHardware.c +26 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerModel.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +21 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartConductor.c +40 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartHardware.c +36 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartModel.c +40 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.c +12 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.h +8 -0
- data/new_project_template/vendor/ceedling/lib/cacheinator.rb +42 -0
- data/new_project_template/vendor/ceedling/lib/cacheinator_helper.rb +12 -0
- data/new_project_template/vendor/ceedling/lib/cmock_builder.rb +15 -0
- data/new_project_template/vendor/ceedling/lib/configurator.rb +254 -0
- data/new_project_template/vendor/ceedling/lib/configurator_builder.rb +408 -0
- data/new_project_template/vendor/ceedling/lib/configurator_plugins.rb +96 -0
- data/new_project_template/vendor/ceedling/lib/configurator_setup.rb +114 -0
- data/new_project_template/vendor/ceedling/lib/configurator_validator.rb +154 -0
- data/new_project_template/vendor/ceedling/lib/constants.rb +66 -0
- data/new_project_template/vendor/ceedling/lib/defaults.rb +349 -0
- data/new_project_template/vendor/ceedling/lib/dependinator.rb +92 -0
- data/new_project_template/vendor/ceedling/lib/file_finder.rb +132 -0
- data/new_project_template/vendor/ceedling/lib/file_finder_helper.rb +54 -0
- data/new_project_template/vendor/ceedling/lib/file_path_utils.rb +177 -0
- data/new_project_template/vendor/ceedling/lib/file_system_utils.rb +59 -0
- data/new_project_template/vendor/ceedling/lib/file_wrapper.rb +74 -0
- data/new_project_template/vendor/ceedling/lib/generator.rb +131 -0
- data/new_project_template/vendor/ceedling/lib/generator_test_results.rb +90 -0
- data/new_project_template/vendor/ceedling/lib/generator_test_results_sanity_checker.rb +62 -0
- data/new_project_template/vendor/ceedling/lib/generator_test_runner.rb +206 -0
- data/new_project_template/vendor/ceedling/lib/loginator.rb +31 -0
- data/new_project_template/vendor/ceedling/lib/makefile.rb +46 -0
- data/new_project_template/vendor/ceedling/lib/objects.yml +278 -0
- data/new_project_template/vendor/ceedling/lib/plugin.rb +63 -0
- data/new_project_template/vendor/ceedling/lib/plugin_manager.rb +85 -0
- data/new_project_template/vendor/ceedling/lib/plugin_manager_helper.rb +19 -0
- data/new_project_template/vendor/ceedling/lib/plugin_reportinator.rb +75 -0
- data/new_project_template/vendor/ceedling/lib/plugin_reportinator_helper.rb +52 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator.rb +43 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_extractor.rb +27 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_file_handler.rb +21 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_helper.rb +46 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_includes_handler.rb +55 -0
- data/new_project_template/vendor/ceedling/lib/project_config_manager.rb +38 -0
- data/new_project_template/vendor/ceedling/lib/project_file_loader.rb +64 -0
- data/new_project_template/vendor/ceedling/lib/rake_utils.rb +17 -0
- data/new_project_template/vendor/ceedling/lib/rake_wrapper.rb +31 -0
- data/new_project_template/vendor/ceedling/lib/rakefile.rb +60 -0
- data/new_project_template/vendor/ceedling/lib/release_invoker.rb +29 -0
- data/new_project_template/vendor/ceedling/lib/release_invoker_helper.rb +16 -0
- data/new_project_template/vendor/ceedling/lib/reportinator.rb +9 -0
- data/new_project_template/vendor/ceedling/lib/rules_cmock.rake +9 -0
- data/new_project_template/vendor/ceedling/lib/rules_preprocess.rake +26 -0
- data/new_project_template/vendor/ceedling/lib/rules_release.rake +63 -0
- data/new_project_template/vendor/ceedling/lib/rules_release_aux_dependencies.rake +15 -0
- data/new_project_template/vendor/ceedling/lib/rules_tests.rake +49 -0
- data/new_project_template/vendor/ceedling/lib/rules_tests_aux_dependencies.rake +15 -0
- data/new_project_template/vendor/ceedling/lib/setupinator.rb +45 -0
- data/new_project_template/vendor/ceedling/lib/stream_wrapper.rb +20 -0
- data/new_project_template/vendor/ceedling/lib/streaminator.rb +41 -0
- data/new_project_template/vendor/ceedling/lib/streaminator_helper.rb +15 -0
- data/new_project_template/vendor/ceedling/lib/system_wrapper.rb +67 -0
- data/new_project_template/vendor/ceedling/lib/task_invoker.rb +85 -0
- data/new_project_template/vendor/ceedling/lib/tasks_base.rake +104 -0
- data/new_project_template/vendor/ceedling/lib/tasks_filesystem.rake +89 -0
- data/new_project_template/vendor/ceedling/lib/tasks_release.rake +22 -0
- data/new_project_template/vendor/ceedling/lib/tasks_tests.rake +49 -0
- data/new_project_template/vendor/ceedling/lib/tasks_vendor.rake +36 -0
- data/new_project_template/vendor/ceedling/lib/test_includes_extractor.rb +81 -0
- data/new_project_template/vendor/ceedling/lib/test_invoker.rb +72 -0
- data/new_project_template/vendor/ceedling/lib/test_invoker_helper.rb +41 -0
- data/new_project_template/vendor/ceedling/lib/tool_executor.rb +178 -0
- data/new_project_template/vendor/ceedling/lib/tool_executor_helper.rb +57 -0
- data/new_project_template/vendor/ceedling/lib/verbosinator.rb +10 -0
- data/new_project_template/vendor/ceedling/lib/yaml_wrapper.rb +16 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.rb +44 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.yml +4 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.rb +108 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.yml +4 -0
- data/new_project_template/vendor/ceedling/plugins/xml_tests_report/xml_tests_report.rb +106 -0
- data/new_project_template/vendor/ceedling/rakefile.rb +59 -0
- data/new_project_template/vendor/ceedling/rakefile_helper.rb +23 -0
- data/new_project_template/vendor/ceedling/release/build.info +1 -0
- data/new_project_template/vendor/ceedling/release/version.info +1 -0
- data/new_project_template/vendor/ceedling/test/integration/paths.yml +17 -0
- data/new_project_template/vendor/ceedling/test/integration/paths_test.rb +80 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_aux_dependencies_test.rb +75 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_cmock_test.rb +74 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_preprocess_test.rb +178 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_test.rb +268 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_tasks_test.rb +103 -0
- data/new_project_template/vendor/ceedling/test/integration_test_helper.rb +34 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules_aux_dependencies.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules_cmock.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules_preprocess.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_tasks.rb +10 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_dependencies.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_kitchen_sink.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_mocks.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_preprocess.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_simple.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_test.rb +78 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/include/a_file.h +2 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/include/other_stuff.h +2 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/include/stuff.h +3 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/source/a_file.c +9 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_a_file.c +41 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_no_file.c +14 -0
- data/new_project_template/vendor/ceedling/test/system/project_mocks.yml +43 -0
- data/new_project_template/vendor/ceedling/test/system/project_mocks_test.rb +38 -0
- data/new_project_template/vendor/ceedling/test/system/project_simple.yml +36 -0
- data/new_project_template/vendor/ceedling/test/system/project_simple_test.rb +39 -0
- data/new_project_template/vendor/ceedling/test/system/rule_mocks_test.rb +44 -0
- data/new_project_template/vendor/ceedling/test/system/rule_runners_test.rb +44 -0
- data/new_project_template/vendor/ceedling/test/system/simple/include/other_stuff.h +2 -0
- data/new_project_template/vendor/ceedling/test/system/simple/include/stuff.h +3 -0
- data/new_project_template/vendor/ceedling/test/system/simple/source/other_stuff.c +6 -0
- data/new_project_template/vendor/ceedling/test/system/simple/source/stuff.c +7 -0
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_other_stuff.c +30 -0
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_stuff.c +51 -0
- data/new_project_template/vendor/ceedling/test/system_test_helper.rb +73 -0
- data/new_project_template/vendor/ceedling/test/test_helper.rb +93 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_builder_test.rb +571 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_helper_test.rb +234 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_test.rb +232 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_validator_test.rb +169 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/deep_merge_fix_test.rb +55 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/dependinator_test.rb +129 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_helper_test.rb +45 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_test.rb +114 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_path_utils_test.rb +97 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_system_utils_test.rb +21 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test.rb +187 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_results_test.rb +129 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_runner_test.rb +478 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_extractor_test.rb +729 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_file_handler_test.rb +38 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_helper_test.rb +156 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_includes_handler_test.rb +93 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_test.rb +57 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/project_file_loader_test.rb +142 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/setupinator_test.rb +45 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/streaminator_test.rb +49 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/task_invoker_test.rb +69 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/test_includes_extractor_test.rb +111 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_helper_test.rb +62 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_test.rb +47 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_helper_test.rb +100 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_test.rb +351 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/verbosinator_test.rb +65 -0
- data/new_project_template/vendor/ceedling/test/unit_test_helper.rb +16 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/Manifest.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors/reporttask.rb +158 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors.rb +76 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_tasks_test.rb +73 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_test.rb +50 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/license.txt +30 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/readme.txt +236 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.h +70 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/makefile +24 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/rakefile.rb +41 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/CExceptionConfig.h +27 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException.c +291 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException_Runner.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testunity.c +1510 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/config/production_environment.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/config/test_environment.rb +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/docs/CMock Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/docs/CMock Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/gcc.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v4.yml +91 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v5.yml +80 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile_helper.rb +274 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AT91SAM7X256.h +2556 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.c +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.h +11 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.c +27 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.h +13 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.c +25 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/ModelConfig.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.h +11 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.c +27 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.h +6 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.c +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.h +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.c +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.c +55 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.c +25 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Types.h +103 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.h +6 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.c +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.c +34 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.c +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.c +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcConductor.c +121 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardware.c +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardwareConfigurator.c +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcTemperatureSensor.c +47 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestExecutor.c +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestMain.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestModel.c +20 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTaskScheduler.c +104 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureCalculator.c +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureFilter.c +69 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConductor.c +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConfigurator.c +112 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerHardware.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptConfigurator.c +78 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptHandler.c +66 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerModel.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartBaudRateRegisterCalculator.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConductor.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConfigurator.c +77 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartHardware.c +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartModel.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartPutChar.c +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_FLASH.mac +71 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_RAM.mac +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_SIM.mac +67 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_FLASH.xcl +185 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_RAM.xcl +185 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/ioat91sam7x256.ddf +2259 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.dep +3691 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewd +1696 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewp +2581 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.eww +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X-EK.h +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.inc +2314 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.rdf +4704 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.tcl +3407 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +2268 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/ioat91sam7x256.h +4380 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/lib_AT91SAM7X256.h +4211 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.cspy.bat +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dbgdt +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dni +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.wsdt +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup.s79 +266 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup_SAM7.c +98 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_FLASH.mac +71 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_RAM.mac +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_SIM.mac +67 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_FLASH.icf +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_RAM.icf +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.dep +4204 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewd +1906 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewp +2426 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.eww +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X-EK.h +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +2268 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/lib_AT91SAM7X256.h +4211 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/project.h +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.cspy.bat +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dbgdt +5 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dni +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.wsdt +74 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X_FLASH_Debug.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.cspy.bat +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dbgdt +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dni +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.wsdt +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_Binary.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_FLASH_Debug.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_RAM_Debug.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup.s +299 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup_SAM7.c +98 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock.rb +65 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_config.rb +123 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_file_writer.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator.rb +196 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_array.rb +57 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_callback.rb +78 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_expect.rb +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_utils.rb +177 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_header_parser.rb +270 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_plugin_manager.rb +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_unityhelper_parser.rb +74 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile.rb +89 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile_helper.rb +383 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.c +186 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.h +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc.yml +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_32_with_64_support.yml +52 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_64.yml +53 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v4.yml +107 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v5.yml +92 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.c +280 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.yml +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.c +186 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.yml +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +35 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC_Runner.c +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/systest_generator.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/config.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/const.h +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/osek.h +275 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/parsing.h +47 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +340 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +381 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +382 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +123 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +87 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +247 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +108 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +173 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +170 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +208 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +82 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +153 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +52 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +91 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +59 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +222 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +277 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +221 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +82 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_ignores.yml +139 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/test_helper.rb +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.rb +45 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.yml +5 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_file_writer_test.rb +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_main_test.rb +412 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +114 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +190 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_expect_test.rb +206 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +159 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_utils_test.rb +291 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_header_parser_test.rb +1170 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +223 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Manifest.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors/reporttask.rb +158 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors.rb +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_tasks_test.rb +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_test.rb +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/license.txt +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/readme.txt +236 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.h +70 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/makefile +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/rakefile.rb +41 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +27 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException.c +291 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testunity.c +1510 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/CHANGES +78 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/LICENSE +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/README +70 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/Rakefile +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/config/environment.rb +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/assert_error.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/extend_test_unit.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/errors.rb +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation.rb +229 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation_builder.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expector.rb +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/method_cleanout.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock.rb +180 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock_control.rb +53 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/stubbing.rb +210 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/trapper.rb +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/utils.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock.rb +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/test_unit_before_after.rb +169 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc.rake +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc_options.rb +4 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/test.rake +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/assert_error_test.rb +52 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/auto_verify_test.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/direct_mock_usage_test.rb +396 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/hardmock_test.rb +434 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/stubbing_test.rb +479 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/test_helper.rb +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_builder_test.rb +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_test.rb +372 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expector_test.rb +57 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/method_cleanout_test.rb +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_control_test.rb +175 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_test.rb +279 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/test_unit_before_after_test.rb +452 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/trapper_test.rb +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/verify_error_test.rb +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testunity.c +1510 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/History.rdoc +19 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/README.rdoc +72 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/Rakefile +33 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Notes.txt +27 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Rakefile +15 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.erb +27 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.html +36 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.graffle +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.html +9 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.rb +12 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor.rb +127 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor_struct.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_spec.rb +407 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_struct_spec.rb +84 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/MIT-LICENSE +20 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/README +94 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/Rakefile +28 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/lib/deep_merge.rb +211 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/test/test_deep_merge.rb +553 -0
- data/new_project_template/vendor/ceedling/vendor/diy/History.txt +28 -0
- data/new_project_template/vendor/ceedling/vendor/diy/README.rdoc +233 -0
- data/new_project_template/vendor/ceedling/vendor/diy/Rakefile +33 -0
- data/new_project_template/vendor/ceedling/vendor/diy/TODO.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/diy/diy.gemspec +131 -0
- data/new_project_template/vendor/ceedling/vendor/diy/lib/diy/factory.rb +36 -0
- data/new_project_template/vendor/ceedling/vendor/diy/lib/diy.rb +403 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/car.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/chassis.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/diy_example.rb +26 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/engine.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/objects.yml +10 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/constructor.rb +119 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/diy_test.rb +608 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/factory_test.rb +79 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/broken_construction.yml +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/cat.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/extra_conflict.yml +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/heritage.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/needs_input.yml +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/the_cat_lineage.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_model.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_presenter.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_view.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/file_resolver.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/other_thing.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/simple.yml +11 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo/bar/qux.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/beef.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/dog.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/factory.yml +19 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/llama.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/pork.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/kitten.rb +13 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/objects.yml +13 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/toy.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/attached_things_builder.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/invalid_method.yml +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/method_extractor.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/nonsingleton_objects.yml +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/objects.yml +22 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing_builder.rb +25 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/things_builder.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/objects.yml +14 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/thinger.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/base.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/can.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/goat.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/objects.yml +12 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/paper.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/plane.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/shirt.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/wings.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/holder_thing.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/objects.yml +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/bird.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/cat.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/hardshell/turtle.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/lizard.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/bad_module_specified.yml +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/class_name_combine.yml +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/hello.txt +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/no_module_specified.yml +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/objects.yml +21 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/road.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/sky.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/subcontext.yml +22 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/air.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/fat_cat.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/objects.yml +19 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/pig.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/thread_spinner.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/tick.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/yard.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_model.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_presenter.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_view.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/data_source.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_model.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_presenter.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_view.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/giant_squid.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/krill.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/my_objects.yml +21 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/sub_sub_context_test.yml +27 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/test_helper.rb +55 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/CHANGES +78 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/LICENSE +7 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/README +70 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/Rakefile +8 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/config/environment.rb +12 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/assert_error.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/extend_test_unit.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/errors.rb +22 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation.rb +229 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation_builder.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expector.rb +26 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/method_cleanout.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock.rb +180 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock_control.rb +53 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/stubbing.rb +210 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/trapper.rb +31 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/utils.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock.rb +86 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/test_unit_before_after.rb +169 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc.rake +19 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc_options.rb +4 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/test.rake +22 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/assert_error_test.rb +52 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/auto_verify_test.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/direct_mock_usage_test.rb +396 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/hardmock_test.rb +434 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/stubbing_test.rb +479 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/test_helper.rb +43 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_builder_test.rb +19 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_test.rb +372 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expector_test.rb +57 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/method_cleanout_test.rb +36 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_control_test.rb +175 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_test.rb +279 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/test_unit_before_after_test.rb +452 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/trapper_test.rb +62 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/verify_error_test.rb +40 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testunity.c +1510 -0
- metadata +1058 -0
@@ -0,0 +1,383 @@
|
|
1
|
+
# ==========================================
|
2
|
+
# CMock Project - Automatic Mock Generation for C
|
3
|
+
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
+
# [Released under MIT License. Please refer to license.txt for details]
|
5
|
+
# ==========================================
|
6
|
+
|
7
|
+
require 'yaml'
|
8
|
+
require 'fileutils'
|
9
|
+
require './vendor/unity/auto/generate_test_runner'
|
10
|
+
require './vendor/unity/auto/unity_test_summary'
|
11
|
+
require './test/system/systest_generator'
|
12
|
+
require './vendor/unity/auto/colour_reporter.rb'
|
13
|
+
|
14
|
+
module RakefileHelpers
|
15
|
+
|
16
|
+
SYSTEST_GENERATED_FILES_PATH = 'test/system/generated/'
|
17
|
+
SYSTEST_BUILD_FILES_PATH = 'test/system/build/'
|
18
|
+
SYSTEST_COMPILE_MOCKABLES_PATH = 'test/system/test_compilation/'
|
19
|
+
C_EXTENSION = '.c'
|
20
|
+
RESULT_EXTENSION = '.result'
|
21
|
+
|
22
|
+
def load_configuration(config_file)
|
23
|
+
$cfg_file = config_file
|
24
|
+
$cfg = YAML.load(File.read('./targets/' + $cfg_file))
|
25
|
+
$colour_output = false unless $cfg['colour']
|
26
|
+
end
|
27
|
+
|
28
|
+
def configure_clean
|
29
|
+
CLEAN.include(SYSTEST_GENERATED_FILES_PATH + '*.*')
|
30
|
+
CLEAN.include(SYSTEST_BUILD_FILES_PATH + '*.*')
|
31
|
+
end
|
32
|
+
|
33
|
+
def configure_toolchain(config_file)
|
34
|
+
load_configuration(config_file)
|
35
|
+
configure_clean
|
36
|
+
end
|
37
|
+
|
38
|
+
def get_local_include_dirs
|
39
|
+
include_dirs = $cfg['compiler']['includes']['items'].dup
|
40
|
+
include_dirs.delete_if {|dir| dir.is_a?(Array)}
|
41
|
+
return include_dirs
|
42
|
+
end
|
43
|
+
|
44
|
+
def extract_headers(filename)
|
45
|
+
includes = []
|
46
|
+
lines = File.readlines(filename)
|
47
|
+
lines.each do |line|
|
48
|
+
m = line.match(/^\s*#include\s+\"\s*(.+\.[hH])\s*\"/)
|
49
|
+
if not m.nil?
|
50
|
+
includes << m[1]
|
51
|
+
end
|
52
|
+
end
|
53
|
+
return includes
|
54
|
+
end
|
55
|
+
|
56
|
+
def find_source_file(header, paths)
|
57
|
+
paths.each do |dir|
|
58
|
+
src_file = dir + header.ext(C_EXTENSION)
|
59
|
+
if (File.exists?(src_file))
|
60
|
+
return src_file
|
61
|
+
end
|
62
|
+
end
|
63
|
+
return nil
|
64
|
+
end
|
65
|
+
|
66
|
+
def squash(prefix, items)
|
67
|
+
result = ''
|
68
|
+
items.each { |item| result += " #{prefix}#{tackit(item)}" }
|
69
|
+
return result
|
70
|
+
end
|
71
|
+
|
72
|
+
def build_compiler_fields
|
73
|
+
command = tackit($cfg['compiler']['path'])
|
74
|
+
if $cfg['compiler']['defines']['items'].nil?
|
75
|
+
defines = ''
|
76
|
+
else
|
77
|
+
defines = squash($cfg['compiler']['defines']['prefix'], $cfg['compiler']['defines']['items'])
|
78
|
+
end
|
79
|
+
options = squash('', $cfg['compiler']['options'])
|
80
|
+
includes = squash($cfg['compiler']['includes']['prefix'], $cfg['compiler']['includes']['items'])
|
81
|
+
includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (for IAR)
|
82
|
+
return {:command => command, :defines => defines, :options => options, :includes => includes}
|
83
|
+
end
|
84
|
+
|
85
|
+
def compile(file, defines=[])
|
86
|
+
compiler = build_compiler_fields
|
87
|
+
cmd_str = "#{compiler[:command]}#{compiler[:defines]}#{defines.inject(''){|all, a| ' -D'+a+all }}#{compiler[:options]}#{compiler[:includes]} #{file} " +
|
88
|
+
"#{$cfg['compiler']['object_files']['prefix']}#{$cfg['compiler']['object_files']['destination']}" +
|
89
|
+
"#{File.basename(file, C_EXTENSION)}#{$cfg['compiler']['object_files']['extension']}"
|
90
|
+
execute(cmd_str)
|
91
|
+
end
|
92
|
+
|
93
|
+
def build_linker_fields
|
94
|
+
command = tackit($cfg['linker']['path'])
|
95
|
+
if $cfg['linker']['options'].nil?
|
96
|
+
options = ''
|
97
|
+
else
|
98
|
+
options = squash('', $cfg['linker']['options'])
|
99
|
+
end
|
100
|
+
if ($cfg['linker']['includes'].nil? || $cfg['linker']['includes']['items'].nil?)
|
101
|
+
includes = ''
|
102
|
+
else
|
103
|
+
includes = squash($cfg['linker']['includes']['prefix'], $cfg['linker']['includes']['items'])
|
104
|
+
end
|
105
|
+
includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (for IAR)
|
106
|
+
return {:command => command, :options => options, :includes => includes}
|
107
|
+
end
|
108
|
+
|
109
|
+
def link(exe_name, obj_list)
|
110
|
+
linker = build_linker_fields
|
111
|
+
cmd_str = "#{linker[:command]}#{linker[:options]}#{linker[:includes]} " +
|
112
|
+
(obj_list.map{|obj|"#{$cfg['linker']['object_files']['path']}#{obj} "}).uniq.join +
|
113
|
+
$cfg['linker']['bin_files']['prefix'] + ' ' +
|
114
|
+
$cfg['linker']['bin_files']['destination'] +
|
115
|
+
exe_name + $cfg['linker']['bin_files']['extension']
|
116
|
+
execute(cmd_str)
|
117
|
+
end
|
118
|
+
|
119
|
+
def build_simulator_fields
|
120
|
+
return nil if $cfg['simulator'].nil?
|
121
|
+
if $cfg['simulator']['path'].nil?
|
122
|
+
command = ''
|
123
|
+
else
|
124
|
+
command = (tackit($cfg['simulator']['path']) + ' ')
|
125
|
+
end
|
126
|
+
if $cfg['simulator']['pre_support'].nil?
|
127
|
+
pre_support = ''
|
128
|
+
else
|
129
|
+
pre_support = squash('', $cfg['simulator']['pre_support'])
|
130
|
+
end
|
131
|
+
if $cfg['simulator']['post_support'].nil?
|
132
|
+
post_support = ''
|
133
|
+
else
|
134
|
+
post_support = squash('', $cfg['simulator']['post_support'])
|
135
|
+
end
|
136
|
+
return {:command => command, :pre_support => pre_support, :post_support => post_support}
|
137
|
+
end
|
138
|
+
|
139
|
+
def execute(command_string, verbose=true, raise_on_failure=true)
|
140
|
+
#report command_string
|
141
|
+
output = `#{command_string}`.chomp
|
142
|
+
report(output) if (verbose && !output.nil? && (output.length > 0))
|
143
|
+
if ($?.exitstatus != 0) and (raise_on_failure)
|
144
|
+
raise "#{command_string} failed. (Returned #{$?.exitstatus})"
|
145
|
+
end
|
146
|
+
return output
|
147
|
+
end
|
148
|
+
|
149
|
+
def tackit(strings)
|
150
|
+
case(strings)
|
151
|
+
when Array
|
152
|
+
"\"#{strings.join}\""
|
153
|
+
when /^-/
|
154
|
+
strings
|
155
|
+
when /\s/
|
156
|
+
"\"#{strings}\""
|
157
|
+
else
|
158
|
+
strings
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
def report_summary
|
163
|
+
summary = UnityTestSummary.new
|
164
|
+
summary.set_root_path(File.expand_path(File.dirname(__FILE__)) + '/')
|
165
|
+
results_glob = "#{$cfg['compiler']['build_path']}*.test*"
|
166
|
+
results_glob.gsub!(/\\/, '/')
|
167
|
+
results = Dir[results_glob]
|
168
|
+
summary.set_targets(results)
|
169
|
+
summary.run
|
170
|
+
fail_out "FAIL: There were failures" if (summary.failures > 0)
|
171
|
+
end
|
172
|
+
|
173
|
+
def run_system_test_interactions(test_case_files)
|
174
|
+
load './lib/cmock.rb'
|
175
|
+
|
176
|
+
SystemTestGenerator.new.generate_files(test_case_files)
|
177
|
+
test_files = FileList.new(SYSTEST_GENERATED_FILES_PATH + 'test*.c')
|
178
|
+
|
179
|
+
load_configuration($cfg_file)
|
180
|
+
$cfg['compiler']['defines']['items'] = [] if $cfg['compiler']['defines']['items'].nil?
|
181
|
+
|
182
|
+
include_dirs = get_local_include_dirs
|
183
|
+
|
184
|
+
# Build and execute each unit test
|
185
|
+
test_files.each do |test|
|
186
|
+
|
187
|
+
obj_list = []
|
188
|
+
|
189
|
+
test_base = File.basename(test, C_EXTENSION)
|
190
|
+
cmock_config = test_base.gsub(/test_/, '') + '_cmock.yml'
|
191
|
+
|
192
|
+
report "Executing system tests in #{File.basename(test)}..."
|
193
|
+
|
194
|
+
# Detect dependencies and build required required modules
|
195
|
+
extract_headers(test).each do |header|
|
196
|
+
|
197
|
+
# Generate any needed mocks
|
198
|
+
if header =~ /^mock_(.*)\.h/i
|
199
|
+
module_name = $1
|
200
|
+
cmock = CMock.new(SYSTEST_GENERATED_FILES_PATH + cmock_config)
|
201
|
+
cmock.setup_mocks("#{$cfg['compiler']['source_path']}#{module_name}.h")
|
202
|
+
end
|
203
|
+
# Compile corresponding source file if it exists
|
204
|
+
src_file = find_source_file(header, include_dirs)
|
205
|
+
if !src_file.nil?
|
206
|
+
compile(src_file)
|
207
|
+
obj_list << header.ext($cfg['compiler']['object_files']['extension'])
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# Generate and build the test suite runner
|
212
|
+
runner_name = test_base + '_runner.c'
|
213
|
+
runner_path = $cfg['compiler']['source_path'] + runner_name
|
214
|
+
UnityTestRunnerGenerator.new(SYSTEST_GENERATED_FILES_PATH + cmock_config).run(test, runner_path)
|
215
|
+
compile(runner_path)
|
216
|
+
obj_list << runner_name.ext($cfg['compiler']['object_files']['extension'])
|
217
|
+
|
218
|
+
# Build the test module
|
219
|
+
compile(test)
|
220
|
+
obj_list << test_base.ext($cfg['compiler']['object_files']['extension'])
|
221
|
+
|
222
|
+
# Link the test executable
|
223
|
+
link(test_base, obj_list)
|
224
|
+
|
225
|
+
# Execute unit test and generate results file
|
226
|
+
simulator = build_simulator_fields
|
227
|
+
executable = $cfg['linker']['bin_files']['destination'] + test_base + $cfg['linker']['bin_files']['extension']
|
228
|
+
if simulator.nil?
|
229
|
+
cmd_str = executable
|
230
|
+
else
|
231
|
+
cmd_str = "#{simulator[:command]} #{simulator[:pre_support]} #{executable} #{simulator[:post_support]}"
|
232
|
+
end
|
233
|
+
output = execute(cmd_str, false, false)
|
234
|
+
test_results = $cfg['compiler']['build_path'] + test_base + RESULT_EXTENSION
|
235
|
+
File.open(test_results, 'w') { |f| f.print output }
|
236
|
+
end
|
237
|
+
|
238
|
+
# Parse and report test results
|
239
|
+
total_tests = 0
|
240
|
+
total_failures = 0
|
241
|
+
failure_messages = []
|
242
|
+
|
243
|
+
test_case_files.each do |test_case|
|
244
|
+
tests = (YAML.load_file(test_case))[:systest][:tests][:units]
|
245
|
+
total_tests += tests.size
|
246
|
+
|
247
|
+
test_file = 'test_' + File.basename(test_case).ext(C_EXTENSION)
|
248
|
+
result_file = test_file.ext(RESULT_EXTENSION)
|
249
|
+
test_results = File.readlines(SYSTEST_BUILD_FILES_PATH + result_file)
|
250
|
+
tests.each_with_index do |test, index|
|
251
|
+
# compare test's intended pass/fail state with pass/fail state in actual results;
|
252
|
+
# if they don't match, the system test has failed
|
253
|
+
this_failed = case(test[:pass])
|
254
|
+
when :ignore
|
255
|
+
(test_results[index] =~ /:IGNORE/).nil?
|
256
|
+
when true
|
257
|
+
(test_results[index] =~ /:PASS/).nil?
|
258
|
+
when false
|
259
|
+
(test_results[index] =~ /:FAIL/).nil?
|
260
|
+
end
|
261
|
+
if (this_failed)
|
262
|
+
total_failures += 1
|
263
|
+
test_results[index] =~ /test#{index+1}:(.+)/
|
264
|
+
failure_messages << "#{test_file}:test#{index+1}:should #{test[:should]}:#{$1}"
|
265
|
+
end
|
266
|
+
# some tests have additional requirements to check for (checking the actual output message)
|
267
|
+
if (test[:verify_error]) and not (test_results[index] =~ /test#{index+1}:.*#{test[:verify_error]}/)
|
268
|
+
total_failures += 1
|
269
|
+
failure_messages << "#{test_file}:test#{index+1}:should #{test[:should]}:should have output matching '#{test[:verify_error]}'"
|
270
|
+
end
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
report "\n"
|
275
|
+
report "------------------------------------\n"
|
276
|
+
report "SYSTEM TEST MOCK INTERACTION SUMMARY\n"
|
277
|
+
report "------------------------------------\n"
|
278
|
+
report "#{total_tests} Tests #{total_failures} Failures 0 Ignored\n"
|
279
|
+
report "\n"
|
280
|
+
|
281
|
+
if (failure_messages.size > 0)
|
282
|
+
report 'System test failures:'
|
283
|
+
failure_messages.each do |failure|
|
284
|
+
report failure
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
report ''
|
289
|
+
|
290
|
+
return total_failures
|
291
|
+
end
|
292
|
+
|
293
|
+
def profile_this(filename)
|
294
|
+
profile = true
|
295
|
+
begin
|
296
|
+
require 'ruby-prof'
|
297
|
+
RubyProf.start
|
298
|
+
rescue
|
299
|
+
profile = false
|
300
|
+
end
|
301
|
+
|
302
|
+
yield
|
303
|
+
|
304
|
+
if (profile)
|
305
|
+
profile_result = RubyProf.stop
|
306
|
+
File.open("Profile_#{filename}.html", 'w') do |f|
|
307
|
+
RubyProf::GraphHtmlPrinter.new(profile_result).print(f)
|
308
|
+
end
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
def run_system_test_compilations(mockables)
|
313
|
+
load './lib/cmock.rb'
|
314
|
+
|
315
|
+
load_configuration($cfg_file)
|
316
|
+
$cfg['compiler']['defines']['items'] = [] if $cfg['compiler']['defines']['items'].nil?
|
317
|
+
|
318
|
+
report "\n"
|
319
|
+
report "------------------------------------\n"
|
320
|
+
report "SYSTEM TEST MOCK COMPILATION SUMMARY\n"
|
321
|
+
report "------------------------------------\n"
|
322
|
+
mockables.each do |header|
|
323
|
+
mock_filename = 'mock_' + File.basename(header).ext('.c')
|
324
|
+
CMock.new(SYSTEST_COMPILE_MOCKABLES_PATH + 'config.yml').setup_mocks(header)
|
325
|
+
report "Compiling #{mock_filename}..."
|
326
|
+
compile(SYSTEST_GENERATED_FILES_PATH + mock_filename)
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
def run_system_test_profiles(mockables)
|
331
|
+
load './lib/cmock.rb'
|
332
|
+
|
333
|
+
load_configuration($cfg_file)
|
334
|
+
$cfg['compiler']['defines']['items'] = [] if $cfg['compiler']['defines']['items'].nil?
|
335
|
+
|
336
|
+
report "\n"
|
337
|
+
report "--------------------------\n"
|
338
|
+
report "SYSTEM TEST MOCK PROFILING\n"
|
339
|
+
report "--------------------------\n"
|
340
|
+
mockables.each do |header|
|
341
|
+
mock_filename = 'mock_' + File.basename(header).ext('.c')
|
342
|
+
profile_this(mock_filename.gsub('.c','')) do
|
343
|
+
10.times do
|
344
|
+
CMock.new(SYSTEST_COMPILE_MOCKABLES_PATH + 'config.yml').setup_mocks(header)
|
345
|
+
end
|
346
|
+
end
|
347
|
+
report "Compiling #{mock_filename}..."
|
348
|
+
compile(SYSTEST_GENERATED_FILES_PATH + mock_filename)
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
def build_and_test_c_files
|
353
|
+
report "\n"
|
354
|
+
report "----------------\n"
|
355
|
+
report "UNIT TEST C CODE\n"
|
356
|
+
report "----------------\n"
|
357
|
+
errors = false
|
358
|
+
FileList.new("test/c/*.yml").each do |yaml_file|
|
359
|
+
test = YAML.load(File.read(yaml_file))
|
360
|
+
report "\nTesting #{yaml_file.sub('.yml','')}"
|
361
|
+
report "(#{test[:options].join(', ')})"
|
362
|
+
test[:files].each { |f| compile(f, test[:options]) }
|
363
|
+
obj_files = test[:files].map { |f| f.gsub!(/.*\//,'').gsub!(C_EXTENSION, $cfg['compiler']['object_files']['extension']) }
|
364
|
+
link('TestCMockC', obj_files)
|
365
|
+
if $cfg['simulator'].nil?
|
366
|
+
execute($cfg['linker']['bin_files']['destination'] + 'TestCMockC' + $cfg['linker']['bin_files']['extension'])
|
367
|
+
else
|
368
|
+
execute(tackit($cfg['simulator']['path'].join) + ' ' +
|
369
|
+
$cfg['simulator']['pre_support'].map{|o| tackit(o)}.join(' ') + ' ' +
|
370
|
+
$cfg['linker']['bin_files']['destination'] +
|
371
|
+
'TestCMockC' +
|
372
|
+
$cfg['linker']['bin_files']['extension'] + ' ' +
|
373
|
+
$cfg['simulator']['post_support'].map{|o| tackit(o)}.join(' ') )
|
374
|
+
end
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
def fail_out(msg)
|
379
|
+
puts msg
|
380
|
+
exit(-1)
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
@@ -0,0 +1,186 @@
|
|
1
|
+
/* ==========================================
|
2
|
+
CMock Project - Automatic Mock Generation for C
|
3
|
+
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
+
[Released under MIT License. Please refer to license.txt for details]
|
5
|
+
========================================== */
|
6
|
+
|
7
|
+
#include "unity.h"
|
8
|
+
#include "cmock.h"
|
9
|
+
|
10
|
+
//define CMOCK_MEM_DYNAMIC to grab memory as needed with malloc
|
11
|
+
//when you do that, CMOCK_MEM_SIZE is used for incremental size instead of total
|
12
|
+
#ifdef CMOCK_MEM_STATIC
|
13
|
+
#undef CMOCK_MEM_DYNAMIC
|
14
|
+
#endif
|
15
|
+
|
16
|
+
#ifdef CMOCK_MEM_DYNAMIC
|
17
|
+
#include <stdlib.h>
|
18
|
+
#endif
|
19
|
+
|
20
|
+
//this is used internally during pointer arithmetic. make sure this type is the same size as the target's pointer type
|
21
|
+
#ifndef CMOCK_MEM_PTR_AS_INT
|
22
|
+
#define CMOCK_MEM_PTR_AS_INT unsigned long
|
23
|
+
#endif
|
24
|
+
|
25
|
+
//0 for no alignment, 1 for 16-bit, 2 for 32-bit, 3 for 64-bit
|
26
|
+
#ifndef CMOCK_MEM_ALIGN
|
27
|
+
#define CMOCK_MEM_ALIGN (2)
|
28
|
+
#endif
|
29
|
+
|
30
|
+
//amount of memory to allow cmock to use in its internal heap
|
31
|
+
#ifndef CMOCK_MEM_SIZE
|
32
|
+
#define CMOCK_MEM_SIZE (32768)
|
33
|
+
#endif
|
34
|
+
|
35
|
+
//automatically calculated defs for easier reading
|
36
|
+
#define CMOCK_MEM_ALIGN_SIZE (1u << CMOCK_MEM_ALIGN)
|
37
|
+
#define CMOCK_MEM_ALIGN_MASK (CMOCK_MEM_ALIGN_SIZE - 1)
|
38
|
+
#define CMOCK_MEM_INDEX_SIZE ((sizeof(CMOCK_MEM_INDEX_TYPE) > CMOCK_MEM_ALIGN_SIZE) ? sizeof(CMOCK_MEM_INDEX_TYPE) : CMOCK_MEM_ALIGN_SIZE)
|
39
|
+
|
40
|
+
//private variables
|
41
|
+
#ifdef CMOCK_MEM_DYNAMIC
|
42
|
+
static unsigned char* CMock_Guts_Buffer = NULL;
|
43
|
+
static CMOCK_MEM_INDEX_TYPE CMock_Guts_BufferSize = CMOCK_MEM_ALIGN_SIZE;
|
44
|
+
static CMOCK_MEM_INDEX_TYPE CMock_Guts_FreePtr;
|
45
|
+
#else
|
46
|
+
static unsigned char CMock_Guts_Buffer[CMOCK_MEM_SIZE + CMOCK_MEM_ALIGN_SIZE];
|
47
|
+
static CMOCK_MEM_INDEX_TYPE CMock_Guts_BufferSize = CMOCK_MEM_SIZE + CMOCK_MEM_ALIGN_SIZE;
|
48
|
+
static CMOCK_MEM_INDEX_TYPE CMock_Guts_FreePtr;
|
49
|
+
#endif
|
50
|
+
//-------------------------------------------------------
|
51
|
+
// CMock_Guts_MemNew
|
52
|
+
//-------------------------------------------------------
|
53
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemNew(CMOCK_MEM_INDEX_TYPE size)
|
54
|
+
{
|
55
|
+
CMOCK_MEM_INDEX_TYPE index;
|
56
|
+
|
57
|
+
//verify arguments valid (we must be allocating space for at least 1 byte, and the existing chain must be in memory somewhere)
|
58
|
+
if (size < 1)
|
59
|
+
return CMOCK_GUTS_NONE;
|
60
|
+
|
61
|
+
//verify we have enough room
|
62
|
+
size = size + CMOCK_MEM_INDEX_SIZE;
|
63
|
+
if (size & CMOCK_MEM_ALIGN_MASK)
|
64
|
+
size = (size + CMOCK_MEM_ALIGN_MASK) & ~CMOCK_MEM_ALIGN_MASK;
|
65
|
+
if ((CMock_Guts_BufferSize - CMock_Guts_FreePtr) < size)
|
66
|
+
{
|
67
|
+
#ifdef CMOCK_MEM_DYNAMIC
|
68
|
+
CMock_Guts_BufferSize += CMOCK_MEM_SIZE + size;
|
69
|
+
CMock_Guts_Buffer = realloc(CMock_Guts_Buffer, CMock_Guts_BufferSize);
|
70
|
+
if (CMock_Guts_Buffer == NULL)
|
71
|
+
#endif //yes that if will continue to the return below if TRUE
|
72
|
+
return CMOCK_GUTS_NONE;
|
73
|
+
}
|
74
|
+
|
75
|
+
//determine where we're putting this new block, and init its pointer to be the end of the line
|
76
|
+
index = CMock_Guts_FreePtr + CMOCK_MEM_INDEX_SIZE;
|
77
|
+
*(CMOCK_MEM_INDEX_TYPE*)(&CMock_Guts_Buffer[CMock_Guts_FreePtr]) = CMOCK_GUTS_NONE;
|
78
|
+
CMock_Guts_FreePtr += size;
|
79
|
+
|
80
|
+
return index;
|
81
|
+
}
|
82
|
+
|
83
|
+
//-------------------------------------------------------
|
84
|
+
// CMock_Guts_MemChain
|
85
|
+
//-------------------------------------------------------
|
86
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemChain(CMOCK_MEM_INDEX_TYPE root_index, CMOCK_MEM_INDEX_TYPE obj_index)
|
87
|
+
{
|
88
|
+
CMOCK_MEM_INDEX_TYPE index;
|
89
|
+
void* root;
|
90
|
+
void* obj;
|
91
|
+
void* next;
|
92
|
+
|
93
|
+
if (root_index == CMOCK_GUTS_NONE)
|
94
|
+
{
|
95
|
+
//if there is no root currently, we return this object as the root of the chain
|
96
|
+
return obj_index;
|
97
|
+
}
|
98
|
+
else
|
99
|
+
{
|
100
|
+
//reject illegal nodes
|
101
|
+
if ((root_index < CMOCK_MEM_ALIGN_SIZE) || (root_index >= CMock_Guts_FreePtr))
|
102
|
+
{
|
103
|
+
return CMOCK_GUTS_NONE;
|
104
|
+
}
|
105
|
+
if ((obj_index < CMOCK_MEM_ALIGN_SIZE) || (obj_index >= CMock_Guts_FreePtr))
|
106
|
+
{
|
107
|
+
return CMOCK_GUTS_NONE;
|
108
|
+
}
|
109
|
+
|
110
|
+
root = (void*)(&CMock_Guts_Buffer[root_index]);
|
111
|
+
obj = (void*)(&CMock_Guts_Buffer[obj_index]);
|
112
|
+
|
113
|
+
//find the end of the existing chain and add us
|
114
|
+
next = root;
|
115
|
+
do {
|
116
|
+
index = *(CMOCK_MEM_INDEX_TYPE*)((CMOCK_MEM_PTR_AS_INT)next - CMOCK_MEM_INDEX_SIZE);
|
117
|
+
if (index >= CMock_Guts_FreePtr)
|
118
|
+
return CMOCK_GUTS_NONE;
|
119
|
+
if (index > 0)
|
120
|
+
next = (void*)(&CMock_Guts_Buffer[index]);
|
121
|
+
} while (index > 0);
|
122
|
+
*(CMOCK_MEM_INDEX_TYPE*)((CMOCK_MEM_PTR_AS_INT)next - CMOCK_MEM_INDEX_SIZE) = ((CMOCK_MEM_PTR_AS_INT)obj - (CMOCK_MEM_PTR_AS_INT)CMock_Guts_Buffer);
|
123
|
+
return root_index;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
//-------------------------------------------------------
|
128
|
+
// CMock_Guts_MemNext
|
129
|
+
//-------------------------------------------------------
|
130
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemNext(CMOCK_MEM_INDEX_TYPE previous_item_index)
|
131
|
+
{
|
132
|
+
CMOCK_MEM_INDEX_TYPE index;
|
133
|
+
void* previous_item;
|
134
|
+
|
135
|
+
//There is nothing "next" if the pointer isn't from our buffer
|
136
|
+
if ((previous_item_index < CMOCK_MEM_ALIGN_SIZE) || (previous_item_index >= CMock_Guts_FreePtr))
|
137
|
+
return CMOCK_GUTS_NONE;
|
138
|
+
previous_item = (void*)(&CMock_Guts_Buffer[previous_item_index]);
|
139
|
+
|
140
|
+
//if the pointer is good, then use it to look up the next index
|
141
|
+
//(we know the first element always goes in zero, so NEXT must always be > 1)
|
142
|
+
index = *(CMOCK_MEM_INDEX_TYPE*)((CMOCK_MEM_PTR_AS_INT)previous_item - CMOCK_MEM_INDEX_SIZE);
|
143
|
+
if ((index > 1) && (index < CMock_Guts_FreePtr))
|
144
|
+
return index;
|
145
|
+
else
|
146
|
+
return CMOCK_GUTS_NONE;
|
147
|
+
}
|
148
|
+
|
149
|
+
//-------------------------------------------------------
|
150
|
+
// CMock_GetAddressFor
|
151
|
+
//-------------------------------------------------------
|
152
|
+
void* CMock_Guts_GetAddressFor(CMOCK_MEM_INDEX_TYPE index)
|
153
|
+
{
|
154
|
+
if ((index >= CMOCK_MEM_ALIGN_SIZE) && (index < CMock_Guts_FreePtr))
|
155
|
+
{
|
156
|
+
return (void*)(&CMock_Guts_Buffer[index]);
|
157
|
+
}
|
158
|
+
else
|
159
|
+
{
|
160
|
+
return NULL;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
//-------------------------------------------------------
|
165
|
+
// CMock_Guts_MemBytesFree
|
166
|
+
//-------------------------------------------------------
|
167
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemBytesFree(void)
|
168
|
+
{
|
169
|
+
return CMock_Guts_BufferSize - CMock_Guts_FreePtr;
|
170
|
+
}
|
171
|
+
|
172
|
+
//-------------------------------------------------------
|
173
|
+
// CMock_Guts_MemBytesUsed
|
174
|
+
//-------------------------------------------------------
|
175
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemBytesUsed(void)
|
176
|
+
{
|
177
|
+
return CMock_Guts_FreePtr - CMOCK_MEM_ALIGN_SIZE;
|
178
|
+
}
|
179
|
+
|
180
|
+
//-------------------------------------------------------
|
181
|
+
// CMock_Guts_MemFreeAll
|
182
|
+
//-------------------------------------------------------
|
183
|
+
void CMock_Guts_MemFreeAll(void)
|
184
|
+
{
|
185
|
+
CMock_Guts_FreePtr = CMOCK_MEM_ALIGN_SIZE; //skip the very beginning
|
186
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/* ==========================================
|
2
|
+
CMock Project - Automatic Mock Generation for C
|
3
|
+
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
+
[Released under MIT License. Please refer to license.txt for details]
|
5
|
+
========================================== */
|
6
|
+
|
7
|
+
#ifndef CMOCK_FRAMEWORK_H
|
8
|
+
#define CMOCK_FRAMEWORK_H
|
9
|
+
|
10
|
+
//should be big enough to index full range of CMOCK_MEM_MAX
|
11
|
+
#ifndef CMOCK_MEM_INDEX_TYPE
|
12
|
+
#define CMOCK_MEM_INDEX_TYPE unsigned int
|
13
|
+
#endif
|
14
|
+
|
15
|
+
#define CMOCK_GUTS_NONE (0)
|
16
|
+
|
17
|
+
//-------------------------------------------------------
|
18
|
+
// Memory API
|
19
|
+
//-------------------------------------------------------
|
20
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemNew(CMOCK_MEM_INDEX_TYPE size);
|
21
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemChain(CMOCK_MEM_INDEX_TYPE root_index, CMOCK_MEM_INDEX_TYPE obj_index);
|
22
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemNext(CMOCK_MEM_INDEX_TYPE previous_item_index);
|
23
|
+
|
24
|
+
void* CMock_Guts_GetAddressFor(CMOCK_MEM_INDEX_TYPE index);
|
25
|
+
|
26
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemBytesFree(void);
|
27
|
+
CMOCK_MEM_INDEX_TYPE CMock_Guts_MemBytesUsed(void);
|
28
|
+
void CMock_Guts_MemFreeAll(void);
|
29
|
+
|
30
|
+
#endif //CMOCK_FRAMEWORK
|
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
compiler:
|
3
|
+
path: gcc
|
4
|
+
source_path: &systest_generated_path 'test/system/generated/'
|
5
|
+
unit_tests_path: &unit_tests_path 'examples/test/'
|
6
|
+
mocks_path: &systest_mocks_path 'test/system/generated/'
|
7
|
+
build_path: &systest_build_path 'test/system/build/'
|
8
|
+
options:
|
9
|
+
- '-c'
|
10
|
+
- '-Wall'
|
11
|
+
- '-Wno-address'
|
12
|
+
- '-std=c99'
|
13
|
+
- '-pedantic'
|
14
|
+
includes:
|
15
|
+
prefix: '-I'
|
16
|
+
items:
|
17
|
+
- *systest_generated_path
|
18
|
+
- *unit_tests_path
|
19
|
+
- *systest_mocks_path
|
20
|
+
- 'src/'
|
21
|
+
- 'vendor/unity/src/'
|
22
|
+
- 'vendor/c_exception/lib/'
|
23
|
+
- 'test/system/test_compilation/'
|
24
|
+
- 'test/'
|
25
|
+
defines:
|
26
|
+
prefix: '-D'
|
27
|
+
items:
|
28
|
+
object_files:
|
29
|
+
prefix: '-o'
|
30
|
+
extension: '.o'
|
31
|
+
destination: *systest_build_path
|
32
|
+
|
33
|
+
linker:
|
34
|
+
path: gcc
|
35
|
+
options:
|
36
|
+
- -lm
|
37
|
+
includes:
|
38
|
+
prefix: '-I'
|
39
|
+
object_files:
|
40
|
+
path: *systest_build_path
|
41
|
+
extension: '.o'
|
42
|
+
bin_files:
|
43
|
+
prefix: '-o'
|
44
|
+
extension: '.exe'
|
45
|
+
destination: *systest_build_path
|
46
|
+
|
47
|
+
unsupported:
|
48
|
+
- unity_64bit_support
|
49
|
+
|
50
|
+
colour: true
|