ceedling 0.31.1 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/GIT_COMMIT_SHA +1 -0
- data/Gemfile +19 -11
- data/Gemfile.lock +31 -24
- data/README.md +716 -75
- data/Rakefile +15 -0
- data/assets/ceedling +6 -0
- data/assets/default_gitignore +7 -5
- data/assets/example_file.c +11 -0
- data/assets/example_file.h +9 -0
- data/assets/example_file_call.c +7 -0
- data/assets/example_file_call.h +7 -0
- data/assets/project.yml +402 -0
- data/assets/test_example_file.c +9 -2
- data/assets/test_example_file_boom.c +9 -2
- data/assets/test_example_file_crash.c +25 -0
- data/assets/test_example_file_success.c +9 -2
- data/assets/test_example_file_unity_printf.c +8 -1
- data/assets/test_example_file_verbose.c +8 -1
- data/assets/test_example_file_with_mock.c +8 -1
- data/assets/test_example_with_parameterized_tests.c +12 -3
- data/assets/tests_with_defines/src/adc_hardware.c +8 -1
- data/assets/tests_with_defines/src/adc_hardware.h +7 -0
- data/assets/tests_with_defines/src/adc_hardware_configurator.c +8 -1
- data/assets/tests_with_defines/src/adc_hardware_configurator.h +8 -1
- data/assets/tests_with_defines/test/test_adc_hardware.c +7 -0
- data/assets/tests_with_defines/test/test_adc_hardware_special.c +7 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareA.c +17 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareA.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareB.c +14 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareB.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareC.c +14 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareC.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorA.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorB.h +15 -0
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorC.h +15 -0
- data/assets/tests_with_preprocessing/test/test_adc_hardwareA.c +41 -0
- data/assets/tests_with_preprocessing/test/test_adc_hardwareB.c +25 -0
- data/assets/tests_with_preprocessing/test/test_adc_hardwareC.c +29 -0
- data/assets/uncovered_example_file.c +7 -0
- data/bin/actions_wrapper.rb +50 -0
- data/bin/app_cfg.rb +134 -0
- data/bin/ceedling +139 -329
- data/bin/cli.rb +542 -0
- data/bin/cli_handler.rb +480 -0
- data/bin/cli_helper.rb +512 -0
- data/bin/configinator.rb +111 -0
- data/bin/mixinator.rb +136 -0
- data/bin/mixins.rb +12 -0
- data/bin/objects.yml +80 -0
- data/bin/path_validator.rb +54 -0
- data/bin/projectinator.rb +244 -0
- data/bin/versionator.rb +81 -0
- data/ceedling.gemspec +20 -9
- data/config/test_environment.rb +6 -2
- data/docs/BreakingChanges.md +260 -0
- data/docs/CODE_OF_CONDUCT.md +138 -0
- data/docs/CONTRIBUTING.md +240 -0
- data/docs/CeedlingPacket.md +4999 -1614
- data/docs/CeedlingPullRequestChecklist.md +24 -0
- data/docs/CeedlingUpgrade.md +1 -1
- data/docs/Changelog.md +493 -0
- data/docs/PluginDevelopmentGuide.md +764 -0
- data/docs/ReleaseNotes.md +353 -0
- data/docs/SECURITY.md +41 -0
- data/examples/temp_sensor/README.md +18 -0
- data/examples/temp_sensor/mixin/add_gcov.yml +51 -0
- data/examples/temp_sensor/mixin/add_unity_helper.yml +26 -0
- data/examples/temp_sensor/project.yml +315 -28
- data/examples/temp_sensor/src/AdcConductor.c +7 -0
- data/examples/temp_sensor/src/AdcConductor.h +7 -0
- data/examples/temp_sensor/src/AdcHardware.c +7 -0
- data/examples/temp_sensor/src/AdcHardware.h +7 -0
- data/examples/temp_sensor/src/AdcHardwareConfigurator.c +7 -0
- data/examples/temp_sensor/src/AdcHardwareConfigurator.h +7 -0
- data/examples/temp_sensor/src/AdcModel.c +7 -0
- data/examples/temp_sensor/src/AdcModel.h +7 -0
- data/examples/temp_sensor/src/AdcTemperatureSensor.c +7 -0
- data/examples/temp_sensor/src/AdcTemperatureSensor.h +7 -0
- data/examples/temp_sensor/src/Executor.c +7 -0
- data/examples/temp_sensor/src/Executor.h +7 -0
- data/examples/temp_sensor/src/IntrinsicsWrapper.c +7 -0
- data/examples/temp_sensor/src/IntrinsicsWrapper.h +7 -0
- data/examples/temp_sensor/src/Main.c +7 -0
- data/examples/temp_sensor/src/Main.h +7 -0
- data/examples/temp_sensor/src/Model.c +7 -0
- data/examples/temp_sensor/src/Model.h +7 -0
- data/examples/temp_sensor/src/ModelConfig.h +7 -0
- data/examples/temp_sensor/src/TaskScheduler.c +7 -0
- data/examples/temp_sensor/src/TaskScheduler.h +7 -0
- data/examples/temp_sensor/src/TemperatureCalculator.c +12 -1
- data/examples/temp_sensor/src/TemperatureCalculator.h +7 -0
- data/examples/temp_sensor/src/TemperatureFilter.c +7 -0
- data/examples/temp_sensor/src/TemperatureFilter.h +7 -0
- data/examples/temp_sensor/src/TimerConductor.c +7 -0
- data/examples/temp_sensor/src/TimerConductor.h +7 -0
- data/examples/temp_sensor/src/TimerConfigurator.c +7 -0
- data/examples/temp_sensor/src/TimerConfigurator.h +7 -0
- data/examples/temp_sensor/src/TimerHardware.c +7 -0
- data/examples/temp_sensor/src/TimerHardware.h +7 -0
- data/examples/temp_sensor/src/TimerInterruptConfigurator.c +7 -0
- data/examples/temp_sensor/src/TimerInterruptConfigurator.h +7 -0
- data/examples/temp_sensor/src/TimerInterruptHandler.c +7 -0
- data/examples/temp_sensor/src/TimerInterruptHandler.h +7 -0
- data/examples/temp_sensor/src/TimerModel.c +7 -0
- data/examples/temp_sensor/src/TimerModel.h +7 -0
- data/examples/temp_sensor/src/Types.h +7 -0
- data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +7 -0
- data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +7 -0
- data/examples/temp_sensor/src/UsartConductor.c +7 -0
- data/examples/temp_sensor/src/UsartConductor.h +7 -0
- data/examples/temp_sensor/src/UsartConfigurator.c +7 -0
- data/examples/temp_sensor/src/UsartConfigurator.h +7 -0
- data/examples/temp_sensor/src/UsartHardware.c +7 -0
- data/examples/temp_sensor/src/UsartHardware.h +7 -0
- data/examples/temp_sensor/src/UsartModel.c +7 -0
- data/examples/temp_sensor/src/UsartModel.h +7 -0
- data/examples/temp_sensor/src/UsartPutChar.c +7 -0
- data/examples/temp_sensor/src/UsartPutChar.h +7 -0
- data/examples/temp_sensor/src/UsartTransmitBufferStatus.c +7 -0
- data/examples/temp_sensor/src/UsartTransmitBufferStatus.h +7 -0
- data/examples/temp_sensor/test/TestExecutor.c +8 -1
- data/examples/temp_sensor/test/TestMain.c +7 -0
- data/examples/temp_sensor/test/TestModel.c +7 -0
- data/examples/temp_sensor/test/TestTaskScheduler.c +37 -30
- data/examples/temp_sensor/test/TestTemperatureCalculator.c +8 -1
- data/examples/temp_sensor/test/TestTemperatureFilter.c +7 -0
- data/examples/temp_sensor/test/TestTimerConductor.c +7 -0
- data/examples/temp_sensor/test/TestTimerHardware.c +7 -0
- data/examples/temp_sensor/test/TestTimerIntegrated.c +53 -0
- data/examples/temp_sensor/test/TestTimerModel.c +7 -0
- data/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +12 -5
- data/examples/temp_sensor/test/TestUsartConductor.c +7 -0
- data/examples/temp_sensor/test/TestUsartHardware.c +7 -0
- data/examples/temp_sensor/test/TestUsartIntegrated.c +63 -0
- data/examples/temp_sensor/test/TestUsartModel.c +8 -1
- data/examples/temp_sensor/test/{TestAdcConductor.c → adc/TestAdcConductor.c} +7 -0
- data/examples/temp_sensor/test/{TestAdcHardware.c → adc/TestAdcHardware.c} +8 -1
- data/examples/temp_sensor/test/{TestAdcModel.c → adc/TestAdcModel.c} +9 -2
- data/examples/temp_sensor/test/support/UnityHelper.c +11 -4
- data/examples/temp_sensor/test/support/UnityHelper.h +11 -6
- data/lib/ceedling/application.rb +26 -0
- data/lib/ceedling/backtrace.gdb +5 -0
- data/lib/ceedling/build_batchinator.rb +113 -0
- data/lib/ceedling/cacheinator.rb +6 -0
- data/lib/ceedling/cacheinator_helper.rb +6 -0
- data/lib/ceedling/config_matchinator.rb +192 -0
- data/lib/ceedling/config_walkinator.rb +35 -0
- data/lib/ceedling/configurator.rb +544 -191
- data/lib/ceedling/configurator_builder.rb +262 -179
- data/lib/ceedling/configurator_plugins.rb +71 -37
- data/lib/ceedling/configurator_setup.rb +726 -55
- data/lib/ceedling/configurator_validator.rb +152 -142
- data/lib/ceedling/constants.rb +97 -36
- data/lib/ceedling/defaults.rb +231 -225
- data/lib/ceedling/defineinator.rb +90 -0
- data/lib/ceedling/dependinator.rb +9 -75
- data/lib/ceedling/encodinator.rb +26 -0
- data/lib/ceedling/erb_wrapper.rb +8 -1
- data/lib/ceedling/exceptions.rb +47 -0
- data/lib/ceedling/file_finder.rb +136 -102
- data/lib/ceedling/file_finder_helper.rb +93 -33
- data/lib/ceedling/file_path_collection_utils.rb +137 -0
- data/lib/ceedling/file_path_utils.rb +72 -84
- data/lib/ceedling/file_system_wrapper.rb +6 -0
- data/lib/ceedling/file_wrapper.rb +42 -3
- data/lib/ceedling/flaginator.rb +43 -52
- data/lib/ceedling/generator.rb +283 -104
- data/lib/ceedling/generator_helper.rb +63 -25
- data/lib/ceedling/generator_mocks.rb +41 -0
- data/lib/ceedling/generator_test_results.rb +200 -30
- data/lib/ceedling/generator_test_results_backtrace.rb +215 -0
- data/lib/ceedling/generator_test_results_sanity_checker.rb +13 -8
- data/lib/ceedling/generator_test_runner.rb +62 -36
- data/lib/ceedling/include_pathinator.rb +83 -0
- data/lib/ceedling/loginator.rb +314 -19
- data/lib/ceedling/makefile.rb +6 -0
- data/lib/ceedling/objects.yml +120 -81
- data/lib/ceedling/parsing_parcels.rb +77 -0
- data/lib/ceedling/plugin.rb +14 -64
- data/lib/ceedling/plugin_manager.rb +45 -19
- data/lib/ceedling/plugin_manager_helper.rb +8 -2
- data/lib/ceedling/plugin_reportinator.rb +93 -30
- data/lib/ceedling/plugin_reportinator_helper.rb +60 -27
- data/lib/ceedling/preprocessinator.rb +213 -30
- data/lib/ceedling/preprocessinator_extractor.rb +238 -36
- data/lib/ceedling/preprocessinator_file_handler.rb +210 -15
- data/lib/ceedling/preprocessinator_includes_handler.rb +353 -160
- data/lib/ceedling/rake_utils.rb +6 -0
- data/lib/ceedling/rake_wrapper.rb +7 -0
- data/lib/ceedling/rakefile.rb +125 -65
- data/lib/ceedling/release_invoker.rb +11 -41
- data/lib/ceedling/release_invoker_helper.rb +6 -13
- data/lib/ceedling/reportinator.rb +99 -1
- data/lib/ceedling/rules_release.rake +45 -37
- data/lib/ceedling/rules_tests.rake +48 -59
- data/lib/ceedling/setupinator.rb +181 -35
- data/lib/ceedling/stream_wrapper.rb +38 -15
- data/lib/ceedling/system_utils.rb +8 -2
- data/lib/ceedling/system_wrapper.rb +83 -13
- data/lib/ceedling/task_invoker.rb +15 -67
- data/lib/ceedling/tasks_base.rake +15 -92
- data/lib/ceedling/tasks_filesystem.rake +35 -49
- data/lib/ceedling/tasks_release.rake +25 -12
- data/lib/ceedling/tasks_tests.rake +31 -22
- data/lib/ceedling/test_context_extractor.rb +379 -0
- data/lib/ceedling/test_invoker.rb +452 -111
- data/lib/ceedling/test_invoker_helper.rb +332 -17
- data/lib/ceedling/test_runner_manager.rb +47 -0
- data/lib/ceedling/tool_executor.rb +92 -88
- data/lib/ceedling/tool_executor_helper.rb +49 -106
- data/lib/ceedling/tool_validator.rb +149 -0
- data/lib/ceedling/verbosinator.rb +15 -3
- data/lib/ceedling/yaml_wrapper.rb +21 -1
- data/lib/ceedling.rb +12 -97
- data/lib/version.rb +24 -0
- data/license.txt +20 -27
- data/plugins/beep/README.md +124 -13
- data/plugins/beep/config/defaults.yml +12 -0
- data/plugins/beep/config/defaults_beep.rb +67 -0
- data/plugins/beep/lib/beep.rb +71 -26
- data/plugins/bullseye/README.md +9 -4
- data/plugins/bullseye/bullseye.rake +43 -36
- data/plugins/bullseye/config/defaults.yml +55 -46
- data/plugins/bullseye/lib/bullseye.rb +25 -16
- data/plugins/command_hooks/README.md +230 -42
- data/plugins/command_hooks/lib/command_hooks.rb +198 -59
- data/plugins/compile_commands_json_db/README.md +40 -0
- data/plugins/compile_commands_json_db/lib/compile_commands_json_db.rb +51 -0
- data/plugins/dependencies/README.md +113 -46
- data/plugins/dependencies/Rakefile +188 -0
- data/plugins/dependencies/config/defaults.yml +74 -1
- data/plugins/dependencies/dependencies.rake +28 -18
- data/plugins/dependencies/example/boss/project.yml +231 -0
- data/plugins/dependencies/example/boss/src/boss.c +80 -0
- data/plugins/dependencies/example/boss/src/boss.h +16 -0
- data/plugins/dependencies/example/boss/src/main.c +45 -0
- data/plugins/dependencies/example/boss/test/test_boss.c +118 -0
- data/plugins/dependencies/example/supervisor/project.yml +165 -0
- data/plugins/dependencies/example/supervisor/src/supervisor.c +45 -0
- data/plugins/dependencies/example/supervisor/src/supervisor.h +14 -0
- data/plugins/dependencies/example/supervisor/test/test_supervisor.c +58 -0
- data/plugins/dependencies/example/version.tar.gzip +0 -0
- data/plugins/dependencies/example/workerbees.zip +0 -0
- data/plugins/dependencies/lib/dependencies.rb +372 -78
- data/plugins/{fake_function_framework → fff}/README.md +9 -17
- data/plugins/fff/Rakefile +26 -0
- data/plugins/fff/config/fff.yml +13 -0
- data/plugins/fff/examples/fff_example/project.yml +145 -0
- data/plugins/fff/examples/fff_example/src/bar.c +8 -0
- data/plugins/{fake_function_framework → fff}/examples/fff_example/src/bar.h +7 -0
- data/plugins/fff/examples/fff_example/src/custom_types.h +13 -0
- data/plugins/fff/examples/fff_example/src/display.c +14 -0
- data/plugins/{fake_function_framework → fff}/examples/fff_example/src/display.h +7 -0
- data/plugins/{fake_function_framework → fff}/examples/fff_example/src/event_processor.c +7 -0
- data/plugins/{fake_function_framework → fff}/examples/fff_example/src/event_processor.h +7 -0
- data/plugins/fff/examples/fff_example/src/foo.c +23 -0
- data/plugins/fff/examples/fff_example/src/foo.h +15 -0
- data/plugins/fff/examples/fff_example/src/subfolder/zzz.c +8 -0
- data/plugins/fff/examples/fff_example/src/subfolder/zzz.h +13 -0
- data/plugins/{fake_function_framework → fff}/examples/fff_example/test/test_event_processor.c +24 -19
- data/plugins/{fake_function_framework → fff}/examples/fff_example/test/test_foo.c +7 -0
- data/plugins/{fake_function_framework/lib/fake_function_framework.rb → fff/lib/fff.rb} +22 -19
- data/plugins/{fake_function_framework → fff}/lib/fff_mock_generator.rb +9 -0
- data/plugins/{fake_function_framework → fff}/spec/fff_mock_header_generator_spec.rb +7 -0
- data/plugins/{fake_function_framework → fff}/spec/fff_mock_source_generator_spec.rb +7 -0
- data/plugins/{fake_function_framework → fff}/spec/header_generator.rb +7 -0
- data/plugins/{fake_function_framework → fff}/spec/spec_helper.rb +7 -0
- data/plugins/{fake_function_framework → fff}/src/fff_unity_helper.h +7 -0
- data/plugins/fff/vendor/fff/LICENSE +25 -0
- data/plugins/fff/vendor/fff/Makefile +10 -0
- data/plugins/fff/vendor/fff/README.md +454 -0
- data/plugins/fff/vendor/fff/buildandtest +15 -0
- data/plugins/fff/vendor/fff/examples/Makefile +7 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/Makefile +64 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.c +32 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.h +21 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.test.cpp +58 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.test.fff.cpp +70 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/hardware_abstraction.h +25 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/registers.h +23 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/DISPLAY.h +27 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/Kata.txt +25 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/Makefile +67 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/SYSTEM.h +31 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI.c +56 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI.h +22 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI_test_ansic.c +191 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI_test_cpp.cpp +144 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/test_suite_template.c +42 -0
- data/plugins/fff/vendor/fff/fakegen.rb +428 -0
- data/plugins/fff/vendor/fff/fff.h +5122 -0
- data/plugins/fff/vendor/fff/gtest/Makefile +22 -0
- data/plugins/fff/vendor/fff/gtest/gtest-all.cc +9118 -0
- data/plugins/fff/vendor/fff/gtest/gtest-main.cc +6 -0
- data/plugins/fff/vendor/fff/gtest/gtest.h +19547 -0
- data/plugins/fff/vendor/fff/test/Makefile +81 -0
- data/plugins/fff/vendor/fff/test/c_test_framework.h +25 -0
- data/plugins/fff/vendor/fff/test/fff_test_c.c +116 -0
- data/plugins/fff/vendor/fff/test/fff_test_cpp.cpp +53 -0
- data/plugins/fff/vendor/fff/test/fff_test_global_c.c +84 -0
- data/plugins/fff/vendor/fff/test/fff_test_global_cpp.cpp +31 -0
- data/plugins/fff/vendor/fff/test/global_fakes.c +21 -0
- data/plugins/fff/vendor/fff/test/global_fakes.h +47 -0
- data/plugins/fff/vendor/fff/test/test_cases.include +276 -0
- data/plugins/gcov/README.md +631 -171
- data/plugins/gcov/config/defaults.yml +30 -0
- data/plugins/gcov/config/defaults_gcov.rb +96 -105
- data/plugins/gcov/gcov.rake +43 -152
- data/plugins/gcov/lib/gcov.rb +234 -88
- data/plugins/gcov/lib/gcov_constants.rb +25 -10
- data/plugins/gcov/lib/gcovr_reportinator.rb +245 -151
- data/plugins/gcov/lib/reportgenerator_reportinator.rb +93 -68
- data/plugins/gcov/lib/reportinator_helper.rb +23 -8
- data/plugins/module_generator/README.md +163 -15
- data/plugins/module_generator/Rakefile +232 -0
- data/plugins/module_generator/assets/stubby1.h +13 -0
- data/plugins/module_generator/assets/stubby2.h +15 -0
- data/plugins/module_generator/config/module_generator.yml +12 -3
- data/plugins/module_generator/example/project.yml +174 -0
- data/plugins/module_generator/lib/module_generator.rb +63 -21
- data/plugins/module_generator/module_generator.rake +7 -0
- data/plugins/report_build_warnings_log/README.md +40 -0
- data/plugins/report_build_warnings_log/config/defaults.yml +12 -0
- data/plugins/report_build_warnings_log/lib/report_build_warnings_log.rb +143 -0
- data/plugins/report_tests_gtestlike_stdout/README.md +96 -0
- data/plugins/{stdout_gtestlike_tests_report → report_tests_gtestlike_stdout}/assets/template.erb +6 -7
- data/plugins/report_tests_gtestlike_stdout/config/report_tests_gtestlike_stdout.yml +11 -0
- data/plugins/report_tests_gtestlike_stdout/lib/report_tests_gtestlike_stdout.rb +69 -0
- data/plugins/report_tests_ide_stdout/README.md +62 -0
- data/plugins/report_tests_ide_stdout/config/report_tests_ide_stdout.yml +11 -0
- data/plugins/report_tests_ide_stdout/lib/report_tests_ide_stdout.rb +72 -0
- data/plugins/report_tests_log_factory/README.md +446 -0
- data/plugins/report_tests_log_factory/config/defaults.yml +11 -0
- data/plugins/report_tests_log_factory/lib/cppunit_tests_reporter.rb +100 -0
- data/plugins/report_tests_log_factory/lib/html_tests_reporter.rb +181 -0
- data/plugins/report_tests_log_factory/lib/json_tests_reporter.rb +72 -0
- data/plugins/report_tests_log_factory/lib/junit_tests_reporter.rb +197 -0
- data/plugins/report_tests_log_factory/lib/report_tests_log_factory.rb +135 -0
- data/plugins/report_tests_log_factory/lib/tests_reporter.rb +70 -0
- data/plugins/report_tests_log_factory/sample_html_report.png +0 -0
- data/plugins/report_tests_pretty_stdout/README.md +54 -0
- data/plugins/{stdout_pretty_tests_report → report_tests_pretty_stdout}/assets/template.erb +13 -9
- data/plugins/report_tests_pretty_stdout/config/report_tests_pretty_stdout.yml +11 -0
- data/plugins/report_tests_pretty_stdout/lib/report_tests_pretty_stdout.rb +73 -0
- data/plugins/report_tests_raw_output_log/README.md +50 -0
- data/plugins/report_tests_raw_output_log/lib/report_tests_raw_output_log.rb +129 -0
- data/plugins/report_tests_teamcity_stdout/README.md +94 -0
- data/plugins/report_tests_teamcity_stdout/config/defaults.yml +12 -0
- data/plugins/report_tests_teamcity_stdout/config/report_tests_teamcity_stdout.yml +11 -0
- data/plugins/report_tests_teamcity_stdout/lib/report_tests_teamcity_stdout.rb +163 -0
- data/spec/config_walkinator_spec.rb +62 -0
- data/spec/configurator_builder_spec.rb +9 -0
- data/spec/configurator_helper_spec.rb +7 -0
- data/spec/configurator_spec.rb +8 -0
- data/spec/file_finder_helper_spec.rb +30 -10
- data/spec/gcov/gcov_deployment_spec.rb +82 -20
- data/spec/gcov/gcov_test_cases_spec.rb +211 -64
- data/spec/generator_test_results_sanity_checker_spec.rb +26 -10
- data/spec/generator_test_results_spec.rb +44 -20
- data/spec/manual/stress_test.rb +31 -0
- data/spec/parsing_parcels_spec.rb +66 -0
- data/spec/preprocessinator_extractor_spec.rb +379 -52
- data/spec/preprocessinator_includes_handler_spec.rb +268 -262
- data/spec/reportinator_spec.rb +7 -0
- data/spec/spec_helper.rb +8 -3
- data/spec/spec_system_helper.rb +504 -185
- data/spec/support/other_target.yml +7 -0
- data/spec/support/target.yml +7 -0
- data/spec/support/test_example.fail +3 -2
- data/spec/support/test_example.pass +3 -2
- data/spec/support/test_example_empty.pass +3 -2
- data/spec/support/test_example_ignore.pass +3 -2
- data/spec/support/test_example_mangled.pass +3 -2
- data/spec/support/test_example_with_time.pass +3 -2
- data/spec/system/deployment_as_gem_spec.rb +76 -0
- data/spec/system/deployment_as_vendor_spec.rb +123 -0
- data/spec/system/example_temp_sensor_spec.rb +264 -0
- data/spec/system/upgrade_as_vendor_spec.rb +68 -0
- data/spec/system_utils_spec.rb +15 -6
- data/spec/test_context_extractor_spec.rb +328 -0
- data/spec/tool_executor_helper_spec.rb +116 -207
- data/spec/uncategorized_specs_spec.rb +15 -0
- data/vendor/c_exception/README.md +1 -12
- data/vendor/c_exception/docs/CException.md +4 -47
- data/vendor/c_exception/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/c_exception/docs/CONTRIBUTING.md +238 -0
- data/vendor/c_exception/lib/CException.c +13 -0
- data/vendor/c_exception/lib/CException.h +8 -1
- data/vendor/c_exception/license.txt +22 -0
- data/vendor/c_exception/project.yml +232 -6
- data/vendor/c_exception/test/TestException.c +10 -3
- data/vendor/c_exception/test/support/CExceptionConfig.h +7 -0
- data/vendor/cmock/Gemfile +0 -7
- data/vendor/cmock/LICENSE.txt +3 -1
- data/vendor/cmock/README.md +27 -11
- data/vendor/cmock/cmock.gemspec +34 -0
- data/vendor/cmock/config/production_environment.rb +7 -6
- data/vendor/cmock/config/test_environment.rb +7 -6
- data/vendor/cmock/docs/CMockChangeLog.md +166 -0
- data/vendor/cmock/docs/CMockKnownIssues.md +13 -0
- data/vendor/cmock/docs/CMock_ArgumentValidation.md +274 -0
- data/vendor/cmock/docs/CMock_Summary.md +43 -8
- data/vendor/cmock/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/cmock/docs/CONTRIBUTING.md +238 -0
- data/vendor/cmock/examples/make_example/Makefile +1 -1
- data/vendor/cmock/examples/make_example/src/foo.c +7 -0
- data/vendor/cmock/examples/make_example/src/foo.h +7 -0
- data/vendor/cmock/examples/make_example/src/main.c +7 -0
- data/vendor/cmock/examples/make_example/test/test_foo.c +8 -1
- data/vendor/cmock/examples/make_example/test/test_main.c +7 -0
- data/vendor/cmock/examples/temp_sensor/rakefile.rb +8 -1
- data/vendor/cmock/examples/temp_sensor/rakefile_helper.rb +33 -21
- data/vendor/cmock/examples/temp_sensor/src/AT91SAM7X256.h +20 -12
- data/vendor/cmock/examples/temp_sensor/src/AdcConductor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcConductor.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardware.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardware.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcModel.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcModel.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/Executor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/Executor.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/Main.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/Main.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/Model.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/Model.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/ModelConfig.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.c +15 -5
- data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConductor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConductor.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerHardware.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerHardware.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.c +8 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerModel.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerModel.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/Types.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConductor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConductor.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartHardware.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartHardware.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartModel.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartModel.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.h +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.c +7 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.h +7 -0
- data/vendor/cmock/examples/temp_sensor/targets/gcc.yml +97 -0
- data/vendor/cmock/examples/temp_sensor/targets/iar_v4.yml +143 -0
- data/vendor/cmock/examples/temp_sensor/targets/iar_v5.yml +132 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcConductor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcHardware.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcHardwareConfigurator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcModel.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcTemperatureSensor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestExecutor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestMain.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestModel.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTaskScheduler.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTemperatureCalculator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTemperatureFilter.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerConductor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerConfigurator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerHardware.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptConfigurator.c +9 -2
- data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptHandler.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerModel.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartConductor.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartConfigurator.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartHardware.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartModel.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartPutChar.c +7 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c +7 -0
- data/vendor/cmock/lib/cmock.rb +27 -11
- data/vendor/cmock/lib/cmock_config.rb +22 -12
- data/vendor/cmock/lib/cmock_file_writer.rb +10 -9
- data/vendor/cmock/lib/cmock_generator.rb +29 -18
- data/vendor/cmock/lib/cmock_generator_plugin_array.rb +15 -10
- data/vendor/cmock/lib/cmock_generator_plugin_callback.rb +7 -7
- data/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +7 -7
- data/vendor/cmock/lib/cmock_generator_plugin_expect.rb +14 -9
- data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +11 -9
- data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +10 -8
- data/vendor/cmock/lib/cmock_generator_plugin_ignore_arg.rb +7 -0
- data/vendor/cmock/lib/cmock_generator_plugin_ignore_stateless.rb +10 -8
- data/vendor/cmock/lib/cmock_generator_plugin_return_thru_ptr.rb +31 -8
- data/vendor/cmock/lib/cmock_generator_utils.rb +11 -10
- data/vendor/cmock/lib/cmock_header_parser.rb +43 -37
- data/vendor/cmock/lib/cmock_plugin_manager.rb +8 -7
- data/vendor/cmock/lib/cmock_unityhelper_parser.rb +13 -8
- data/vendor/cmock/lib/cmock_version.rb +29 -0
- data/vendor/cmock/scripts/create_makefile.rb +13 -6
- data/vendor/cmock/scripts/create_mock.rb +7 -0
- data/vendor/cmock/scripts/create_runner.rb +7 -0
- data/vendor/cmock/scripts/test_summary.rb +7 -0
- data/vendor/cmock/src/cmock.c +24 -2
- data/vendor/cmock/src/cmock.h +9 -2
- data/vendor/cmock/src/cmock_internals.h +7 -0
- data/vendor/cmock/test/c/TestCMockC.c +8 -1
- data/vendor/cmock/test/c/TestCMockC.yml +7 -0
- data/vendor/cmock/test/c/TestCMockCDynamic.c +7 -0
- data/vendor/cmock/test/c/TestCMockCDynamic.yml +7 -0
- data/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +7 -0
- data/vendor/cmock/test/c/TestCMockC_Runner.c +7 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h +7 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +7 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/ioat91sam7x256.h +7 -0
- data/vendor/cmock/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c +7 -0
- data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h +7 -0
- data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +7 -0
- data/vendor/cmock/test/iar/iar_v5/incIAR/project.h +7 -0
- data/vendor/cmock/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c +7 -0
- data/vendor/cmock/test/rakefile +6 -3
- data/vendor/cmock/test/rakefile_helper.rb +25 -11
- data/vendor/cmock/test/system/systest_generator.rb +6 -5
- data/vendor/cmock/test/system/test_compilation/callingconv.h +7 -0
- data/vendor/cmock/test/system/test_compilation/config.yml +7 -0
- data/vendor/cmock/test/system/test_compilation/const.h +7 -0
- data/vendor/cmock/test/system/test_compilation/inline.h +7 -0
- data/vendor/cmock/test/system/test_compilation/osek.h +8 -1
- data/vendor/cmock/test/system/test_compilation/parsing.h +12 -2
- data/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/doesnt_leave_details_behind.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/expect_any_args.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/ignore_and_return_stateless.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/ignore_strict_mock_calling.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/out_of_memory.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_ignore_arg.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/skeleton.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/skeleton_update.yml +8 -1
- data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/unity_ignores.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/unity_void_pointer_compare.yml +7 -0
- data/vendor/cmock/test/system/test_interactions/wrong_expect_and_return.yml +149 -0
- data/vendor/cmock/test/targets/clang_strict.yml +7 -0
- data/vendor/cmock/test/targets/gcc.yml +7 -0
- data/vendor/cmock/test/targets/gcc_64.yml +7 -0
- data/vendor/cmock/test/targets/gcc_tiny.yml +7 -0
- data/vendor/cmock/test/targets/iar_arm_v4.yml +7 -0
- data/vendor/cmock/test/targets/iar_arm_v5.yml +7 -0
- data/vendor/cmock/test/test_helper.rb +6 -5
- data/vendor/cmock/test/unit/cmock_config_test.rb +6 -5
- data/vendor/cmock/test/unit/cmock_config_test.yml +7 -0
- data/vendor/cmock/test/unit/cmock_file_writer_test.rb +6 -5
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +29 -17
- data/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +12 -8
- data/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +6 -5
- data/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +6 -5
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_a_test.rb +12 -8
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_any_args_test.rb +11 -7
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +12 -8
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_arg_test.rb +6 -5
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_stateless_test.rb +13 -8
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +13 -8
- data/vendor/cmock/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +87 -14
- data/vendor/cmock/test/unit/cmock_generator_utils_test.rb +6 -5
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +54 -17
- data/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +6 -5
- data/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +6 -5
- data/vendor/cmock/vendor/c_exception/README.md +4 -17
- data/vendor/cmock/vendor/c_exception/docs/CException.md +5 -48
- data/vendor/cmock/vendor/c_exception/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/cmock/vendor/c_exception/docs/CONTRIBUTING.md +238 -0
- data/vendor/cmock/vendor/c_exception/lib/CException.c +13 -0
- data/vendor/cmock/vendor/c_exception/lib/CException.h +8 -1
- data/vendor/cmock/vendor/c_exception/lib/meson.build +2 -2
- data/vendor/cmock/vendor/c_exception/license.txt +22 -0
- data/vendor/cmock/vendor/c_exception/meson.build +2 -36
- data/vendor/cmock/vendor/c_exception/project.yml +232 -6
- data/vendor/cmock/vendor/c_exception/test/TestException.c +10 -3
- data/vendor/cmock/vendor/c_exception/test/support/CExceptionConfig.h +7 -0
- data/vendor/cmock/vendor/unity/CMakeLists.txt +46 -33
- data/vendor/cmock/vendor/unity/LICENSE.txt +1 -1
- data/vendor/cmock/vendor/unity/README.md +33 -5
- data/vendor/cmock/vendor/unity/auto/__init__.py +7 -0
- data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +6 -5
- data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +7 -6
- data/vendor/cmock/vendor/unity/auto/extract_version.py +22 -0
- data/vendor/cmock/vendor/unity/auto/generate_config.yml +7 -0
- data/vendor/cmock/vendor/unity/auto/generate_module.rb +32 -27
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +71 -35
- data/vendor/cmock/vendor/unity/auto/parse_output.rb +90 -22
- data/vendor/cmock/vendor/unity/auto/run_test.erb +2 -2
- data/vendor/cmock/vendor/unity/auto/{unity_to_junit.py → stylize_as_junit.py} +54 -39
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +8 -6
- data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +11 -8
- data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +8 -1
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +7 -6
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +13 -8
- data/vendor/cmock/vendor/unity/auto/yaml_helper.rb +23 -0
- data/vendor/cmock/vendor/unity/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/cmock/vendor/unity/docs/CONTRIBUTING.md +238 -0
- data/vendor/cmock/vendor/unity/docs/MesonGeneratorRunner.md +18 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +133 -60
- data/vendor/cmock/vendor/unity/docs/UnityChangeLog.md +110 -0
- data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +151 -2
- data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +289 -1
- data/vendor/cmock/vendor/unity/docs/UnityKnownIssues.md +13 -0
- data/vendor/cmock/vendor/unity/examples/example_1/makefile +6 -5
- data/vendor/cmock/vendor/unity/examples/example_1/meson.build +48 -0
- data/vendor/cmock/vendor/unity/examples/example_1/readme.txt +8 -1
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_1/subprojects/unity.wrap +3 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_2/makefile +6 -5
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +7 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +7 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +7 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +7 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +7 -0
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +7 -0
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +7 -0
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +7 -0
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +26 -21
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +7 -0
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/meson.build +2 -2
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.h +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/subprojects/unity.wrap +3 -1
- data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode2.c +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/test_runners/meson.build +3 -3
- data/vendor/cmock/vendor/unity/examples/unity_config.h +8 -1
- data/vendor/cmock/vendor/unity/extras/bdd/readme.md +40 -0
- data/vendor/cmock/vendor/unity/extras/bdd/src/unity_bdd.h +44 -0
- data/vendor/cmock/vendor/unity/extras/bdd/test/meson.build +9 -0
- data/vendor/cmock/vendor/unity/extras/bdd/test/test_bdd.c +129 -0
- data/vendor/cmock/vendor/unity/extras/fixture/readme.md +1 -1
- data/vendor/cmock/vendor/unity/extras/fixture/src/meson.build +10 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +6 -6
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +18 -7
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +6 -6
- data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +6 -6
- data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +6 -6
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +6 -6
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +6 -6
- data/vendor/cmock/vendor/unity/extras/memory/src/meson.build +9 -0
- data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.c +6 -5
- data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.h +6 -5
- data/vendor/cmock/vendor/unity/extras/memory/test/Makefile +7 -0
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_Test.c +6 -5
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +6 -5
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.c +6 -5
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.h +6 -5
- data/vendor/cmock/vendor/unity/library.json +25 -0
- data/vendor/cmock/vendor/unity/meson.build +71 -5
- data/vendor/cmock/vendor/unity/meson_options.txt +3 -0
- data/vendor/cmock/vendor/unity/platformio-build.py +24 -0
- data/vendor/cmock/vendor/unity/src/meson.build +11 -5
- data/vendor/cmock/vendor/unity/src/unity.c +534 -143
- data/vendor/cmock/vendor/unity/src/unity.h +50 -13
- data/vendor/cmock/vendor/unity/src/unity_internals.h +188 -58
- data/vendor/cmock/vendor/unity/test/Makefile +7 -0
- data/vendor/cmock/vendor/unity/test/rakefile +6 -5
- data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +9 -8
- data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +6 -0
- data/vendor/cmock/vendor/unity/test/targets/ansi.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +8 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +7 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +7 -0
- data/vendor/cmock/vendor/unity/test/testdata/CException.h +7 -0
- data/vendor/cmock/vendor/unity/test/testdata/Defs.h +8 -0
- data/vendor/cmock/vendor/unity/test/testdata/cmock.h +7 -0
- data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +7 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +18 -3
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +8 -5
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +7 -4
- data/vendor/cmock/vendor/unity/test/tests/self_assessment_utils.h +12 -5
- data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +107 -26
- data/vendor/cmock/vendor/unity/test/tests/test_unity_arrays.c +73 -6
- data/vendor/cmock/vendor/unity/test/tests/test_unity_core.c +12 -8
- data/vendor/cmock/vendor/unity/test/tests/test_unity_doubles.c +517 -5
- data/vendor/cmock/vendor/unity/test/tests/test_unity_floats.c +516 -5
- data/vendor/cmock/vendor/unity/test/tests/test_unity_integers.c +21 -5
- data/vendor/cmock/vendor/unity/test/tests/test_unity_integers_64.c +16 -6
- data/vendor/cmock/vendor/unity/test/tests/test_unity_memory.c +6 -5
- data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterized.c +146 -8
- data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterizedDemo.c +28 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_strings.c +6 -5
- data/vendor/cmock/vendor/unity/test/tests/types_for_test.h +21 -0
- data/vendor/diy/LICENSE.txt +7 -0
- data/vendor/diy/README.rdoc +21 -39
- data/vendor/diy/lib/diy/factory.rb +8 -0
- data/vendor/diy/lib/diy.rb +8 -0
- data/vendor/diy/sample_code/car.rb +8 -0
- data/vendor/diy/sample_code/chassis.rb +8 -0
- data/vendor/diy/sample_code/diy_example.rb +8 -0
- data/vendor/diy/sample_code/engine.rb +8 -0
- data/vendor/diy/sample_code/objects.yml +8 -0
- data/vendor/diy/test/constructor.rb +8 -0
- data/vendor/diy/test/diy_test.rb +8 -0
- data/vendor/diy/test/factory_test.rb +8 -0
- data/vendor/diy/test/files/broken_construction.yml +8 -0
- data/vendor/diy/test/files/cat/cat.rb +8 -0
- data/vendor/diy/test/files/cat/extra_conflict.yml +8 -0
- data/vendor/diy/test/files/cat/heritage.rb +8 -0
- data/vendor/diy/test/files/cat/needs_input.yml +8 -0
- data/vendor/diy/test/files/cat/the_cat_lineage.rb +8 -0
- data/vendor/diy/test/files/dog/dog_model.rb +8 -0
- data/vendor/diy/test/files/dog/dog_presenter.rb +8 -0
- data/vendor/diy/test/files/dog/dog_view.rb +8 -0
- data/vendor/diy/test/files/dog/file_resolver.rb +8 -0
- data/vendor/diy/test/files/dog/other_thing.rb +8 -0
- data/vendor/diy/test/files/dog/simple.yml +8 -0
- data/vendor/diy/test/files/donkey/foo/bar/qux.rb +8 -0
- data/vendor/diy/test/files/donkey/foo.rb +8 -0
- data/vendor/diy/test/files/factory/beef.rb +8 -0
- data/vendor/diy/test/files/factory/dog.rb +8 -0
- data/vendor/diy/test/files/factory/factory.yml +8 -0
- data/vendor/diy/test/files/factory/farm/llama.rb +8 -0
- data/vendor/diy/test/files/factory/farm/pork.rb +8 -0
- data/vendor/diy/test/files/factory/kitten.rb +8 -0
- data/vendor/diy/test/files/fud/objects.yml +8 -0
- data/vendor/diy/test/files/fud/toy.rb +8 -0
- data/vendor/diy/test/files/functions/attached_things_builder.rb +8 -0
- data/vendor/diy/test/files/functions/invalid_method.yml +8 -0
- data/vendor/diy/test/files/functions/method_extractor.rb +8 -0
- data/vendor/diy/test/files/functions/nonsingleton_objects.yml +8 -0
- data/vendor/diy/test/files/functions/objects.yml +8 -0
- data/vendor/diy/test/files/functions/thing.rb +8 -0
- data/vendor/diy/test/files/functions/thing_builder.rb +8 -0
- data/vendor/diy/test/files/functions/things_builder.rb +8 -0
- data/vendor/diy/test/files/gnu/objects.yml +8 -0
- data/vendor/diy/test/files/gnu/thinger.rb +8 -0
- data/vendor/diy/test/files/goat/base.rb +8 -0
- data/vendor/diy/test/files/goat/can.rb +8 -0
- data/vendor/diy/test/files/goat/goat.rb +8 -0
- data/vendor/diy/test/files/goat/objects.yml +8 -0
- data/vendor/diy/test/files/goat/paper.rb +8 -0
- data/vendor/diy/test/files/goat/plane.rb +8 -0
- data/vendor/diy/test/files/goat/shirt.rb +8 -0
- data/vendor/diy/test/files/goat/wings.rb +8 -0
- data/vendor/diy/test/files/horse/holder_thing.rb +8 -0
- data/vendor/diy/test/files/horse/objects.yml +8 -0
- data/vendor/diy/test/files/namespace/animal/bird.rb +8 -0
- data/vendor/diy/test/files/namespace/animal/cat.rb +8 -0
- data/vendor/diy/test/files/namespace/animal/reptile/hardshell/turtle.rb +8 -0
- data/vendor/diy/test/files/namespace/animal/reptile/lizard.rb +8 -0
- data/vendor/diy/test/files/namespace/bad_module_specified.yml +8 -0
- data/vendor/diy/test/files/namespace/class_name_combine.yml +8 -0
- data/vendor/diy/test/files/namespace/no_module_specified.yml +8 -0
- data/vendor/diy/test/files/namespace/objects.yml +8 -0
- data/vendor/diy/test/files/namespace/road.rb +8 -0
- data/vendor/diy/test/files/namespace/sky.rb +8 -0
- data/vendor/diy/test/files/namespace/subcontext.yml +8 -0
- data/vendor/diy/test/files/non_singleton/air.rb +8 -0
- data/vendor/diy/test/files/non_singleton/fat_cat.rb +8 -0
- data/vendor/diy/test/files/non_singleton/objects.yml +8 -0
- data/vendor/diy/test/files/non_singleton/pig.rb +8 -0
- data/vendor/diy/test/files/non_singleton/thread_spinner.rb +8 -0
- data/vendor/diy/test/files/non_singleton/tick.rb +8 -0
- data/vendor/diy/test/files/non_singleton/yard.rb +8 -0
- data/vendor/diy/test/files/yak/core_model.rb +8 -0
- data/vendor/diy/test/files/yak/core_presenter.rb +8 -0
- data/vendor/diy/test/files/yak/core_view.rb +8 -0
- data/vendor/diy/test/files/yak/data_source.rb +8 -0
- data/vendor/diy/test/files/yak/fringe_model.rb +8 -0
- data/vendor/diy/test/files/yak/fringe_presenter.rb +8 -0
- data/vendor/diy/test/files/yak/fringe_view.rb +8 -0
- data/vendor/diy/test/files/yak/giant_squid.rb +8 -0
- data/vendor/diy/test/files/yak/krill.rb +8 -0
- data/vendor/diy/test/files/yak/my_objects.yml +8 -0
- data/vendor/diy/test/files/yak/sub_sub_context_test.yml +8 -0
- data/vendor/diy/test/test_helper.rb +8 -0
- data/vendor/unity/CMakeLists.txt +46 -33
- data/vendor/unity/LICENSE.txt +1 -1
- data/vendor/unity/README.md +33 -5
- data/vendor/unity/auto/__init__.py +7 -0
- data/vendor/unity/auto/colour_prompt.rb +6 -5
- data/vendor/unity/auto/colour_reporter.rb +7 -6
- data/vendor/unity/auto/extract_version.py +22 -0
- data/vendor/unity/auto/generate_config.yml +7 -0
- data/vendor/unity/auto/generate_module.rb +32 -27
- data/vendor/unity/auto/generate_test_runner.rb +71 -35
- data/vendor/unity/auto/parse_output.rb +90 -22
- data/vendor/unity/auto/run_test.erb +2 -2
- data/vendor/unity/auto/{unity_to_junit.py → stylize_as_junit.py} +54 -39
- data/vendor/unity/auto/stylize_as_junit.rb +8 -6
- data/vendor/unity/auto/test_file_filter.rb +11 -8
- data/vendor/unity/auto/type_sanitizer.rb +8 -1
- data/vendor/unity/auto/unity_test_summary.py +7 -6
- data/vendor/unity/auto/unity_test_summary.rb +13 -8
- data/vendor/unity/auto/yaml_helper.rb +23 -0
- data/vendor/unity/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/unity/docs/CONTRIBUTING.md +238 -0
- data/vendor/unity/docs/MesonGeneratorRunner.md +18 -0
- data/vendor/unity/docs/UnityAssertionsReference.md +133 -60
- data/vendor/unity/docs/UnityChangeLog.md +110 -0
- data/vendor/unity/docs/UnityConfigurationGuide.md +151 -2
- data/vendor/unity/docs/UnityHelperScriptsGuide.md +289 -1
- data/vendor/unity/docs/UnityKnownIssues.md +13 -0
- data/vendor/unity/examples/example_1/makefile +6 -5
- data/vendor/unity/examples/example_1/meson.build +48 -0
- data/vendor/unity/examples/example_1/readme.txt +8 -1
- data/vendor/unity/examples/example_1/src/ProductionCode.c +6 -0
- data/vendor/unity/examples/example_1/src/ProductionCode.h +6 -0
- data/vendor/unity/examples/example_1/src/ProductionCode2.c +6 -0
- data/vendor/unity/examples/example_1/src/ProductionCode2.h +6 -0
- data/vendor/unity/examples/example_1/subprojects/unity.wrap +3 -0
- data/vendor/unity/examples/example_1/test/TestProductionCode.c +6 -0
- data/vendor/unity/examples/example_1/test/TestProductionCode2.c +6 -0
- data/vendor/unity/examples/example_2/makefile +6 -5
- data/vendor/unity/examples/example_2/src/ProductionCode.c +6 -0
- data/vendor/unity/examples/example_2/src/ProductionCode.h +6 -0
- data/vendor/unity/examples/example_2/src/ProductionCode2.c +6 -0
- data/vendor/unity/examples/example_2/src/ProductionCode2.h +6 -0
- data/vendor/unity/examples/example_2/test/TestProductionCode.c +7 -0
- data/vendor/unity/examples/example_2/test/TestProductionCode2.c +7 -0
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +7 -0
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +7 -0
- data/vendor/unity/examples/example_2/test/test_runners/all_tests.c +7 -0
- data/vendor/unity/examples/example_3/helper/UnityHelper.c +7 -0
- data/vendor/unity/examples/example_3/helper/UnityHelper.h +7 -0
- data/vendor/unity/examples/example_3/rakefile.rb +7 -0
- data/vendor/unity/examples/example_3/rakefile_helper.rb +26 -21
- data/vendor/unity/examples/example_3/src/ProductionCode.c +6 -0
- data/vendor/unity/examples/example_3/src/ProductionCode.h +6 -0
- data/vendor/unity/examples/example_3/src/ProductionCode2.c +6 -0
- data/vendor/unity/examples/example_3/src/ProductionCode2.h +6 -0
- data/vendor/unity/examples/example_3/target_gcc_32.yml +7 -0
- data/vendor/unity/examples/example_3/test/TestProductionCode.c +6 -0
- data/vendor/unity/examples/example_3/test/TestProductionCode2.c +6 -0
- data/vendor/unity/examples/example_4/meson.build +2 -2
- data/vendor/unity/examples/example_4/src/ProductionCode.c +6 -0
- data/vendor/unity/examples/example_4/src/ProductionCode.h +6 -0
- data/vendor/unity/examples/example_4/src/ProductionCode2.c +6 -0
- data/vendor/unity/examples/example_4/src/ProductionCode2.h +6 -0
- data/vendor/unity/examples/example_4/subprojects/unity.wrap +3 -1
- data/vendor/unity/examples/example_4/test/TestProductionCode.c +6 -0
- data/vendor/unity/examples/example_4/test/TestProductionCode2.c +6 -0
- data/vendor/unity/examples/example_4/test/test_runners/meson.build +3 -3
- data/vendor/unity/examples/unity_config.h +8 -1
- data/vendor/unity/extras/bdd/readme.md +40 -0
- data/vendor/unity/extras/bdd/src/unity_bdd.h +44 -0
- data/vendor/unity/extras/bdd/test/meson.build +9 -0
- data/vendor/unity/extras/bdd/test/test_bdd.c +129 -0
- data/vendor/unity/extras/fixture/readme.md +1 -1
- data/vendor/unity/extras/fixture/src/meson.build +10 -0
- data/vendor/unity/extras/fixture/src/unity_fixture.c +6 -6
- data/vendor/unity/extras/fixture/src/unity_fixture.h +18 -7
- data/vendor/unity/extras/fixture/src/unity_fixture_internals.h +6 -6
- data/vendor/unity/extras/fixture/test/main/AllTests.c +6 -6
- data/vendor/unity/extras/fixture/test/template_fixture_tests.c +6 -6
- data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +6 -6
- data/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +6 -6
- data/vendor/unity/extras/memory/src/meson.build +9 -0
- data/vendor/unity/extras/memory/src/unity_memory.c +6 -5
- data/vendor/unity/extras/memory/src/unity_memory.h +6 -5
- data/vendor/unity/extras/memory/test/Makefile +7 -0
- data/vendor/unity/extras/memory/test/unity_memory_Test.c +6 -5
- data/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +6 -5
- data/vendor/unity/extras/memory/test/unity_output_Spy.c +6 -5
- data/vendor/unity/extras/memory/test/unity_output_Spy.h +6 -5
- data/vendor/unity/library.json +25 -0
- data/vendor/unity/meson.build +71 -5
- data/vendor/unity/meson_options.txt +3 -0
- data/vendor/unity/platformio-build.py +24 -0
- data/vendor/unity/src/meson.build +11 -5
- data/vendor/unity/src/unity.c +534 -143
- data/vendor/unity/src/unity.h +50 -13
- data/vendor/unity/src/unity_internals.h +188 -58
- data/vendor/unity/test/Makefile +7 -0
- data/vendor/unity/test/rakefile +6 -5
- data/vendor/unity/test/rakefile_helper.rb +9 -8
- data/vendor/unity/test/spec/generate_module_existing_file_spec.rb +6 -0
- data/vendor/unity/test/targets/ansi.yml +7 -0
- data/vendor/unity/test/targets/clang_file.yml +7 -0
- data/vendor/unity/test/targets/clang_strict.yml +8 -0
- data/vendor/unity/test/targets/gcc_32.yml +7 -0
- data/vendor/unity/test/targets/gcc_64.yml +7 -0
- data/vendor/unity/test/targets/gcc_auto_limits.yml +7 -0
- data/vendor/unity/test/targets/gcc_auto_stdint.yml +7 -0
- data/vendor/unity/test/targets/gcc_manual_math.yml +7 -0
- data/vendor/unity/test/targets/hitech_picc18.yml +7 -0
- data/vendor/unity/test/targets/iar_arm_v4.yml +7 -0
- data/vendor/unity/test/targets/iar_arm_v5.yml +7 -0
- data/vendor/unity/test/targets/iar_arm_v5_3.yml +7 -0
- data/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +7 -0
- data/vendor/unity/test/targets/iar_cortexm3_v5.yml +7 -0
- data/vendor/unity/test/targets/iar_msp430.yml +7 -0
- data/vendor/unity/test/targets/iar_sh2a_v6.yml +7 -0
- data/vendor/unity/test/testdata/CException.h +7 -0
- data/vendor/unity/test/testdata/Defs.h +8 -0
- data/vendor/unity/test/testdata/cmock.h +7 -0
- data/vendor/unity/test/testdata/mockMock.h +7 -0
- data/vendor/unity/test/testdata/testRunnerGenerator.c +18 -3
- data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +8 -5
- data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +7 -4
- data/vendor/unity/test/tests/self_assessment_utils.h +12 -5
- data/vendor/unity/test/tests/test_generate_test_runner.rb +107 -26
- data/vendor/unity/test/tests/test_unity_arrays.c +73 -6
- data/vendor/unity/test/tests/test_unity_core.c +12 -8
- data/vendor/unity/test/tests/test_unity_doubles.c +517 -5
- data/vendor/unity/test/tests/test_unity_floats.c +516 -5
- data/vendor/unity/test/tests/test_unity_integers.c +21 -5
- data/vendor/unity/test/tests/test_unity_integers_64.c +16 -6
- data/vendor/unity/test/tests/test_unity_memory.c +6 -5
- data/vendor/unity/test/tests/test_unity_parameterized.c +146 -8
- data/vendor/unity/test/tests/test_unity_parameterizedDemo.c +28 -0
- data/vendor/unity/test/tests/test_unity_strings.c +6 -5
- data/vendor/unity/test/tests/types_for_test.h +21 -0
- metadata +315 -570
- data/assets/auto_link_deep_dependencies/src/a.c +0 -7
- data/assets/auto_link_deep_dependencies/src/b.c +0 -7
- data/assets/auto_link_deep_dependencies/src/c.c +0 -8
- data/assets/auto_link_deep_dependencies/src/internal_inc/a.h +0 -6
- data/assets/auto_link_deep_dependencies/src/internal_inc/b.h +0 -6
- data/assets/auto_link_deep_dependencies/src/internal_inc/c.h +0 -6
- data/assets/auto_link_deep_dependencies/src/internal_inc/never_compiled.h +0 -6
- data/assets/auto_link_deep_dependencies/src/never_compiled.c +0 -6
- data/assets/auto_link_deep_dependencies/test/test_a.c +0 -11
- data/assets/auto_link_deep_dependencies/test/test_b.c +0 -11
- data/assets/auto_link_deep_dependencies/test/test_c.c +0 -11
- data/assets/project_as_gem.yml +0 -101
- data/assets/project_with_guts.yml +0 -102
- data/assets/project_with_guts_gcov.yml +0 -102
- data/ceedling.sublime-project +0 -28
- data/ceedling.sublime-workspace +0 -452
- data/docs/Ceedling Powerful Plugins.pdf +0 -0
- data/examples/blinky/project.yml +0 -101
- data/examples/blinky/rakefile.rb +0 -30
- data/examples/blinky/src/BlinkTask.c +0 -21
- data/examples/blinky/src/BlinkTask.h +0 -6
- data/examples/blinky/src/Configure.c +0 -36
- data/examples/blinky/src/Configure.h +0 -6
- data/examples/blinky/src/main.c +0 -51
- data/examples/blinky/src/main.h +0 -9
- data/examples/blinky/test/support/stub_interrupt.h +0 -347
- data/examples/blinky/test/support/stub_io.h +0 -421
- data/examples/blinky/test/support/stub_iom328p.h +0 -883
- data/examples/blinky/test/support/stub_sfr_defs.h +0 -269
- data/examples/blinky/test/test_BlinkTask.c +0 -42
- data/examples/blinky/test/test_Configure.c +0 -29
- data/examples/blinky/test/test_main.c +0 -60
- data/examples/temp_sensor/build/test/cache/AdcConductor.h +0 -20
- data/examples/temp_sensor/build/test/cache/AdcHardware.h +0 -16
- data/examples/temp_sensor/build/test/cache/AdcHardwareConfigurator.h +0 -14
- data/examples/temp_sensor/build/test/cache/AdcModel.h +0 -20
- data/examples/temp_sensor/build/test/cache/AdcTemperatureSensor.h +0 -14
- data/examples/temp_sensor/build/test/cache/Executor.h +0 -12
- data/examples/temp_sensor/build/test/cache/IntrinsicsWrapper.h +0 -9
- data/examples/temp_sensor/build/test/cache/Model.h +0 -10
- data/examples/temp_sensor/build/test/cache/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/cache/TemperatureCalculator.h +0 -10
- data/examples/temp_sensor/build/test/cache/TemperatureFilter.h +0 -14
- data/examples/temp_sensor/build/test/cache/TestAdcConductor.c +0 -169
- data/examples/temp_sensor/build/test/cache/TestAdcHardware.c +0 -82
- data/examples/temp_sensor/build/test/cache/TestAdcModel.c +0 -59
- data/examples/temp_sensor/build/test/cache/TestExecutor.c +0 -63
- data/examples/temp_sensor/build/test/cache/TestMain.c +0 -43
- data/examples/temp_sensor/build/test/cache/TestModel.c +0 -34
- data/examples/temp_sensor/build/test/cache/TestTaskScheduler.c +0 -204
- data/examples/temp_sensor/build/test/cache/TestTemperatureCalculator.c +0 -70
- data/examples/temp_sensor/build/test/cache/TestTemperatureFilter.c +0 -154
- data/examples/temp_sensor/build/test/cache/TestTimerConductor.c +0 -57
- data/examples/temp_sensor/build/test/cache/TestTimerHardware.c +0 -47
- data/examples/temp_sensor/build/test/cache/TestTimerModel.c +0 -31
- data/examples/temp_sensor/build/test/cache/TestUsartBaudRateRegisterCalculator.c +0 -38
- data/examples/temp_sensor/build/test/cache/TestUsartConductor.c +0 -73
- data/examples/temp_sensor/build/test/cache/TestUsartHardware.c +0 -66
- data/examples/temp_sensor/build/test/cache/TestUsartModel.c +0 -73
- data/examples/temp_sensor/build/test/cache/TimerConductor.h +0 -12
- data/examples/temp_sensor/build/test/cache/TimerConfigurator.h +0 -24
- data/examples/temp_sensor/build/test/cache/TimerHardware.h +0 -10
- data/examples/temp_sensor/build/test/cache/TimerInterruptHandler.h +0 -14
- data/examples/temp_sensor/build/test/cache/TimerModel.h +0 -10
- data/examples/temp_sensor/build/test/cache/UsartBaudRateRegisterCalculator.h +0 -10
- data/examples/temp_sensor/build/test/cache/UsartConductor.h +0 -9
- data/examples/temp_sensor/build/test/cache/UsartConfigurator.h +0 -20
- data/examples/temp_sensor/build/test/cache/UsartHardware.h +0 -12
- data/examples/temp_sensor/build/test/cache/UsartModel.h +0 -14
- data/examples/temp_sensor/build/test/cache/UsartPutChar.h +0 -10
- data/examples/temp_sensor/build/test/cache/defines_dependency.yml +0 -77
- data/examples/temp_sensor/build/test/cache/input.yml +0 -310
- data/examples/temp_sensor/build/test/dependencies/AdcConductor.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/AdcHardware.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/AdcModel.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/Executor.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/Main.d +0 -11
- data/examples/temp_sensor/build/test/dependencies/MockAdcConductor.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/MockAdcHardware.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/MockAdcHardwareConfigurator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockAdcModel.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/MockAdcTemperatureSensor.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockExecutor.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/MockIntrinsicsWrapper.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockModel.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/MockTaskScheduler.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockTemperatureCalculator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTemperatureFilter.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTimerConductor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockTimerConfigurator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTimerHardware.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockTimerInterruptHandler.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTimerModel.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/MockUsartBaudRateRegisterCalculator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockUsartConductor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockUsartConfigurator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockUsartHardware.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockUsartModel.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/MockUsartPutChar.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/Model.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TaskScheduler.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TemperatureCalculator.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TemperatureFilter.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TestAdcConductor.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/TestAdcConductor_runner.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestAdcHardware.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestAdcHardware_runner.d +0 -9
- data/examples/temp_sensor/build/test/dependencies/TestAdcModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestAdcModel_runner.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/TestExecutor.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestExecutor_runner.d +0 -11
- data/examples/temp_sensor/build/test/dependencies/TestMain.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestMain_runner.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/TestModel.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/TestModel_runner.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator.d +0 -5
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTimerConductor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestTimerConductor_runner.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/TestTimerHardware.d +0 -5
- data/examples/temp_sensor/build/test/dependencies/TestTimerHardware_runner.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestTimerModel.d +0 -5
- data/examples/temp_sensor/build/test/dependencies/TestTimerModel_runner.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator.d +0 -5
- data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestUsartConductor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestUsartConductor_runner.d +0 -9
- data/examples/temp_sensor/build/test/dependencies/TestUsartHardware.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/TestUsartHardware_runner.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestUsartModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestUsartModel_runner.d +0 -9
- data/examples/temp_sensor/build/test/dependencies/TimerConductor.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/TimerHardware.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TimerModel.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/UnityHelper.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/UsartBaudRateRegisterCalculator.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/UsartConductor.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/UsartHardware.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/UsartModel.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/cmock.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/unity.d +0 -4
- data/examples/temp_sensor/build/test/mocks/MockAdcConductor.c +0 -391
- data/examples/temp_sensor/build/test/mocks/MockAdcConductor.h +0 -64
- data/examples/temp_sensor/build/test/mocks/MockAdcHardware.c +0 -313
- data/examples/temp_sensor/build/test/mocks/MockAdcHardware.h +0 -58
- data/examples/temp_sensor/build/test/mocks/MockAdcHardwareConfigurator.c +0 -218
- data/examples/temp_sensor/build/test/mocks/MockAdcHardwareConfigurator.h +0 -52
- data/examples/temp_sensor/build/test/mocks/MockAdcModel.c +0 -453
- data/examples/temp_sensor/build/test/mocks/MockAdcModel.h +0 -64
- data/examples/temp_sensor/build/test/mocks/MockAdcTemperatureSensor.c +0 -252
- data/examples/temp_sensor/build/test/mocks/MockAdcTemperatureSensor.h +0 -52
- data/examples/temp_sensor/build/test/mocks/MockExecutor.c +0 -174
- data/examples/temp_sensor/build/test/mocks/MockExecutor.h +0 -46
- data/examples/temp_sensor/build/test/mocks/MockIntrinsicsWrapper.c +0 -157
- data/examples/temp_sensor/build/test/mocks/MockIntrinsicsWrapper.h +0 -46
- data/examples/temp_sensor/build/test/mocks/MockModel.c +0 -96
- data/examples/temp_sensor/build/test/mocks/MockModel.h +0 -40
- data/examples/temp_sensor/build/test/mocks/MockTaskScheduler.c +0 -326
- data/examples/temp_sensor/build/test/mocks/MockTaskScheduler.h +0 -58
- data/examples/temp_sensor/build/test/mocks/MockTemperatureCalculator.c +0 -126
- data/examples/temp_sensor/build/test/mocks/MockTemperatureCalculator.h +0 -40
- data/examples/temp_sensor/build/test/mocks/MockTemperatureFilter.c +0 -248
- data/examples/temp_sensor/build/test/mocks/MockTemperatureFilter.h +0 -52
- data/examples/temp_sensor/build/test/mocks/MockTimerConductor.c +0 -157
- data/examples/temp_sensor/build/test/mocks/MockTimerConductor.h +0 -46
- data/examples/temp_sensor/build/test/mocks/MockTimerConfigurator.c +0 -523
- data/examples/temp_sensor/build/test/mocks/MockTimerConfigurator.h +0 -82
- data/examples/temp_sensor/build/test/mocks/MockTimerHardware.c +0 -96
- data/examples/temp_sensor/build/test/mocks/MockTimerHardware.h +0 -40
- data/examples/temp_sensor/build/test/mocks/MockTimerInterruptHandler.c +0 -248
- data/examples/temp_sensor/build/test/mocks/MockTimerInterruptHandler.h +0 -52
- data/examples/temp_sensor/build/test/mocks/MockTimerModel.c +0 -109
- data/examples/temp_sensor/build/test/mocks/MockTimerModel.h +0 -40
- data/examples/temp_sensor/build/test/mocks/MockUsartBaudRateRegisterCalculator.c +0 -133
- data/examples/temp_sensor/build/test/mocks/MockUsartBaudRateRegisterCalculator.h +0 -40
- data/examples/temp_sensor/build/test/mocks/MockUsartConductor.c +0 -157
- data/examples/temp_sensor/build/test/mocks/MockUsartConductor.h +0 -46
- data/examples/temp_sensor/build/test/mocks/MockUsartConfigurator.c +0 -414
- data/examples/temp_sensor/build/test/mocks/MockUsartConfigurator.h +0 -70
- data/examples/temp_sensor/build/test/mocks/MockUsartHardware.c +0 -183
- data/examples/temp_sensor/build/test/mocks/MockUsartHardware.h +0 -46
- data/examples/temp_sensor/build/test/mocks/MockUsartModel.c +0 -269
- data/examples/temp_sensor/build/test/mocks/MockUsartModel.h +0 -52
- data/examples/temp_sensor/build/test/mocks/MockUsartPutChar.c +0 -109
- data/examples/temp_sensor/build/test/mocks/MockUsartPutChar.h +0 -40
- data/examples/temp_sensor/build/test/out/TestAdcConductor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware.out +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel.out +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestMain.out +0 -0
- data/examples/temp_sensor/build/test/out/TestModel.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTaskScheduler.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureCalculator.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureFilter.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel.out +0 -0
- data/examples/temp_sensor/build/test/out/c/AdcConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/AdcHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/AdcModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/Executor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/Main.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockAdcConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockAdcHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockAdcHardwareConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockAdcModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockAdcTemperatureSensor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockExecutor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockIntrinsicsWrapper.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTemperatureCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTimerConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTimerConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTimerHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTimerInterruptHandler.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockTimerModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockUsartBaudRateRegisterCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockUsartConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockUsartConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockUsartHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockUsartModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/MockUsartPutChar.o +0 -0
- data/examples/temp_sensor/build/test/out/c/Model.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TemperatureCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestAdcConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestAdcConductor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestAdcHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestAdcHardware_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestAdcModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestAdcModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestExecutor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestExecutor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestMain.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestMain_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTaskScheduler_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTemperatureCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTemperatureCalculator_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTemperatureFilter_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTimerConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTimerConductor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTimerHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTimerHardware_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTimerModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestTimerModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartBaudRateRegisterCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartBaudRateRegisterCalculator_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartConductor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartHardware_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TestUsartModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TimerConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TimerHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/TimerModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/c/UsartBaudRateRegisterCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/c/UsartConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/c/UsartHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/c/UsartModel.o +0 -0
- data/examples/temp_sensor/build/test/out/c/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/c/unity.o +0 -0
- data/examples/temp_sensor/build/test/preprocess/files/AdcConductor.h +0 -20
- data/examples/temp_sensor/build/test/preprocess/files/AdcHardware.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/AdcHardwareConfigurator.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/AdcModel.h +0 -20
- data/examples/temp_sensor/build/test/preprocess/files/AdcTemperatureSensor.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/Executor.h +0 -12
- data/examples/temp_sensor/build/test/preprocess/files/IntrinsicsWrapper.h +0 -9
- data/examples/temp_sensor/build/test/preprocess/files/Model.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TemperatureCalculator.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TemperatureFilter.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor.c +0 -169
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware.c +0 -82
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel.c +0 -59
- data/examples/temp_sensor/build/test/preprocess/files/TestExecutor.c +0 -63
- data/examples/temp_sensor/build/test/preprocess/files/TestMain.c +0 -43
- data/examples/temp_sensor/build/test/preprocess/files/TestModel.c +0 -34
- data/examples/temp_sensor/build/test/preprocess/files/TestTaskScheduler.c +0 -204
- data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureCalculator.c +0 -70
- data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureFilter.c +0 -154
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor.c +0 -57
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerHardware.c +0 -47
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerModel.c +0 -31
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartBaudRateRegisterCalculator.c +0 -38
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor.c +0 -73
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware.c +0 -66
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel.c +0 -73
- data/examples/temp_sensor/build/test/preprocess/files/TimerConductor.h +0 -12
- data/examples/temp_sensor/build/test/preprocess/files/TimerConfigurator.h +0 -24
- data/examples/temp_sensor/build/test/preprocess/files/TimerHardware.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TimerInterruptHandler.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TimerModel.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/UsartBaudRateRegisterCalculator.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/UsartConductor.h +0 -9
- data/examples/temp_sensor/build/test/preprocess/files/UsartConfigurator.h +0 -20
- data/examples/temp_sensor/build/test/preprocess/files/UsartHardware.h +0 -12
- data/examples/temp_sensor/build/test/preprocess/files/UsartModel.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/UsartPutChar.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/includes/AdcConductor.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/AdcHardware.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/AdcHardwareConfigurator.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/AdcModel.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/AdcTemperatureSensor.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/Executor.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/IntrinsicsWrapper.h +0 -1
- data/examples/temp_sensor/build/test/preprocess/includes/Model.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TaskScheduler.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TemperatureCalculator.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TemperatureFilter.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor.c +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware.c +0 -6
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel.c +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor.c +0 -9
- data/examples/temp_sensor/build/test/preprocess/includes/TestMain.c +0 -5
- data/examples/temp_sensor/build/test/preprocess/includes/TestModel.c +0 -6
- data/examples/temp_sensor/build/test/preprocess/includes/TestTaskScheduler.c +0 -4
- data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureCalculator.c +0 -4
- data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureFilter.c +0 -4
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor.c +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerHardware.c +0 -5
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerModel.c +0 -5
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartBaudRateRegisterCalculator.c +0 -4
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor.c +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware.c +0 -6
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel.c +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TimerConductor.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TimerConfigurator.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TimerHardware.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TimerInterruptHandler.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TimerModel.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/UsartBaudRateRegisterCalculator.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/UsartConductor.h +0 -1
- data/examples/temp_sensor/build/test/preprocess/includes/UsartConfigurator.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/UsartHardware.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/UsartModel.h +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/UsartPutChar.h +0 -2
- data/examples/temp_sensor/build/test/results/TestAdcConductor.pass +0 -46
- data/examples/temp_sensor/build/test/results/TestAdcHardware.pass +0 -30
- data/examples/temp_sensor/build/test/results/TestAdcModel.pass +0 -26
- data/examples/temp_sensor/build/test/results/TestExecutor.pass +0 -22
- data/examples/temp_sensor/build/test/results/TestMain.pass +0 -18
- data/examples/temp_sensor/build/test/results/TestModel.pass +0 -18
- data/examples/temp_sensor/build/test/results/TestTaskScheduler.pass +0 -46
- data/examples/temp_sensor/build/test/results/TestTemperatureCalculator.pass +0 -22
- data/examples/temp_sensor/build/test/results/TestTemperatureFilter.pass +0 -30
- data/examples/temp_sensor/build/test/results/TestTimerConductor.pass +0 -22
- data/examples/temp_sensor/build/test/results/TestTimerHardware.pass +0 -18
- data/examples/temp_sensor/build/test/results/TestTimerModel.pass +0 -18
- data/examples/temp_sensor/build/test/results/TestUsartBaudRateRegisterCalculator.pass +0 -18
- data/examples/temp_sensor/build/test/results/TestUsartConductor.pass +0 -26
- data/examples/temp_sensor/build/test/results/TestUsartHardware.pass +0 -22
- data/examples/temp_sensor/build/test/results/TestUsartModel.pass +0 -30
- data/examples/temp_sensor/build/test/runners/TestAdcConductor_runner.c +0 -105
- data/examples/temp_sensor/build/test/runners/TestAdcHardware_runner.c +0 -97
- data/examples/temp_sensor/build/test/runners/TestAdcModel_runner.c +0 -99
- data/examples/temp_sensor/build/test/runners/TestExecutor_runner.c +0 -105
- data/examples/temp_sensor/build/test/runners/TestMain_runner.c +0 -87
- data/examples/temp_sensor/build/test/runners/TestModel_runner.c +0 -91
- data/examples/temp_sensor/build/test/runners/TestTaskScheduler_runner.c +0 -95
- data/examples/temp_sensor/build/test/runners/TestTemperatureCalculator_runner.c +0 -83
- data/examples/temp_sensor/build/test/runners/TestTemperatureFilter_runner.c +0 -87
- data/examples/temp_sensor/build/test/runners/TestTimerConductor_runner.c +0 -97
- data/examples/temp_sensor/build/test/runners/TestTimerHardware_runner.c +0 -87
- data/examples/temp_sensor/build/test/runners/TestTimerModel_runner.c +0 -87
- data/examples/temp_sensor/build/test/runners/TestUsartBaudRateRegisterCalculator_runner.c +0 -81
- data/examples/temp_sensor/build/test/runners/TestUsartConductor_runner.c +0 -99
- data/examples/temp_sensor/build/test/runners/TestUsartHardware_runner.c +0 -93
- data/examples/temp_sensor/build/test/runners/TestUsartModel_runner.c +0 -97
- data/lib/ceedling/build_invoker_utils.rb +0 -39
- data/lib/ceedling/cmock_builder.rb +0 -15
- data/lib/ceedling/file_system_utils.rb +0 -69
- data/lib/ceedling/par_map.rb +0 -19
- data/lib/ceedling/plugin_builder.rb +0 -53
- data/lib/ceedling/preprocessinator_helper.rb +0 -50
- data/lib/ceedling/project_config_manager.rb +0 -52
- data/lib/ceedling/project_file_loader.rb +0 -99
- data/lib/ceedling/rules_cmock.rake +0 -9
- data/lib/ceedling/rules_preprocess.rake +0 -26
- data/lib/ceedling/rules_release_deep_dependencies.rake +0 -15
- data/lib/ceedling/rules_tests_deep_dependencies.rake +0 -15
- data/lib/ceedling/streaminator.rb +0 -40
- data/lib/ceedling/streaminator_helper.rb +0 -15
- data/lib/ceedling/target_loader.rb +0 -38
- data/lib/ceedling/tasks_release_deep_dependencies.rake +0 -9
- data/lib/ceedling/tasks_tests_deep_dependencies.rake +0 -9
- data/lib/ceedling/tasks_vendor.rake +0 -35
- data/lib/ceedling/test_includes_extractor.rb +0 -111
- data/lib/ceedling/version.rb +0 -54
- data/out.fail +0 -24
- data/plugins/colour_report/README.md +0 -20
- data/plugins/colour_report/lib/colour_report.rb +0 -16
- data/plugins/compile_commands_json/README.md +0 -29
- data/plugins/compile_commands_json/lib/compile_commands_json.rb +0 -35
- data/plugins/fake_function_framework/Rakefile +0 -19
- data/plugins/fake_function_framework/examples/fff_example/project.yml +0 -71
- data/plugins/fake_function_framework/examples/fff_example/rakefile.rb +0 -7
- data/plugins/fake_function_framework/examples/fff_example/src/bar.c +0 -1
- data/plugins/fake_function_framework/examples/fff_example/src/custom_types.h +0 -6
- data/plugins/fake_function_framework/examples/fff_example/src/display.c +0 -7
- data/plugins/fake_function_framework/examples/fff_example/src/foo.c +0 -16
- data/plugins/fake_function_framework/examples/fff_example/src/foo.h +0 -8
- data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.c +0 -1
- data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.h +0 -6
- data/plugins/gcov/assets/template.erb +0 -15
- data/plugins/json_tests_report/README.md +0 -36
- data/plugins/json_tests_report/lib/json_tests_report.rb +0 -83
- data/plugins/junit_tests_report/README.md +0 -36
- data/plugins/junit_tests_report/lib/junit_tests_report.rb +0 -134
- data/plugins/raw_output_report/README.md +0 -19
- data/plugins/raw_output_report/lib/raw_output_report.rb +0 -41
- data/plugins/stdout_gtestlike_tests_report/README.md +0 -19
- data/plugins/stdout_gtestlike_tests_report/assets/template.erb copy +0 -59
- data/plugins/stdout_gtestlike_tests_report/config/stdout_gtestlike_tests_report.yml +0 -4
- data/plugins/stdout_gtestlike_tests_report/lib/stdout_gtestlike_tests_report.rb +0 -43
- data/plugins/stdout_ide_tests_report/README.md +0 -18
- data/plugins/stdout_ide_tests_report/config/stdout_ide_tests_report.yml +0 -4
- data/plugins/stdout_ide_tests_report/lib/stdout_ide_tests_report.rb +0 -44
- data/plugins/stdout_pretty_tests_report/README.md +0 -20
- data/plugins/stdout_pretty_tests_report/config/stdout_pretty_tests_report.yml +0 -4
- data/plugins/stdout_pretty_tests_report/lib/stdout_pretty_tests_report.rb +0 -47
- data/plugins/subprojects/README.md +0 -63
- data/plugins/subprojects/config/defaults.yml +0 -33
- data/plugins/subprojects/lib/subprojects.rb +0 -92
- data/plugins/subprojects/subprojects.rake +0 -78
- data/plugins/teamcity_tests_report/README.md +0 -18
- data/plugins/teamcity_tests_report/config/teamcity_tests_report.yml +0 -4
- data/plugins/teamcity_tests_report/lib/teamcity_tests_report.rb +0 -57
- data/plugins/warnings_report/README.md +0 -19
- data/plugins/warnings_report/lib/warnings_report.rb +0 -69
- data/plugins/xml_tests_report/README.md +0 -36
- data/plugins/xml_tests_report/lib/xml_tests_report.rb +0 -110
- data/spec/build_invoker_utils_spec.rb +0 -54
- data/spec/ceedling_spec.rb +0 -154
- data/spec/par_map_spec.rb +0 -57
- data/spec/system/deployment_spec.rb +0 -256
- data/spec/target_loader_spec.rb +0 -30
- data/spec/uncatagorized_specs_spec.rb +0 -8
- data/vendor/behaviors/Manifest.txt +0 -9
- data/vendor/behaviors/Rakefile +0 -19
- data/vendor/behaviors/lib/behaviors/reporttask.rb +0 -158
- data/vendor/behaviors/lib/behaviors.rb +0 -76
- data/vendor/behaviors/test/behaviors_tasks_test.rb +0 -73
- data/vendor/behaviors/test/behaviors_test.rb +0 -50
- data/vendor/behaviors/test/tasks_test/Rakefile +0 -19
- data/vendor/behaviors/test/tasks_test/lib/user.rb +0 -2
- data/vendor/behaviors/test/tasks_test/test/user_test.rb +0 -17
- data/vendor/c_exception/Gemfile +0 -4
- data/vendor/c_exception/Gemfile.lock +0 -12
- data/vendor/cmock/examples/temp_sensor/gcc.yml +0 -44
- data/vendor/cmock/examples/temp_sensor/iar_v4.yml +0 -92
- data/vendor/cmock/examples/temp_sensor/iar_v5.yml +0 -81
- data/vendor/cmock/vendor/c_exception/Gemfile +0 -4
- data/vendor/cmock/vendor/c_exception/Gemfile.lock +0 -12
- data/vendor/hardmock/CHANGES +0 -78
- data/vendor/hardmock/LICENSE +0 -7
- data/vendor/hardmock/README +0 -70
- data/vendor/hardmock/Rakefile +0 -8
- data/vendor/hardmock/config/environment.rb +0 -12
- data/vendor/hardmock/lib/assert_error.rb +0 -23
- data/vendor/hardmock/lib/extend_test_unit.rb +0 -14
- data/vendor/hardmock/lib/hardmock/errors.rb +0 -22
- data/vendor/hardmock/lib/hardmock/expectation.rb +0 -229
- data/vendor/hardmock/lib/hardmock/expectation_builder.rb +0 -9
- data/vendor/hardmock/lib/hardmock/expector.rb +0 -26
- data/vendor/hardmock/lib/hardmock/method_cleanout.rb +0 -33
- data/vendor/hardmock/lib/hardmock/mock.rb +0 -180
- data/vendor/hardmock/lib/hardmock/mock_control.rb +0 -53
- data/vendor/hardmock/lib/hardmock/stubbing.rb +0 -210
- data/vendor/hardmock/lib/hardmock/trapper.rb +0 -31
- data/vendor/hardmock/lib/hardmock/utils.rb +0 -9
- data/vendor/hardmock/lib/hardmock.rb +0 -86
- data/vendor/hardmock/lib/test_unit_before_after.rb +0 -169
- data/vendor/hardmock/rake_tasks/rdoc.rake +0 -19
- data/vendor/hardmock/rake_tasks/rdoc_options.rb +0 -4
- data/vendor/hardmock/rake_tasks/test.rake +0 -22
- data/vendor/hardmock/test/functional/assert_error_test.rb +0 -52
- data/vendor/hardmock/test/functional/auto_verify_test.rb +0 -178
- data/vendor/hardmock/test/functional/direct_mock_usage_test.rb +0 -396
- data/vendor/hardmock/test/functional/hardmock_test.rb +0 -434
- data/vendor/hardmock/test/functional/stubbing_test.rb +0 -479
- data/vendor/hardmock/test/test_helper.rb +0 -43
- data/vendor/hardmock/test/unit/expectation_builder_test.rb +0 -19
- data/vendor/hardmock/test/unit/expectation_test.rb +0 -372
- data/vendor/hardmock/test/unit/expector_test.rb +0 -57
- data/vendor/hardmock/test/unit/method_cleanout_test.rb +0 -36
- data/vendor/hardmock/test/unit/mock_control_test.rb +0 -175
- data/vendor/hardmock/test/unit/mock_test.rb +0 -279
- data/vendor/hardmock/test/unit/test_unit_before_after_test.rb +0 -452
- data/vendor/hardmock/test/unit/trapper_test.rb +0 -62
- data/vendor/hardmock/test/unit/verify_error_test.rb +0 -40
data/bin/cli.rb
ADDED
@@ -0,0 +1,542 @@
|
|
1
|
+
# =========================================================================
|
2
|
+
# Ceedling - Test-Centered Build System for C
|
3
|
+
# ThrowTheSwitch.org
|
4
|
+
# Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
5
|
+
# SPDX-License-Identifier: MIT
|
6
|
+
# =========================================================================
|
7
|
+
|
8
|
+
require 'thor'
|
9
|
+
require 'ceedling/constants' # From Ceedling application
|
10
|
+
|
11
|
+
##
|
12
|
+
## Command Line Handling
|
13
|
+
## =====================
|
14
|
+
##
|
15
|
+
## OVERVIEW
|
16
|
+
## --------
|
17
|
+
## Ceedling's command line handling marries Thor and Rake. Thor does not call
|
18
|
+
## Rake. Rather, a handful of command line conventions, edge case handling,
|
19
|
+
## and Thor features are stitched together to ensure a given command line is
|
20
|
+
## processed by Thor and/or Rake.
|
21
|
+
##
|
22
|
+
## Ceedling's command line is processed with these mechanisms:
|
23
|
+
## 1. Special / edge case hacking of ARGV directly.
|
24
|
+
## 2. Thor for all application commands and flags.
|
25
|
+
## 3. Handing off to Rake from either (1) or (2) for task listing or running
|
26
|
+
## build tasks.
|
27
|
+
##
|
28
|
+
## EDGE CASE HACKING
|
29
|
+
## -----------------
|
30
|
+
## Special / edge cases:
|
31
|
+
## 1. Silent backwards compatibility support for Rake's `-T`.
|
32
|
+
## 2. Thor does not recognize "naked" Rake build tasks as application commands
|
33
|
+
## (`ceedling test:all` instead of `ceedling build test:all`). So, we catch
|
34
|
+
## this exception and then provide the command line back to Thor as a `build`
|
35
|
+
## command line. This also allows us to ensure Thor processes `build` option
|
36
|
+
## flags following naked build tasks that would otherwise be ignored if
|
37
|
+
## we simply passed a failing command line to Rake.
|
38
|
+
##
|
39
|
+
## THOR
|
40
|
+
## ----
|
41
|
+
## Thor is configured or overridden with these special attributes:
|
42
|
+
## * The default task is `build`. This means that if the `build` keyword is
|
43
|
+
## omitted but Thor otherwise recognizes the command line (a `build` flag is
|
44
|
+
## the first item on the command line), it will process it as the `build`
|
45
|
+
## command. The build command takes flags and tasks. Tasks are handed off to
|
46
|
+
## Rake to process. If no `build` keyword is present and `build` flags come
|
47
|
+
## after tasks, Thor sees the command line as unhandled commands.
|
48
|
+
## * The PermissiveCLI code handles unrecognized command exception so as to
|
49
|
+
## eat the Thor complaint and re-throw the exception for edge case handling.
|
50
|
+
##
|
51
|
+
## NOTES
|
52
|
+
## -----
|
53
|
+
## * Ultimately, any unrecognized command or task is processed by Rake, and
|
54
|
+
## Rake makes the complaint.
|
55
|
+
##
|
56
|
+
|
57
|
+
|
58
|
+
##
|
59
|
+
## This Class
|
60
|
+
## ==========
|
61
|
+
##
|
62
|
+
## The nature of Thor more-or-less requires this class to be used as a class
|
63
|
+
## and not as an insantiated object. This shows up in a variety of ways:
|
64
|
+
## * The calling convention is `CeedlingTasks::CLI.start( ARGV )`
|
65
|
+
## * Many of the methods necessary to configure the CLI class are class
|
66
|
+
## methods in Thor and are called that way.
|
67
|
+
##
|
68
|
+
## The nature of Thor both requires and allows for some slightly ugly or
|
69
|
+
## brittle code -- relying on globals, etc.
|
70
|
+
##
|
71
|
+
## Because of this, care has been taken that this class contains as little
|
72
|
+
## logic as possible and is the funnel for any and all necessary global
|
73
|
+
## references and other little oddball needs.
|
74
|
+
##
|
75
|
+
|
76
|
+
|
77
|
+
# Special handling to prevent Thor from barfing on unrecognized CLI arguments
|
78
|
+
# (i.e. Rake tasks)
|
79
|
+
module PermissiveCLI
|
80
|
+
def self.extended(base)
|
81
|
+
super
|
82
|
+
base.check_unknown_options!
|
83
|
+
end
|
84
|
+
|
85
|
+
# Redefine the Thor CLI entrypoint and exception handling
|
86
|
+
def start(args, config={})
|
87
|
+
begin
|
88
|
+
# Copy args as Thor changes them within the call chain of dispatch()
|
89
|
+
_args = args.clone()
|
90
|
+
|
91
|
+
# Call Thor's handlers as it does in start()
|
92
|
+
config[:shell] ||= Thor::Base.shell.new
|
93
|
+
dispatch(nil, args, nil, config)
|
94
|
+
|
95
|
+
# Handle undefined commands at top-level and for `help <command>`
|
96
|
+
rescue Thor::UndefinedCommandError => ex
|
97
|
+
# Handle `help` for an argument that is not an application command such as `new` or `build`
|
98
|
+
if _args[0].downcase() == 'help'
|
99
|
+
|
100
|
+
# Raise fatal StandardError to differentiate from UndefinedCommandError
|
101
|
+
msg = "Argument '#{_args[1]}' is not a recognized application command with detailed help. " +
|
102
|
+
"It may be a build / plugin task without detailed help or simply a goof."
|
103
|
+
raise( msg )
|
104
|
+
|
105
|
+
# Otherwise, eat unhandled command errors
|
106
|
+
else
|
107
|
+
# - No error message
|
108
|
+
# - No `exit()`
|
109
|
+
# - Re-raise to allow special, external CLI handling logic
|
110
|
+
raise ex
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
module CeedlingTasks
|
117
|
+
|
118
|
+
VERBOSITY_NORMAL = 'normal'
|
119
|
+
VERBOSITY_DEBUG = 'debug'
|
120
|
+
|
121
|
+
DOC_LOCAL_FLAG = "Install Ceedling plus supporting tools to vendor/"
|
122
|
+
|
123
|
+
DOC_DOCS_FLAG = "Copy all documentation to docs/ subdirectory of project"
|
124
|
+
|
125
|
+
DOC_PROJECT_FLAG = "Loads the filepath as your base project configuration"
|
126
|
+
|
127
|
+
DOC_MIXIN_FLAG = "Merges the configuration mixin by name or filepath."
|
128
|
+
|
129
|
+
LONGDOC_LOCAL_FLAG = "`--local` copies Ceedling and its dependencies to a vendor/
|
130
|
+
subdirectory in the root of the project. It also installs a
|
131
|
+
platform-appropriate executable script `ceedling` at the root of the
|
132
|
+
project."
|
133
|
+
|
134
|
+
LONGDOC_MIXIN_FLAG = "`--mixin` merges the specified configuration mixin. This
|
135
|
+
flag may be repeated for multiple mixins. A simple mixin name initiates a
|
136
|
+
lookup from within mixin load paths in your project file and among built-in
|
137
|
+
mixins. A filepath and/or filename (with extension) will instead merge the
|
138
|
+
specified YAML file. See documentation for complete details.
|
139
|
+
\x5> --mixin my_compiler --mixin my/path/mixin.yml"
|
140
|
+
|
141
|
+
# Intentionally disallowed Linux/Unix/Windows filename characters to minimize the chance
|
142
|
+
# of mistakenly filtering various string-base flags missing a parmeter
|
143
|
+
CLI_MISSING_PARAMETER_DEFAULT = "/<>\\||*"
|
144
|
+
|
145
|
+
class CLI < Thor
|
146
|
+
include Thor::Actions
|
147
|
+
extend PermissiveCLI
|
148
|
+
|
149
|
+
# Ensure we bail out with non-zero exit code if the command line is wrong
|
150
|
+
def self.exit_on_failure?() true end
|
151
|
+
|
152
|
+
# Allow `build` to be omitted in command line
|
153
|
+
default_command( :build )
|
154
|
+
|
155
|
+
# Intercept construction to extract configuration and injected dependencies
|
156
|
+
def initialize(args, config, options)
|
157
|
+
super(args, config, options)
|
158
|
+
|
159
|
+
@app_cfg = options[:app_cfg]
|
160
|
+
@handler = options[:objects][:cli_handler]
|
161
|
+
|
162
|
+
@loginator = options[:objects][:loginator]
|
163
|
+
|
164
|
+
# Set the name for labelling CLI interactions
|
165
|
+
CLI::package_name( @loginator.decorate( 'Ceedling application', LogLabels::TITLE ) )
|
166
|
+
end
|
167
|
+
|
168
|
+
|
169
|
+
# Override Thor help to list Rake tasks as well
|
170
|
+
desc "help [COMMAND]", "Describe available commands and list build operations"
|
171
|
+
method_option :project, :type => :string, :default => nil, :lazy_default => CLI_MISSING_PARAMETER_DEFAULT, :aliases => ['-p'], :desc => DOC_PROJECT_FLAG
|
172
|
+
method_option :mixin, :type => :string, :default => [], :repeatable => true, :aliases => ['-m'], :desc => DOC_MIXIN_FLAG
|
173
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
174
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
175
|
+
<<-LONGDESC
|
176
|
+
`ceedling help` provides summary help for all available application commands
|
177
|
+
and build tasks.
|
178
|
+
|
179
|
+
COMMAND is optional and will produce detailed help for a specific application command --
|
180
|
+
not a build or plugin task, however.
|
181
|
+
|
182
|
+
`ceedling help` also lists the available build operations from loading your
|
183
|
+
project configuration. Optionally, a project filepath and/or mixins may be
|
184
|
+
provided to load a different project configuration than the default.
|
185
|
+
|
186
|
+
Notes on Optional Flags:
|
187
|
+
|
188
|
+
• #{LONGDOC_MIXIN_FLAG}
|
189
|
+
LONGDESC
|
190
|
+
) )
|
191
|
+
def help(command=nil)
|
192
|
+
@handler.validate_string_param(
|
193
|
+
options[:project],
|
194
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
195
|
+
"--project is missing a required filepath parameter"
|
196
|
+
)
|
197
|
+
|
198
|
+
# Get unfrozen copies so we can add / modify
|
199
|
+
_options = options.dup()
|
200
|
+
_options[:project] = options[:project].dup() if !options[:project].nil?
|
201
|
+
_options[:mixin] = []
|
202
|
+
options[:mixin].each {|mixin| _options[:mixin] << mixin.dup() }
|
203
|
+
|
204
|
+
_options[:verbosity] = options[:debug] ? VERBOSITY_DEBUG : nil
|
205
|
+
|
206
|
+
# Call application help with block to execute Thor's built-in help in the help logic
|
207
|
+
@handler.app_help( ENV, @app_cfg, _options, command ) { |command| super(command) }
|
208
|
+
end
|
209
|
+
|
210
|
+
|
211
|
+
desc "new NAME [DEST]", "Create a new project structure at optional DEST path"
|
212
|
+
method_option :local, :type => :boolean, :default => false, :desc => DOC_LOCAL_FLAG
|
213
|
+
method_option :docs, :type => :boolean, :default => false, :desc => DOC_DOCS_FLAG
|
214
|
+
method_option :configs, :type => :boolean, :default => true, :desc => "Install starter project file in project root"
|
215
|
+
method_option :force, :type => :boolean, :default => false, :desc => "Ignore any existing project and recreate destination"
|
216
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
217
|
+
method_option :gitsupport, :type => :boolean, :default => false, :desc => "Create .gitignore / .gitkeep files for convenience"
|
218
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
219
|
+
<<-LONGDESC
|
220
|
+
`ceedling new` creates a new project structure.
|
221
|
+
|
222
|
+
NAME is required and will be the containing directory for the new project.
|
223
|
+
|
224
|
+
DEST is an optional directory path for the new project (e.g. <DEST>/<name>).
|
225
|
+
The default is your working directory. Nonexistent paths will be created.
|
226
|
+
|
227
|
+
Notes on Optional Flags:
|
228
|
+
|
229
|
+
• #{LONGDOC_LOCAL_FLAG}
|
230
|
+
|
231
|
+
• `--force` completely destroys anything found in the target path for the
|
232
|
+
new project.
|
233
|
+
LONGDESC
|
234
|
+
) )
|
235
|
+
def new(name, dest=nil)
|
236
|
+
require 'version' # lib/version.rb for TAG constant
|
237
|
+
|
238
|
+
# Get unfrozen copies so we can add / modify
|
239
|
+
_options = options.dup()
|
240
|
+
_dest = dest.dup() if !dest.nil?
|
241
|
+
|
242
|
+
_options[:verbosity] = options[:debug] ? VERBOSITY_DEBUG : nil
|
243
|
+
|
244
|
+
@handler.new_project( ENV, @app_cfg, Ceedling::Version::TAG, _options, name, _dest )
|
245
|
+
end
|
246
|
+
|
247
|
+
desc "upgrade PATH", "Upgrade vendored installation of Ceedling for a project at PATH"
|
248
|
+
method_option :project, :type => :string, :default => DEFAULT_PROJECT_FILENAME, :lazy_default => CLI_MISSING_PARAMETER_DEFAULT, :desc => "Project filename"
|
249
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
250
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
251
|
+
<<-LONGDESC
|
252
|
+
`ceedling upgrade` updates an existing project.
|
253
|
+
|
254
|
+
PATH is required and should be the root of the project to upgrade.
|
255
|
+
|
256
|
+
This command only meaningfully operates on projects wth a local vendored copy
|
257
|
+
of Ceedling (in <project>/vendor/) and optional documentation (in
|
258
|
+
<project>/docs/).
|
259
|
+
|
260
|
+
Running this command replaces vendored Ceedling with the version running
|
261
|
+
this command. If docs are found, they will be replaced.
|
262
|
+
|
263
|
+
A basic check for project existence looks for vendored ceedlng and a project
|
264
|
+
configuration file.
|
265
|
+
|
266
|
+
Notes on Optional Flags:
|
267
|
+
|
268
|
+
• `--project` specifies a filename (optionally with leading path) for the
|
269
|
+
project configuration file used in the project existence check. Otherwise,
|
270
|
+
the default ./#{DEFAULT_PROJECT_FILENAME} at the root of the project is
|
271
|
+
checked.
|
272
|
+
LONGDESC
|
273
|
+
) )
|
274
|
+
def upgrade(path)
|
275
|
+
@handler.validate_string_param(
|
276
|
+
options[:project],
|
277
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
278
|
+
"--project is missing a required filename parameter"
|
279
|
+
)
|
280
|
+
|
281
|
+
# Get unfrozen copies so we can add / modify
|
282
|
+
_options = options.dup()
|
283
|
+
_options[:project] = options[:project].dup()
|
284
|
+
_path = path.dup()
|
285
|
+
|
286
|
+
_options[:verbosity] = options[:debug] ? VERBOSITY_DEBUG : nil
|
287
|
+
|
288
|
+
@handler.upgrade_project( ENV, @app_cfg, _options, _path )
|
289
|
+
end
|
290
|
+
|
291
|
+
|
292
|
+
desc "build [TASKS...]", "Run build tasks (`build` keyword not required)"
|
293
|
+
method_option :project, :type => :string, :default => nil, :lazy_default => CLI_MISSING_PARAMETER_DEFAULT, :aliases => ['-p'], :desc => DOC_PROJECT_FLAG
|
294
|
+
method_option :mixin, :type => :string, :default => [], :repeatable => true, :aliases => ['-m'], :desc => DOC_MIXIN_FLAG
|
295
|
+
method_option :verbosity, :type => :string, :default => VERBOSITY_NORMAL, :lazy_default => CLI_MISSING_PARAMETER_DEFAULT, :aliases => ['-v'],
|
296
|
+
:desc => "Sets logging level"
|
297
|
+
method_option :log, :type => :boolean, :default => nil,
|
298
|
+
:desc => "Enable logging to <build path>/#{DEFAULT_BUILD_LOGS_PATH}/#{DEFAULT_CEEDLING_LOGFILE}"
|
299
|
+
# :lazy_default allows us to check for missing parameters (if no filepath given Thor unhelpfully provides the flag name as its value)
|
300
|
+
method_option :logfile, :type => :string, :aliases => ['-l'], :default => '', :lazy_default => CLI_MISSING_PARAMETER_DEFAULT,
|
301
|
+
:desc => "Enables logging to specified filepath"
|
302
|
+
method_option :graceful_fail, :type => :boolean, :default => nil, :desc => "Force exit code of 0 for unit test failures"
|
303
|
+
method_option :test_case, :type => :string, :default => '', :lazy_default => CLI_MISSING_PARAMETER_DEFAULT,
|
304
|
+
:desc => "Filter for individual unit test names"
|
305
|
+
method_option :exclude_test_case, :type => :string, :default => '', :lazy_default => CLI_MISSING_PARAMETER_DEFAULT,
|
306
|
+
:desc => "Prevent matched unit test names from running"
|
307
|
+
# Include for consistency with other commands (override --verbosity)
|
308
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
309
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
310
|
+
<<-LONGDESC
|
311
|
+
`ceedling build` executes build tasks created from your project configuration.
|
312
|
+
|
313
|
+
NOTE: `build` is not required to run tasks. The following are equivalent:
|
314
|
+
\x5 > ceedling test:all
|
315
|
+
\x5 > ceedling build test:all
|
316
|
+
|
317
|
+
TASKS are zero or more build operations created from your project configuration.
|
318
|
+
If no tasks are provided, built-in default tasks or your :project ↳
|
319
|
+
:default_tasks will be executed.
|
320
|
+
|
321
|
+
Notes on Optional Flags:
|
322
|
+
|
323
|
+
• #{LONGDOC_MIXIN_FLAG}
|
324
|
+
|
325
|
+
• `--test-case` and its inverse `--exclude-test-case` set test case name
|
326
|
+
matchers to run only a subset of the unit test suite. See docs for full details.
|
327
|
+
|
328
|
+
• `If --log and --logfile are both specified, --logfile will set the log file path.
|
329
|
+
If --no-log and --logfile are both specified, no logging will occur.
|
330
|
+
LONGDESC
|
331
|
+
) )
|
332
|
+
def build(*tasks)
|
333
|
+
@handler.validate_string_param(
|
334
|
+
options[:project],
|
335
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
336
|
+
"--project is missing a required filepath parameter"
|
337
|
+
)
|
338
|
+
|
339
|
+
@handler.validate_string_param(
|
340
|
+
options[:verbosity],
|
341
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
342
|
+
"--verbosity is missing a required parameter"
|
343
|
+
)
|
344
|
+
|
345
|
+
@handler.validate_string_param(
|
346
|
+
options[:logfile],
|
347
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
348
|
+
"--logfile is missing a required filepath parameter"
|
349
|
+
)
|
350
|
+
|
351
|
+
@handler.validate_string_param(
|
352
|
+
options[:test_case],
|
353
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
354
|
+
"--test-case is missing a required test case name parameter"
|
355
|
+
)
|
356
|
+
|
357
|
+
@handler.validate_string_param(
|
358
|
+
options[:exclude_test_case],
|
359
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
360
|
+
"--exclude-test-case is missing a required test case name parameter"
|
361
|
+
)
|
362
|
+
|
363
|
+
# Get unfrozen copies so we can add / modify
|
364
|
+
_options = options.dup()
|
365
|
+
_options[:project] = options[:project].dup() if !options[:project].nil?
|
366
|
+
_options[:mixin] = []
|
367
|
+
options[:mixin].each {|mixin| _options[:mixin] << mixin.dup() }
|
368
|
+
_options[:verbosity] = VERBOSITY_DEBUG if options[:debug]
|
369
|
+
_options[:logfile] = options[:logfile].dup()
|
370
|
+
|
371
|
+
@handler.build( env:ENV, app_cfg:@app_cfg, options:_options, tasks:tasks )
|
372
|
+
end
|
373
|
+
|
374
|
+
|
375
|
+
desc "dumpconfig FILEPATH [SECTIONS...]", "Process project configuration and write final config to a YAML file"
|
376
|
+
method_option :project, :type => :string, :default => nil, :lazy_default => CLI_MISSING_PARAMETER_DEFAULT, :aliases => ['-p'],
|
377
|
+
:desc => DOC_PROJECT_FLAG
|
378
|
+
method_option :mixin, :type => :string, :default => [], :repeatable => true, :aliases => ['-m'], :desc => DOC_MIXIN_FLAG
|
379
|
+
method_option :app, :type => :boolean, :default => true, :desc => "Runs Ceedling application and its config manipulations"
|
380
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
381
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
382
|
+
<<-LONGDESC
|
383
|
+
`ceedling dumpconfig` loads your project configuration, including all manipulations & merges,
|
384
|
+
and writes the final config to a YAML file.
|
385
|
+
|
386
|
+
FILEPATH is a required path to a destination YAML file. A nonexistent path will be created.
|
387
|
+
|
388
|
+
SECTIONS is an optional config “path” that extracts a portion of a configuration. The
|
389
|
+
top-level YAML container will be the path’s last element.
|
390
|
+
The following example will produce config.yml containing ':test_compiler: {...}'.
|
391
|
+
\x5> ceedling dumpconfig my/path/config.yml tools test_compiler
|
392
|
+
|
393
|
+
Notes on Optional Flags:
|
394
|
+
|
395
|
+
• #{LONGDOC_MIXIN_FLAG}
|
396
|
+
|
397
|
+
• `--app` loads various settings, merges defaults, loads plugin config changes, and validates
|
398
|
+
the configuration. Disabling it dumps project config after any mixins but before any
|
399
|
+
application manipulations.
|
400
|
+
LONGDESC
|
401
|
+
) )
|
402
|
+
def dumpconfig(filepath, *sections)
|
403
|
+
@handler.validate_string_param(
|
404
|
+
options[:project],
|
405
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
406
|
+
"--project is missing a required filepath parameter"
|
407
|
+
)
|
408
|
+
|
409
|
+
# Get unfrozen copies so we can add / modify
|
410
|
+
_options = options.dup()
|
411
|
+
_options[:project] = options[:project].dup() if !options[:project].nil?
|
412
|
+
_options[:mixin] = []
|
413
|
+
options[:mixin].each {|mixin| _options[:mixin] << mixin.dup() }
|
414
|
+
_filepath = filepath.dup()
|
415
|
+
|
416
|
+
_options[:verbosity] = options[:debug] ? VERBOSITY_DEBUG : nil
|
417
|
+
|
418
|
+
@handler.dumpconfig( ENV, @app_cfg, _options, _filepath, sections )
|
419
|
+
end
|
420
|
+
|
421
|
+
|
422
|
+
desc "environment", "List all configured environment variable names with values."
|
423
|
+
method_option :project, :type => :string, :default => nil, :lazy_default => CLI_MISSING_PARAMETER_DEFAULT, :aliases => ['-p'],
|
424
|
+
:desc => DOC_PROJECT_FLAG
|
425
|
+
method_option :mixin, :type => :string, :default => [], :repeatable => true, :aliases => ['-m'], :desc => DOC_MIXIN_FLAG
|
426
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
427
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
428
|
+
<<-LONGDESC
|
429
|
+
`ceedling environment` displays all environment variables that have been set for project use.
|
430
|
+
|
431
|
+
Notes on Optional Flags:
|
432
|
+
|
433
|
+
• #{LONGDOC_MIXIN_FLAG}
|
434
|
+
LONGDESC
|
435
|
+
) )
|
436
|
+
def environment()
|
437
|
+
@handler.validate_string_param(
|
438
|
+
options[:project],
|
439
|
+
CLI_MISSING_PARAMETER_DEFAULT,
|
440
|
+
"--project is missing a required filepath parameter"
|
441
|
+
)
|
442
|
+
|
443
|
+
# Get unfrozen copies so we can add / modify
|
444
|
+
_options = options.dup()
|
445
|
+
_options[:project] = options[:project].dup() if !options[:project].nil?
|
446
|
+
_options[:mixin] = []
|
447
|
+
options[:mixin].each {|mixin| _options[:mixin] << mixin.dup() }
|
448
|
+
|
449
|
+
_options[:verbosity] = options[:debug] ? VERBOSITY_DEBUG : nil
|
450
|
+
|
451
|
+
@handler.environment( ENV, @app_cfg, _options )
|
452
|
+
end
|
453
|
+
|
454
|
+
|
455
|
+
desc "examples", "List available example projects"
|
456
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
457
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
458
|
+
<<-LONGDESC
|
459
|
+
`ceedling examples` lists the names of the example projects that come packaged with Ceedling.
|
460
|
+
|
461
|
+
The output of this list is most useful when used by the `ceedling example` (no ‘s’) command
|
462
|
+
to extract an example project to your filesystem.
|
463
|
+
LONGDESC
|
464
|
+
) )
|
465
|
+
def examples()
|
466
|
+
# Get unfrozen copies so we can add / modify
|
467
|
+
_options = options.dup()
|
468
|
+
|
469
|
+
_options[:verbosity] = options[:debug] ? VERBOSITY_DEBUG : nil
|
470
|
+
|
471
|
+
@handler.list_examples( ENV, @app_cfg, _options )
|
472
|
+
end
|
473
|
+
|
474
|
+
|
475
|
+
desc "example NAME [DEST]", "Create named example project in optional DEST path"
|
476
|
+
method_option :local, :type => :boolean, :default => false, :desc => DOC_LOCAL_FLAG
|
477
|
+
method_option :docs, :type => :boolean, :default => false, :desc => DOC_DOCS_FLAG
|
478
|
+
method_option :debug, :type => :boolean, :default => false, :hide => true
|
479
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
480
|
+
<<-LONGDESC
|
481
|
+
`ceedling example` extracts the named example project from within Ceedling to
|
482
|
+
your filesystem.
|
483
|
+
|
484
|
+
NAME is required to specify the example to extract. A list of example projects
|
485
|
+
is available with the `examples` command. NAME will be the containing directory
|
486
|
+
for the extracted project.
|
487
|
+
|
488
|
+
DEST is an optional containing directory path (ex: <DEST>/<name>). The default
|
489
|
+
is your working directory. A nonexistent path will be created.
|
490
|
+
|
491
|
+
Notes on Optional Flags:
|
492
|
+
|
493
|
+
• #{LONGDOC_LOCAL_FLAG}
|
494
|
+
|
495
|
+
NOTE: `example` is destructive. If the destination path is a previoulsy created
|
496
|
+
example project, `ceedling example` will overwrite the contents.
|
497
|
+
LONGDESC
|
498
|
+
) )
|
499
|
+
def example(name, dest=nil)
|
500
|
+
# Get unfrozen copies so we can add / modify
|
501
|
+
_options = options.dup()
|
502
|
+
_dest = dest.dup() if !dest.nil?
|
503
|
+
|
504
|
+
_options[:verbosity] = options[:debug] ? VERBOSITY_DEBUG : nil
|
505
|
+
|
506
|
+
@handler.create_example( ENV, @app_cfg, _options, name, _dest )
|
507
|
+
end
|
508
|
+
|
509
|
+
|
510
|
+
desc "version", "Display version details of Ceedling components"
|
511
|
+
long_desc( CEEDLING_HANDOFF_OBJECTS[:loginator].sanitize(
|
512
|
+
<<-LONGDESC
|
513
|
+
`ceedling version` displays the version details of Ceedling and its supporting
|
514
|
+
frameworks along with Ceedling’s installation paths.
|
515
|
+
|
516
|
+
Ceedling contains launcher and application components. The launcher
|
517
|
+
handles set up, loading your project configuration, and processing your
|
518
|
+
command line. The application runs your build and plugin tasks. The
|
519
|
+
launcher hands off to the application. The two components are not
|
520
|
+
necessarily from the same installation or of the same version. Local
|
521
|
+
vendoring options, the WHICH_CEEDLING environment variable, and more can
|
522
|
+
cause the Ceedling launcher to load a Ceedling application that is run
|
523
|
+
from a different path than the launcher.
|
524
|
+
|
525
|
+
If the launcher and application are from different locations, the version
|
526
|
+
output lists details for both. If they are from the same location, only a
|
527
|
+
single Ceedling version is provided.
|
528
|
+
|
529
|
+
NOTES:
|
530
|
+
|
531
|
+
• `version` does not load your project file.
|
532
|
+
|
533
|
+
• The build frameworks Unity, CMock, and CException are always sourced from
|
534
|
+
the Ceedling application.
|
535
|
+
LONGDESC
|
536
|
+
) )
|
537
|
+
def version()
|
538
|
+
@handler.version( ENV, @app_cfg )
|
539
|
+
end
|
540
|
+
|
541
|
+
end
|
542
|
+
end
|