ceedling 0.28.1 → 0.28.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ceedling +3 -2
- data/docs/CeedlingPacket.md +4 -0
- data/lib/ceedling/configurator_builder.rb +26 -0
- data/lib/ceedling/configurator_setup.rb +1 -0
- data/lib/ceedling/file_finder.rb +7 -1
- data/lib/ceedling/flaginator.rb +28 -8
- data/lib/ceedling/rules_release.rake +3 -3
- data/lib/ceedling/rules_release_deep_dependencies.rake +1 -1
- data/lib/ceedling/version.rb +3 -3
- data/plugins/gcov/config/defaults.yml +4 -3
- data/plugins/module_generator/lib/module_generator.rb +1 -1
- data/plugins/subprojects/README.md +63 -63
- data/plugins/subprojects/config/defaults.yml +33 -33
- data/plugins/subprojects/lib/subprojects.rb +92 -92
- data/plugins/subprojects/subprojects.rake +78 -78
- data/vendor/cmock/docs/CMock_Summary.md +75 -60
- data/vendor/cmock/lib/cmock_config.rb +1 -0
- data/vendor/cmock/lib/cmock_generator.rb +13 -1
- data/vendor/cmock/lib/cmock_generator_plugin_expect.rb +1 -1
- data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +0 -14
- data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +4 -0
- data/vendor/cmock/lib/cmock_generator_utils.rb +4 -5
- data/vendor/cmock/lib/cmock_header_parser.rb +26 -28
- data/vendor/cmock/lib/cmock_plugin_manager.rb +27 -12
- data/vendor/cmock/scripts/create_makefile.rb +5 -4
- data/vendor/cmock/scripts/test_summary.rb +1 -1
- data/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +167 -0
- data/vendor/cmock/test/system/test_interactions/ignore_strict_mock_calling.yml +37 -0
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +14 -1
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +25 -24
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +101 -3
- data/vendor/unity/README.md +11 -0
- data/vendor/unity/auto/generate_module.rb +3 -3
- data/vendor/unity/auto/stylize_as_junit.rb +0 -0
- data/vendor/unity/docs/UnityAssertionsReference.md +54 -0
- data/vendor/unity/examples/unity_config.h +6 -4
- data/vendor/unity/extras/fixture/rakefile_helper.rb +1 -1
- data/vendor/unity/extras/fixture/test/Makefile +1 -0
- data/vendor/unity/src/unity.c +121 -73
- data/vendor/unity/src/unity.h +60 -0
- data/vendor/unity/src/unity_internals.h +47 -7
- data/vendor/unity/test/Makefile +1 -0
- data/vendor/unity/test/rakefile_helper.rb +1 -1
- data/vendor/unity/test/tests/testunity.c +508 -164
- metadata +3 -423
- data/out.fail +0 -21
- data/plugins/fake_function_framework/vendor/fff/LICENSE +0 -25
- data/plugins/fake_function_framework/vendor/fff/Makefile +0 -10
- data/plugins/fake_function_framework/vendor/fff/README.md +0 -454
- data/plugins/fake_function_framework/vendor/fff/buildandtest +0 -15
- data/plugins/fake_function_framework/vendor/fff/examples/Makefile +0 -7
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/Makefile +0 -64
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.c +0 -24
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.h +0 -11
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.cpp +0 -50
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.fff.cpp +0 -62
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/hardware_abstraction.h +0 -15
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/registers.h +0 -13
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/DISPLAY.h +0 -17
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Kata.txt +0 -25
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Makefile +0 -67
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/SYSTEM.h +0 -21
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.c +0 -48
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.h +0 -12
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_ansic.c +0 -183
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_cpp.cpp +0 -136
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/test_suite_template.c +0 -34
- data/plugins/fake_function_framework/vendor/fff/fakegen.rb +0 -420
- data/plugins/fake_function_framework/vendor/fff/fff.h +0 -5112
- data/plugins/fake_function_framework/vendor/fff/gtest/Makefile +0 -22
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest-all.cc +0 -9118
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest-main.cc +0 -6
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest.h +0 -19537
- data/plugins/fake_function_framework/vendor/fff/test/Makefile +0 -81
- data/plugins/fake_function_framework/vendor/fff/test/c_test_framework.h +0 -15
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_c.c +0 -108
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_cpp.cpp +0 -45
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_c.c +0 -76
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_cpp.cpp +0 -23
- data/plugins/fake_function_framework/vendor/fff/test/global_fakes.c +0 -13
- data/plugins/fake_function_framework/vendor/fff/test/global_fakes.h +0 -37
- data/plugins/fake_function_framework/vendor/fff/test/test_cases.include +0 -276
- data/vendor/c_exception/vendor/unity/README.md +0 -220
- data/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -118
- data/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -308
- data/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -437
- data/vendor/c_exception/vendor/unity/auto/parse_output.rb +0 -220
- data/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +0 -252
- data/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -25
- data/vendor/c_exception/vendor/unity/auto/type_sanitizer.rb +0 -6
- data/vendor/c_exception/vendor/unity/auto/unity_test_summary.py +0 -139
- data/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -136
- data/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +0 -146
- data/vendor/c_exception/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.md +0 -716
- data/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.md +0 -398
- data/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.md +0 -191
- data/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.md +0 -242
- data/vendor/c_exception/vendor/unity/docs/license.txt +0 -21
- data/vendor/c_exception/vendor/unity/examples/example_1/makefile +0 -71
- data/vendor/c_exception/vendor/unity/examples/example_1/readme.txt +0 -5
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +0 -24
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.h +0 -3
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.h +0 -2
- data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +0 -62
- data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +0 -31
- data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +0 -53
- data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +0 -57
- data/vendor/c_exception/vendor/unity/examples/example_2/makefile +0 -70
- data/vendor/c_exception/vendor/unity/examples/example_2/readme.txt +0 -5
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.c +0 -24
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.h +0 -3
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.h +0 -2
- data/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode.c +0 -64
- data/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode2.c +0 -33
- data/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +0 -9
- data/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/all_tests.c +0 -12
- data/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c +0 -10
- data/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.h +0 -12
- data/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb +0 -43
- data/vendor/c_exception/vendor/unity/examples/example_3/rakefile_helper.rb +0 -249
- data/vendor/c_exception/vendor/unity/examples/example_3/readme.txt +0 -13
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.c +0 -24
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.h +0 -3
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.h +0 -2
- data/vendor/c_exception/vendor/unity/examples/example_3/target_gcc_32.yml +0 -46
- data/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode.c +0 -62
- data/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode2.c +0 -31
- data/vendor/c_exception/vendor/unity/examples/unity_config.h +0 -237
- data/vendor/c_exception/vendor/unity/extras/eclipse/error_parsers.txt +0 -26
- data/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -48
- data/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -432
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -83
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -51
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -47
- data/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +0 -74
- data/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -22
- data/vendor/c_exception/vendor/unity/extras/fixture/test/template_fixture_tests.c +0 -39
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -543
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -57
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -57
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/vendor/c_exception/vendor/unity/src/unity.c +0 -1517
- data/vendor/c_exception/vendor/unity/src/unity.h +0 -339
- data/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -784
- data/vendor/c_exception/vendor/unity/test/Makefile +0 -63
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -61
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -57
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +0 -55
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.h +0 -15
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -80
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -76
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +0 -75
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.h +0 -13
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -77
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -90
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -67
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -70
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -58
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -67
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -70
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -71
- data/vendor/c_exception/vendor/unity/test/rakefile +0 -125
- data/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +0 -260
- data/vendor/c_exception/vendor/unity/test/spec/generate_module_existing_file_spec.rb +0 -158
- data/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +0 -78
- data/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +0 -78
- data/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +0 -49
- data/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +0 -50
- data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +0 -47
- data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -59
- data/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +0 -47
- data/vendor/c_exception/vendor/unity/test/targets/hitech_picc18.yml +0 -101
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +0 -90
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +0 -80
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -80
- data/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -94
- data/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -84
- data/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +0 -95
- data/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -86
- data/vendor/c_exception/vendor/unity/test/testdata/CException.h +0 -11
- data/vendor/c_exception/vendor/unity/test/testdata/Defs.h +0 -8
- data/vendor/c_exception/vendor/unity/test/testdata/cmock.h +0 -14
- data/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +0 -13
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +0 -183
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +0 -67
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +0 -192
- data/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +0 -1252
- data/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +0 -110
- data/vendor/c_exception/vendor/unity/test/tests/testunity.c +0 -4993
- data/vendor/cmock/vendor/c_exception/Gemfile +0 -4
- data/vendor/cmock/vendor/c_exception/Gemfile.lock +0 -12
- data/vendor/cmock/vendor/c_exception/LICENSE.txt +0 -30
- data/vendor/cmock/vendor/c_exception/README.md +0 -162
- data/vendor/cmock/vendor/c_exception/Rakefile +0 -42
- data/vendor/cmock/vendor/c_exception/docs/CException.md +0 -292
- data/vendor/cmock/vendor/c_exception/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/cmock/vendor/c_exception/lib/CException.c +0 -46
- data/vendor/cmock/vendor/c_exception/lib/CException.h +0 -110
- data/vendor/cmock/vendor/c_exception/makefile +0 -24
- data/vendor/cmock/vendor/c_exception/release/build.info +0 -2
- data/vendor/cmock/vendor/c_exception/release/version.info +0 -2
- data/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +0 -46
- data/vendor/cmock/vendor/c_exception/test/TestException.c +0 -391
- data/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/README.md +0 -220
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -118
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -308
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -437
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/parse_output.rb +0 -220
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +0 -252
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -25
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/type_sanitizer.rb +0 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.py +0 -139
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -136
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +0 -146
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.md +0 -716
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.md +0 -398
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.md +0 -191
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.md +0 -242
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/license.txt +0 -21
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/makefile +0 -71
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/readme.txt +0 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +0 -53
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/makefile +0 -70
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/readme.txt +0 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode.c +0 -64
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode2.c +0 -33
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +0 -9
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/all_tests.c +0 -12
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c +0 -10
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.h +0 -12
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb +0 -43
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile_helper.rb +0 -249
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/readme.txt +0 -13
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/target_gcc_32.yml +0 -46
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/unity_config.h +0 -237
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/eclipse/error_parsers.txt +0 -26
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -48
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -432
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -83
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -51
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -47
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +0 -74
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -22
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/template_fixture_tests.c +0 -39
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -543
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/cmock/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +0 -1517
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +0 -339
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -784
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/Makefile +0 -63
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -61
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +0 -55
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.h +0 -15
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -80
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -76
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +0 -75
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.h +0 -13
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -77
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -90
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -70
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -58
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -70
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -71
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile +0 -125
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +0 -260
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/spec/generate_module_existing_file_spec.rb +0 -158
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +0 -78
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +0 -78
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +0 -49
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +0 -50
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +0 -47
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -59
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +0 -47
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/hitech_picc18.yml +0 -101
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +0 -90
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +0 -80
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -80
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -94
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -84
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +0 -95
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -86
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/CException.h +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/Defs.h +0 -8
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/cmock.h +0 -14
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +0 -13
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +0 -183
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +0 -192
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +0 -1252
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +0 -110
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testunity.c +0 -4993
- data/vendor/cmock/vendor/unity/README.md +0 -220
- data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +0 -118
- data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +0 -39
- data/vendor/cmock/vendor/unity/auto/generate_config.yml +0 -36
- data/vendor/cmock/vendor/unity/auto/generate_module.rb +0 -308
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +0 -437
- data/vendor/cmock/vendor/unity/auto/parse_output.rb +0 -220
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +0 -252
- data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +0 -25
- data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +0 -6
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +0 -139
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +0 -136
- data/vendor/cmock/vendor/unity/auto/unity_to_junit.py +0 -146
- data/vendor/cmock/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +0 -716
- data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +0 -398
- data/vendor/cmock/vendor/unity/docs/UnityGettingStartedGuide.md +0 -191
- data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +0 -242
- data/vendor/cmock/vendor/unity/docs/license.txt +0 -21
- data/vendor/cmock/vendor/unity/examples/example_1/makefile +0 -71
- data/vendor/cmock/vendor/unity/examples/example_1/readme.txt +0 -5
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +0 -53
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +0 -57
- data/vendor/cmock/vendor/unity/examples/example_2/makefile +0 -70
- data/vendor/cmock/vendor/unity/examples/example_2/readme.txt +0 -5
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +0 -64
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +0 -33
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +0 -9
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +0 -12
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +0 -10
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +0 -12
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +0 -43
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +0 -249
- data/vendor/cmock/vendor/unity/examples/example_3/readme.txt +0 -13
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +0 -46
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/unity/examples/unity_config.h +0 -237
- data/vendor/cmock/vendor/unity/extras/eclipse/error_parsers.txt +0 -26
- data/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +0 -48
- data/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/vendor/cmock/vendor/unity/extras/fixture/readme.txt +0 -9
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +0 -432
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +0 -83
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -51
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -47
- data/vendor/cmock/vendor/unity/extras/fixture/test/Makefile +0 -74
- data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +0 -22
- data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +0 -39
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -543
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -57
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -57
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/cmock/vendor/unity/release/build.info +0 -2
- data/vendor/cmock/vendor/unity/release/version.info +0 -2
- data/vendor/cmock/vendor/unity/src/unity.c +0 -1517
- data/vendor/cmock/vendor/unity/src/unity.h +0 -339
- data/vendor/cmock/vendor/unity/src/unity_internals.h +0 -784
- data/vendor/cmock/vendor/unity/test/Makefile +0 -63
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +0 -61
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +0 -57
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.c +0 -55
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.h +0 -15
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -80
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +0 -76
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.c +0 -75
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.h +0 -13
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +0 -77
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -90
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +0 -67
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +0 -70
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +0 -58
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +0 -67
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +0 -70
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +0 -71
- data/vendor/cmock/vendor/unity/test/rakefile +0 -125
- data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +0 -260
- data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +0 -158
- data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +0 -78
- data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +0 -78
- data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +0 -49
- data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +0 -50
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +0 -47
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -59
- data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +0 -47
- data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +0 -101
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +0 -90
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +0 -80
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -80
- data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -94
- data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -84
- data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +0 -95
- data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -86
- data/vendor/cmock/vendor/unity/test/testdata/CException.h +0 -11
- data/vendor/cmock/vendor/unity/test/testdata/Defs.h +0 -8
- data/vendor/cmock/vendor/unity/test/testdata/cmock.h +0 -14
- data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +0 -13
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +0 -183
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +0 -67
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +0 -192
- data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +0 -1252
- data/vendor/cmock/vendor/unity/test/tests/testparameterized.c +0 -110
- data/vendor/cmock/vendor/unity/test/tests/testunity.c +0 -4993
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ab20a20fd53b1935cb3c11cffa2f890c18f4f10
|
4
|
+
data.tar.gz: 8d728ca829262063f0422614c248d0eb77ca77a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aac3b5f1c9bf0179912b4bb8f1ea0889765643d9414afad5706bc45b20110045766b5ea8035809406df5247f8b6ec32ae7ebcc299ad1e2dce37365a50b3525c
|
7
|
+
data.tar.gz: e40627df9e67de61b8f7e0e6e5360bcc4d69f727c1cff93a13fdbaea06f1333184b1fbf56664eeefab381926f68ae66e142f1194660442a619e12a699bf577f0
|
data/bin/ceedling
CHANGED
@@ -204,6 +204,7 @@ else
|
|
204
204
|
#create our default meta-runner option set
|
205
205
|
options = {
|
206
206
|
:pretest => nil,
|
207
|
+
:args => [],
|
207
208
|
:add_path => [],
|
208
209
|
:path_connector => (platform == :mswin) ? ";" : ":",
|
209
210
|
:graceful_fail => false,
|
@@ -244,7 +245,7 @@ else
|
|
244
245
|
when /^project:(\w+)/
|
245
246
|
ENV['CEEDLING_USER_PROJECT_FILE'] = "#{$1}.yml"
|
246
247
|
else
|
247
|
-
|
248
|
+
options[:args].push(v)
|
248
249
|
end
|
249
250
|
end
|
250
251
|
|
@@ -282,7 +283,7 @@ else
|
|
282
283
|
task :default => options[:default_tasks]
|
283
284
|
|
284
285
|
# Run our Tasks!
|
285
|
-
Rake.application.collect_command_line_tasks(
|
286
|
+
Rake.application.collect_command_line_tasks(options[:args])
|
286
287
|
Rake.application.top_level
|
287
288
|
end
|
288
289
|
end
|
data/docs/CeedlingPacket.md
CHANGED
@@ -1338,6 +1338,8 @@ Notes:
|
|
1338
1338
|
* File specifiers are case sensitive (must match original file
|
1339
1339
|
name)
|
1340
1340
|
|
1341
|
+
* File specifiers do support regular expressions if encased in quotes
|
1342
|
+
|
1341
1343
|
* '*' is a special (optional) file specifier to provide flags
|
1342
1344
|
to all files not otherwise specified
|
1343
1345
|
|
@@ -1352,6 +1354,8 @@ Example [:flags] YAML blurb
|
|
1352
1354
|
- -Wall
|
1353
1355
|
:fan: # add '--O2' to compilation of fan.c
|
1354
1356
|
- --O2
|
1357
|
+
:'test_.+': # add '-pedantic' to all test-files
|
1358
|
+
- -pedantic
|
1355
1359
|
:*: # add '-foo' to compilation of all files not main.c or fan.c
|
1356
1360
|
- -foo
|
1357
1361
|
:test:
|
@@ -316,6 +316,32 @@ class ConfiguratorBuilder
|
|
316
316
|
end
|
317
317
|
|
318
318
|
|
319
|
+
def collect_release_existing_compilation_input(in_hash)
|
320
|
+
release_input = @file_wrapper.instantiate_file_list
|
321
|
+
|
322
|
+
paths =
|
323
|
+
in_hash[:collection_paths_source] +
|
324
|
+
in_hash[:collection_paths_include]
|
325
|
+
|
326
|
+
paths << File.join(in_hash[:cexception_vendor_path], CEXCEPTION_LIB_PATH) if (in_hash[:project_use_exceptions])
|
327
|
+
|
328
|
+
paths.each do |path|
|
329
|
+
release_input.include( File.join(path, "*#{in_hash[:extension_header]}") )
|
330
|
+
if File.exists?(path) and not File.directory?(path)
|
331
|
+
release_input.include( path )
|
332
|
+
else
|
333
|
+
release_input.include( File.join(path, "*#{in_hash[:extension_source]}") )
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
@file_system_utils.revise_file_list( release_input, in_hash[:files_source] )
|
338
|
+
@file_system_utils.revise_file_list( release_input, in_hash[:files_include] )
|
339
|
+
# finding assembly files handled explicitly through other means
|
340
|
+
|
341
|
+
return {:collection_release_existing_compilation_input => release_input}
|
342
|
+
end
|
343
|
+
|
344
|
+
|
319
345
|
def collect_all_existing_compilation_input(in_hash)
|
320
346
|
all_input = @file_wrapper.instantiate_file_list
|
321
347
|
|
@@ -37,6 +37,7 @@ class ConfiguratorSetup
|
|
37
37
|
flattened_config.merge!(@configurator_builder.collect_assembly(flattened_config))
|
38
38
|
flattened_config.merge!(@configurator_builder.collect_source(flattened_config))
|
39
39
|
flattened_config.merge!(@configurator_builder.collect_headers(flattened_config))
|
40
|
+
flattened_config.merge!(@configurator_builder.collect_release_existing_compilation_input(flattened_config))
|
40
41
|
flattened_config.merge!(@configurator_builder.collect_all_existing_compilation_input(flattened_config))
|
41
42
|
flattened_config.merge!(@configurator_builder.collect_test_and_vendor_defines(flattened_config))
|
42
43
|
flattened_config.merge!(@configurator_builder.collect_release_and_vendor_defines(flattened_config))
|
data/lib/ceedling/file_finder.rb
CHANGED
@@ -83,7 +83,7 @@ class FileFinder
|
|
83
83
|
end
|
84
84
|
|
85
85
|
|
86
|
-
def find_compilation_input_file(file_path, complain=:error)
|
86
|
+
def find_compilation_input_file(file_path, complain=:error, release=false)
|
87
87
|
found_file = nil
|
88
88
|
|
89
89
|
source_file = File.basename(file_path).ext(@configurator.extension_source)
|
@@ -105,6 +105,12 @@ class FileFinder
|
|
105
105
|
@file_wrapper.directory_listing( File.join(@configurator.cmock_mock_path, '*') ),
|
106
106
|
complain)
|
107
107
|
|
108
|
+
elsif release
|
109
|
+
found_file =
|
110
|
+
@file_finder_helper.find_file_in_collection(
|
111
|
+
source_file,
|
112
|
+
@configurator.collection_release_existing_compilation_input,
|
113
|
+
complain)
|
108
114
|
else
|
109
115
|
found_file =
|
110
116
|
@file_finder_helper.find_file_in_collection(
|
data/lib/ceedling/flaginator.rb
CHANGED
@@ -7,6 +7,8 @@ require 'ceedling/constants'
|
|
7
7
|
# :flags:
|
8
8
|
# :release:
|
9
9
|
# :compile:
|
10
|
+
# :'test_.+'
|
11
|
+
# - -pedantic # add '-pedantic' to every test file
|
10
12
|
# :*: # add '-foo' to compilation of all files not main.c
|
11
13
|
# - -foo
|
12
14
|
# :main: # add '-Wall' to compilation of main.c
|
@@ -17,16 +19,41 @@ require 'ceedling/constants'
|
|
17
19
|
# - --bar
|
18
20
|
# - --baz
|
19
21
|
|
22
|
+
def partition(hash, &predicate)
|
23
|
+
hash.partition(&predicate).map(&:to_h)
|
24
|
+
end
|
20
25
|
|
21
26
|
class Flaginator
|
22
27
|
|
23
28
|
constructor :configurator
|
24
29
|
|
30
|
+
def get_flag(hash, file_name)
|
31
|
+
file_key = file_name.to_sym
|
32
|
+
|
33
|
+
# 1. try literals
|
34
|
+
literals, magic = partition(hash) { |k, v| k.to_s =~ /^\w+$/ }
|
35
|
+
return literals[file_key] if literals.include?(file_key)
|
36
|
+
|
37
|
+
any, regex = partition(magic) { |k, v| (k == :'*') || (k == :'.*') } # glob or regex wild card
|
38
|
+
|
39
|
+
# 2. try regexes
|
40
|
+
find_res = regex.find { |k, v| file_name =~ /^#{k.to_s}$/ }
|
41
|
+
return find_res[1] if find_res
|
42
|
+
|
43
|
+
# 3. try anything
|
44
|
+
find_res = any.find { |k, v| file_name =~ /.*/ }
|
45
|
+
return find_res[1] if find_res
|
46
|
+
|
47
|
+
# 4. well, we've tried
|
48
|
+
return []
|
49
|
+
end
|
50
|
+
|
25
51
|
def flag_down( operation, context, file )
|
26
52
|
# create configurator accessor method
|
27
53
|
accessor = ('flags_' + context.to_s).to_sym
|
28
54
|
|
29
55
|
# create simple filename key from whatever filename provided
|
56
|
+
file_name = File.basename( file ).ext('')
|
30
57
|
file_key = File.basename( file ).ext('').to_sym
|
31
58
|
|
32
59
|
# if no entry in configuration for flags for this context, bail out
|
@@ -41,14 +68,7 @@ class Flaginator
|
|
41
68
|
# redefine flags to sub hash associated with the operation
|
42
69
|
flags = flags[operation]
|
43
70
|
|
44
|
-
|
45
|
-
if (flags.include?( file_key )) then return flags[file_key]
|
46
|
-
# if our file isn't in the flags hash, but there is default for all other files, extract array of flags
|
47
|
-
elsif (flags.include?( :* )) then return flags[:*]
|
48
|
-
end
|
49
|
-
|
50
|
-
# fall through: flags were specified but none applying to present file
|
51
|
-
return []
|
71
|
+
return get_flag(flags, file_name)
|
52
72
|
end
|
53
73
|
|
54
74
|
end
|
@@ -21,7 +21,7 @@ end
|
|
21
21
|
|
22
22
|
rule(/#{PROJECT_RELEASE_BUILD_OUTPUT_C_PATH}\/#{'.+\\'+EXTENSION_OBJECT}$/ => [
|
23
23
|
proc do |task_name|
|
24
|
-
@ceedling[:file_finder].find_compilation_input_file(task_name)
|
24
|
+
@ceedling[:file_finder].find_compilation_input_file(task_name, :error, true)
|
25
25
|
end
|
26
26
|
]) do |object|
|
27
27
|
@ceedling[:generator].generate_object_file(
|
@@ -44,8 +44,8 @@ rule(/#{PROJECT_RELEASE_BUILD_TARGET}/) do |bin_file|
|
|
44
44
|
RELEASE_SYM,
|
45
45
|
objects,
|
46
46
|
bin_file.name,
|
47
|
-
map_file,
|
48
|
-
lib_args )
|
47
|
+
map_file,
|
48
|
+
lib_args )
|
49
49
|
@ceedling[:release_invoker].artifactinate( bin_file.name, map_file, @ceedling[:configurator].release_build_artifacts )
|
50
50
|
end
|
51
51
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
rule(/#{PROJECT_RELEASE_DEPENDENCIES_PATH}\/#{'.+\\'+EXTENSION_DEPENDENCIES}$/ => [
|
4
4
|
proc do |task_name|
|
5
|
-
@ceedling[:file_finder].find_compilation_input_file(task_name)
|
5
|
+
@ceedling[:file_finder].find_compilation_input_file(task_name, :error, true)
|
6
6
|
end
|
7
7
|
]) do |dep|
|
8
8
|
@ceedling[:generator].generate_dependencies_file(
|
data/lib/ceedling/version.rb
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
module Ceedling
|
3
3
|
module Version
|
4
4
|
# @private
|
5
|
-
GEM = "0.28.
|
5
|
+
GEM = "0.28.2"
|
6
6
|
# @private
|
7
7
|
CEEDLING = GEM
|
8
8
|
# @private
|
9
9
|
CEXCEPTION = "1.3.1"
|
10
10
|
# @private
|
11
|
-
CMOCK = "2.4.
|
11
|
+
CMOCK = "2.4.5"
|
12
12
|
# @private
|
13
|
-
UNITY = "2.4.
|
13
|
+
UNITY = "2.4.2"
|
14
14
|
end
|
15
15
|
end
|
@@ -36,7 +36,7 @@
|
|
36
36
|
:arguments:
|
37
37
|
- -p
|
38
38
|
- -b
|
39
|
-
- -e '^vendor.*|^build.*|^test.*|^lib.*'
|
39
|
+
- -e "'^vendor.*|^build.*|^test.*|^lib.*'"
|
40
40
|
- --html
|
41
41
|
- -r .
|
42
42
|
- -o GcovCoverageResults.html
|
@@ -46,7 +46,7 @@
|
|
46
46
|
:arguments:
|
47
47
|
- -p
|
48
48
|
- -b
|
49
|
-
- -e '^vendor.*|^build.*|^test.*|^lib.*'
|
49
|
+
- -e "'^vendor.*|^build.*|^test.*|^lib.*'"
|
50
50
|
- --html
|
51
51
|
- -r .
|
52
52
|
- -o "$": GCOV_ARTIFACTS_FILE
|
@@ -56,7 +56,8 @@
|
|
56
56
|
:arguments:
|
57
57
|
- -p
|
58
58
|
- -b
|
59
|
-
- -e '^vendor.*|^build.*|^test.*|^lib.*'
|
59
|
+
- -e "'^vendor.*|^build.*|^test.*|^lib.*'"
|
60
|
+
- --html
|
60
61
|
- --html-details
|
61
62
|
- -r .
|
62
63
|
- -o "$": GCOV_ARTIFACTS_FILE
|
@@ -30,7 +30,7 @@ class ModuleGenerator < Plugin
|
|
30
30
|
:mock_prefix => ((defined? CMOCK_MOCK_PREFIX ) ? CMOCK_MOCK_PREFIX : "Mock" ),
|
31
31
|
:includes => ((defined? MODULE_GENERATOR_INCLUDES ) ? MODULE_GENERATOR_INCLUDES : {} ),
|
32
32
|
:boilerplates => ((defined? MODULE_GENERATOR_BOILERPLATES) ? MODULE_GENERATOR_BOILERPLATES : {} ),
|
33
|
-
:naming => ((defined? MODULE_GENERATOR_NAMING ) ? MODULE_GENERATOR_NAMING :
|
33
|
+
:naming => ((defined? MODULE_GENERATOR_NAMING ) ? MODULE_GENERATOR_NAMING : nil ),
|
34
34
|
:update_svn => ((defined? MODULE_GENERATOR_UPDATE_SVN ) ? MODULE_GENERATOR_UPDATE_SVN : false ),
|
35
35
|
}
|
36
36
|
end
|
@@ -1,63 +1,63 @@
|
|
1
|
-
ceedling-subprojects
|
2
|
-
====================
|
3
|
-
|
4
|
-
Plugin for supporting subprojects that are built as static libraries. It continues to support
|
5
|
-
dependency tracking, without getting confused between your main project files and your
|
6
|
-
subproject files. It accepts different compiler flags and linker flags, allowing you to
|
7
|
-
optimize for your situation.
|
8
|
-
|
9
|
-
First, you're going to want to add the extension to your list of known extensions:
|
10
|
-
|
11
|
-
```
|
12
|
-
:extension:
|
13
|
-
:subprojects: '.a'
|
14
|
-
```
|
15
|
-
|
16
|
-
Define a new section called :subprojects. There, you can list as many subprojects
|
17
|
-
as you may need under the :paths key. For each, you specify a unique place to build
|
18
|
-
and a unique name.
|
19
|
-
|
20
|
-
```
|
21
|
-
:subprojects:
|
22
|
-
:paths:
|
23
|
-
- :name: libprojectA
|
24
|
-
:source:
|
25
|
-
- ./subprojectA/first/dir
|
26
|
-
- ./subprojectA/second/dir
|
27
|
-
:include:
|
28
|
-
- ./subprojectA/include/dir
|
29
|
-
:build_root: ./subprojectA/build/dir
|
30
|
-
:defines:
|
31
|
-
- DEFINE_JUST_FOR_THIS_FILE
|
32
|
-
- AND_ANOTHER
|
33
|
-
- :name: libprojectB
|
34
|
-
:source:
|
35
|
-
- ./subprojectB/only/dir
|
36
|
-
:include:
|
37
|
-
- ./subprojectB/first/include/dir
|
38
|
-
- ./subprojectB/second/include/dir
|
39
|
-
:build_root: ./subprojectB/build/dir
|
40
|
-
:defines: [] #none for this one
|
41
|
-
```
|
42
|
-
|
43
|
-
You can specify the compiler and linker, just as you would a release build:
|
44
|
-
|
45
|
-
```
|
46
|
-
:tools:
|
47
|
-
:subprojects_compiler:
|
48
|
-
:executable: gcc
|
49
|
-
:arguments:
|
50
|
-
- -g
|
51
|
-
- -I"$": COLLECTION_PATHS_SUBPROJECTS
|
52
|
-
- -D$: COLLECTION_DEFINES_SUBPROJECTS
|
53
|
-
- -c "${1}"
|
54
|
-
- -o "${2}"
|
55
|
-
:subprojects_linker:
|
56
|
-
:executable: ar
|
57
|
-
:arguments:
|
58
|
-
- rcs
|
59
|
-
- ${2}
|
60
|
-
- ${1}
|
61
|
-
```
|
62
|
-
|
63
|
-
That's all there is to it! Happy Hacking!
|
1
|
+
ceedling-subprojects
|
2
|
+
====================
|
3
|
+
|
4
|
+
Plugin for supporting subprojects that are built as static libraries. It continues to support
|
5
|
+
dependency tracking, without getting confused between your main project files and your
|
6
|
+
subproject files. It accepts different compiler flags and linker flags, allowing you to
|
7
|
+
optimize for your situation.
|
8
|
+
|
9
|
+
First, you're going to want to add the extension to your list of known extensions:
|
10
|
+
|
11
|
+
```
|
12
|
+
:extension:
|
13
|
+
:subprojects: '.a'
|
14
|
+
```
|
15
|
+
|
16
|
+
Define a new section called :subprojects. There, you can list as many subprojects
|
17
|
+
as you may need under the :paths key. For each, you specify a unique place to build
|
18
|
+
and a unique name.
|
19
|
+
|
20
|
+
```
|
21
|
+
:subprojects:
|
22
|
+
:paths:
|
23
|
+
- :name: libprojectA
|
24
|
+
:source:
|
25
|
+
- ./subprojectA/first/dir
|
26
|
+
- ./subprojectA/second/dir
|
27
|
+
:include:
|
28
|
+
- ./subprojectA/include/dir
|
29
|
+
:build_root: ./subprojectA/build/dir
|
30
|
+
:defines:
|
31
|
+
- DEFINE_JUST_FOR_THIS_FILE
|
32
|
+
- AND_ANOTHER
|
33
|
+
- :name: libprojectB
|
34
|
+
:source:
|
35
|
+
- ./subprojectB/only/dir
|
36
|
+
:include:
|
37
|
+
- ./subprojectB/first/include/dir
|
38
|
+
- ./subprojectB/second/include/dir
|
39
|
+
:build_root: ./subprojectB/build/dir
|
40
|
+
:defines: [] #none for this one
|
41
|
+
```
|
42
|
+
|
43
|
+
You can specify the compiler and linker, just as you would a release build:
|
44
|
+
|
45
|
+
```
|
46
|
+
:tools:
|
47
|
+
:subprojects_compiler:
|
48
|
+
:executable: gcc
|
49
|
+
:arguments:
|
50
|
+
- -g
|
51
|
+
- -I"$": COLLECTION_PATHS_SUBPROJECTS
|
52
|
+
- -D$: COLLECTION_DEFINES_SUBPROJECTS
|
53
|
+
- -c "${1}"
|
54
|
+
- -o "${2}"
|
55
|
+
:subprojects_linker:
|
56
|
+
:executable: ar
|
57
|
+
:arguments:
|
58
|
+
- rcs
|
59
|
+
- ${2}
|
60
|
+
- ${1}
|
61
|
+
```
|
62
|
+
|
63
|
+
That's all there is to it! Happy Hacking!
|
@@ -1,33 +1,33 @@
|
|
1
|
-
---
|
2
|
-
#:extension:
|
3
|
-
# :subprojects: '.a'
|
4
|
-
|
5
|
-
:subprojects:
|
6
|
-
:paths: []
|
7
|
-
# - :name: subprojectA
|
8
|
-
# :source:
|
9
|
-
# - ./first/subproject/dir
|
10
|
-
# - ./second/subproject/dir
|
11
|
-
# :include:
|
12
|
-
# - ./first/include/dir
|
13
|
-
# :build_root: ./subproject/build/dir
|
14
|
-
# :defines:
|
15
|
-
# - FIRST_DEFINE
|
16
|
-
|
17
|
-
:tools:
|
18
|
-
:subprojects_compiler:
|
19
|
-
:executable: gcc
|
20
|
-
:arguments:
|
21
|
-
- -g
|
22
|
-
- -I"$": COLLECTION_PATHS_SUBPROJECTS
|
23
|
-
- -D$: COLLECTION_DEFINES_SUBPROJECTS
|
24
|
-
- -c "${1}"
|
25
|
-
- -o "${2}"
|
26
|
-
:subprojects_linker:
|
27
|
-
:executable: ar
|
28
|
-
:arguments:
|
29
|
-
- rcs
|
30
|
-
- ${2}
|
31
|
-
- ${1}
|
32
|
-
|
33
|
-
...
|
1
|
+
---
|
2
|
+
#:extension:
|
3
|
+
# :subprojects: '.a'
|
4
|
+
|
5
|
+
:subprojects:
|
6
|
+
:paths: []
|
7
|
+
# - :name: subprojectA
|
8
|
+
# :source:
|
9
|
+
# - ./first/subproject/dir
|
10
|
+
# - ./second/subproject/dir
|
11
|
+
# :include:
|
12
|
+
# - ./first/include/dir
|
13
|
+
# :build_root: ./subproject/build/dir
|
14
|
+
# :defines:
|
15
|
+
# - FIRST_DEFINE
|
16
|
+
|
17
|
+
:tools:
|
18
|
+
:subprojects_compiler:
|
19
|
+
:executable: gcc
|
20
|
+
:arguments:
|
21
|
+
- -g
|
22
|
+
- -I"$": COLLECTION_PATHS_SUBPROJECTS
|
23
|
+
- -D$: COLLECTION_DEFINES_SUBPROJECTS
|
24
|
+
- -c "${1}"
|
25
|
+
- -o "${2}"
|
26
|
+
:subprojects_linker:
|
27
|
+
:executable: ar
|
28
|
+
:arguments:
|
29
|
+
- rcs
|
30
|
+
- ${2}
|
31
|
+
- ${1}
|
32
|
+
|
33
|
+
...
|