ceedling 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +9 -13
- data/README.md +21 -3
- data/{rakefile.rb → Rakefile} +0 -0
- data/lib/ceedling/version.rb +4 -4
- data/lib/ceedling/version.rb.erb +1 -1
- data/release/version.info +1 -1
- data/vendor/c_exception/Gemfile +1 -1
- data/vendor/c_exception/Gemfile.lock +12 -0
- data/vendor/c_exception/{docs/license.txt → LICENSE.txt} +9 -9
- data/vendor/c_exception/README.md +146 -0
- data/vendor/c_exception/{rakefile.rb → Rakefile} +6 -5
- data/vendor/c_exception/lib/CException.c +9 -6
- data/vendor/c_exception/release/build.info +1 -1
- data/vendor/c_exception/release/version.info +1 -1
- data/vendor/c_exception/test/CExceptionConfig.h +2 -0
- data/vendor/c_exception/test/TestException.c +4 -1
- data/vendor/cmock/README.md +24 -0
- data/vendor/cmock/{rakefile.rb → Rakefile} +12 -12
- data/vendor/cmock/docs/CMock Summary.odt +0 -0
- data/vendor/cmock/docs/CMock Summary.pdf +0 -0
- data/vendor/cmock/docs/CMock_Summary.md +130 -111
- data/vendor/cmock/docs/license.txt +1 -1
- data/vendor/cmock/lib/cmock.rb +36 -12
- data/vendor/cmock/lib/cmock_config.rb +39 -36
- data/vendor/cmock/lib/cmock_generator.rb +33 -25
- data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +68 -0
- data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +18 -42
- data/vendor/cmock/lib/cmock_generator_plugin_return_thru_ptr.rb +2 -2
- data/vendor/cmock/lib/cmock_generator_utils.rb +39 -29
- data/vendor/cmock/lib/cmock_header_parser.rb +46 -39
- data/vendor/cmock/rakefile_helper.rb +38 -38
- data/vendor/cmock/src/cmock.c +20 -4
- data/vendor/cmock/src/cmock.h +6 -1
- data/vendor/cmock/src/cmock_internals.h +26 -3
- data/vendor/cmock/targets/clang_strict.yml +85 -0
- data/vendor/cmock/targets/gcc.yml +4 -2
- data/vendor/cmock/targets/gcc_64.yml +55 -0
- data/vendor/cmock/test/c/TestCMockC.c +3 -3
- data/vendor/cmock/test/c/TestCMockCDynamic.c +11 -11
- data/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +4 -2
- data/vendor/cmock/test/c/TestCMockC_Runner.c +1 -1
- data/vendor/cmock/test/system/systest_generator.rb +38 -26
- data/vendor/cmock/test/system/test_compilation/const.h +8 -3
- data/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +92 -58
- data/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +53 -48
- data/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +58 -56
- data/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +19 -18
- data/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +13 -13
- data/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +20 -20
- data/vendor/cmock/test/system/test_interactions/expect_any_args.yml +238 -0
- data/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +36 -34
- data/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +24 -15
- data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +11 -11
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml +235 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_ignore_arg.yml +22 -26
- data/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +31 -31
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +141 -109
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_any_args_test.rb +82 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +17 -81
- data/vendor/cmock/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +10 -10
- data/vendor/cmock/test/unit/cmock_generator_utils_test.rb +47 -41
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +290 -227
- data/vendor/unity/{rakefile.rb → Rakefile} +13 -6
- data/vendor/unity/auto/colour_prompt.rb +33 -12
- data/vendor/unity/auto/generate_test_runner.rb +67 -63
- data/vendor/unity/auto/parseOutput.rb +189 -0
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_1}/makefile +41 -40
- data/vendor/unity/examples/example_1/readme.txt +5 -0
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_1}/src/ProductionCode.c +24 -24
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_1}/src/ProductionCode.h +3 -3
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_1}/src/ProductionCode2.c +9 -9
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_1}/src/ProductionCode2.h +2 -2
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_1}/test/TestProductionCode.c +62 -62
- data/vendor/unity/examples/{test → example_1/test}/TestProductionCode2.c +31 -31
- data/vendor/unity/examples/{test/no_ruby → example_1/test/test_runners}/TestProductionCode2_Runner.c +46 -46
- data/vendor/unity/examples/{test/no_ruby → example_1/test/test_runners}/TestProductionCode_Runner.c +50 -50
- data/vendor/unity/examples/example_2/makefile +45 -0
- data/vendor/unity/examples/example_2/readme.txt +5 -0
- data/vendor/unity/examples/{src → example_2/src}/ProductionCode.c +24 -24
- data/vendor/unity/examples/{src → example_2/src}/ProductionCode.h +3 -3
- data/vendor/unity/examples/{src → example_2/src}/ProductionCode2.c +9 -9
- data/vendor/unity/examples/{src → example_2/src}/ProductionCode2.h +2 -2
- data/vendor/unity/examples/{test → example_2/test}/TestProductionCode.c +64 -62
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_2}/test/TestProductionCode2.c +33 -31
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +9 -0
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +11 -0
- data/vendor/unity/examples/example_2/test/test_runners/all_tests.c +12 -0
- data/vendor/unity/examples/{helper → example_3/helper}/UnityHelper.c +10 -10
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_3}/helper/UnityHelper.h +12 -12
- data/vendor/unity/examples/{makefile → example_3/makefile} +41 -40
- data/vendor/unity/examples/{rakefile.rb → example_3/rakefile.rb} +44 -43
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_3}/rakefile_helper.rb +256 -256
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_3}/readme.txt +18 -17
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_3}/src/ProductionCode.c +24 -24
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_3}/src/ProductionCode.h +3 -3
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_3}/src/ProductionCode2.c +9 -9
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_3}/src/ProductionCode2.h +2 -2
- data/vendor/{c_exception/vendor/unity/targets/gcc_64.yml → unity/examples/example_3/target_gcc_32.yml} +46 -44
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_3}/test/TestProductionCode.c +62 -62
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_3}/test/TestProductionCode2.c +31 -31
- data/vendor/{c_exception/vendor/unity/examples → unity/examples/example_3}/test/no_ruby/TestProductionCode2_Runner.c +46 -46
- data/vendor/{cmock/vendor/unity/examples → unity/examples/example_3}/test/no_ruby/TestProductionCode_Runner.c +50 -50
- data/vendor/unity/extras/eclipse/error_parsers.txt +26 -0
- data/vendor/unity/extras/fixture/src/unity_fixture.c +4 -1
- data/vendor/unity/extras/fixture/src/unity_fixture.h +17 -16
- data/vendor/unity/extras/fixture/src/unity_fixture_internals.h +7 -7
- data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +17 -0
- data/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +1 -0
- data/vendor/unity/makefile +6 -4
- data/vendor/unity/rakefile_helper.rb +36 -27
- data/vendor/unity/src/unity.c +180 -181
- data/vendor/unity/src/unity.h +64 -2
- data/vendor/unity/src/unity_internals.h +188 -102
- data/vendor/unity/targets/clang_strict.yml +83 -0
- data/vendor/unity/targets/gcc_32.yml +5 -0
- data/vendor/unity/targets/gcc_64.yml +5 -0
- data/vendor/{c_exception/vendor/unity/targets/gcc.yml → unity/targets/gcc_auto_limits.yml} +5 -2
- data/vendor/{cmock/vendor/unity/targets/gcc_64.yml → unity/targets/gcc_auto_sizeof.yml} +6 -3
- data/vendor/{cmock/vendor/unity/targets/gcc.yml → unity/targets/gcc_auto_stdint.yml} +4 -2
- data/vendor/unity/test/expectdata/testsample_cmd.c +57 -54
- data/vendor/unity/test/expectdata/testsample_def.c +53 -50
- data/vendor/unity/test/expectdata/testsample_mock_cmd.c +79 -76
- data/vendor/unity/test/expectdata/testsample_mock_def.c +75 -72
- data/vendor/unity/test/expectdata/testsample_mock_new1.c +88 -85
- data/vendor/unity/test/expectdata/testsample_mock_new2.c +88 -85
- data/vendor/unity/test/expectdata/testsample_mock_param.c +76 -73
- data/vendor/unity/test/expectdata/testsample_mock_run1.c +88 -85
- data/vendor/unity/test/expectdata/testsample_mock_run2.c +88 -85
- data/vendor/unity/test/expectdata/testsample_mock_yaml.c +89 -86
- data/vendor/unity/test/expectdata/testsample_new1.c +63 -60
- data/vendor/unity/test/expectdata/testsample_new2.c +66 -63
- data/vendor/unity/test/expectdata/testsample_param.c +54 -51
- data/vendor/unity/test/expectdata/testsample_run1.c +63 -60
- data/vendor/unity/test/expectdata/testsample_run2.c +66 -63
- data/vendor/unity/test/expectdata/testsample_yaml.c +67 -64
- data/vendor/unity/test/test_generate_test_runner.rb +66 -72
- data/vendor/unity/test/testunity.c +591 -111
- metadata +58 -195
- data/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -94
- 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 -202
- data/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -313
- data/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -23
- data/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -139
- data/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +0 -217
- data/vendor/c_exception/vendor/unity/docs/license.txt +0 -31
- data/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/vendor/c_exception/vendor/unity/examples/makefile +0 -40
- data/vendor/c_exception/vendor/unity/examples/rakefile.rb +0 -32
- data/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +0 -256
- data/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -37
- 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 -381
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/c_exception/vendor/unity/makefile +0 -35
- data/vendor/c_exception/vendor/unity/rakefile.rb +0 -59
- data/vendor/c_exception/vendor/unity/rakefile_helper.rb +0 -240
- 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 -979
- data/vendor/c_exception/vendor/unity/src/unity.h +0 -232
- data/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -424
- data/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +0 -94
- data/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
- data/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
- data/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -51
- data/vendor/c_exception/vendor/unity/test/testparameterized.c +0 -101
- data/vendor/c_exception/vendor/unity/test/testunity.c +0 -2024
- data/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
- data/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/docs/license.txt +0 -30
- data/vendor/cmock/vendor/c_exception/docs/readme.txt +0 -236
- data/vendor/cmock/vendor/c_exception/lib/CException.c +0 -39
- data/vendor/cmock/vendor/c_exception/lib/CException.h +0 -70
- data/vendor/cmock/vendor/c_exception/makefile +0 -24
- data/vendor/cmock/vendor/c_exception/rakefile.rb +0 -41
- 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 -27
- data/vendor/cmock/vendor/c_exception/test/TestException.c +0 -291
- data/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +0 -62
- data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +0 -94
- 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 -202
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +0 -313
- data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +0 -23
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +0 -139
- data/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
- data/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/Unity Summary.txt +0 -217
- data/vendor/cmock/vendor/unity/docs/license.txt +0 -31
- data/vendor/cmock/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/vendor/cmock/vendor/unity/examples/rakefile.rb +0 -32
- data/vendor/cmock/vendor/unity/examples/readme.txt +0 -18
- data/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/vendor/cmock/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/vendor/cmock/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +0 -37
- 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 -381
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/vendor/cmock/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/cmock/vendor/unity/makefile +0 -35
- data/vendor/cmock/vendor/unity/rakefile.rb +0 -48
- data/vendor/cmock/vendor/unity/rakefile_helper.rb +0 -240
- 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 -979
- data/vendor/cmock/vendor/unity/src/unity.h +0 -232
- data/vendor/cmock/vendor/unity/src/unity_internals.h +0 -424
- data/vendor/cmock/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/vendor/cmock/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/vendor/cmock/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/vendor/cmock/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/vendor/cmock/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/vendor/cmock/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/vendor/cmock/vendor/unity/targets/iar_msp430.yml +0 -94
- data/vendor/cmock/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/vendor/cmock/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/vendor/cmock/vendor/unity/test/testdata/mocksample.c +0 -51
- data/vendor/cmock/vendor/unity/test/testdata/sample.yml +0 -9
- data/vendor/cmock/vendor/unity/test/testdata/testsample.c +0 -51
- data/vendor/cmock/vendor/unity/test/testparameterized.c +0 -101
- data/vendor/cmock/vendor/unity/test/testunity.c +0 -2024
- data/vendor/unity/Gemfile +0 -4
- data/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/vendor/unity/examples/rakefile_helper.rb +0 -256
- data/vendor/unity/examples/readme.txt +0 -18
@@ -1,23 +0,0 @@
|
|
1
|
-
# ==========================================
|
2
|
-
# Unity Project - A Test Framework for C
|
3
|
-
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
-
# [Released under MIT License. Please refer to license.txt for details]
|
5
|
-
# ==========================================
|
6
|
-
|
7
|
-
require'yaml'
|
8
|
-
|
9
|
-
module RakefileHelpers
|
10
|
-
class TestFileFilter
|
11
|
-
def initialize(all_files = false)
|
12
|
-
@all_files = all_files
|
13
|
-
if not @all_files == true
|
14
|
-
if File.exist?('test_file_filter.yml')
|
15
|
-
filters = YAML.load_file( 'test_file_filter.yml' )
|
16
|
-
@all_files, @only_files, @exclude_files =
|
17
|
-
filters[:all_files], filters[:only_files], filters[:exclude_files]
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
attr_accessor :all_files, :only_files, :exclude_files
|
22
|
-
end
|
23
|
-
end
|
@@ -1,139 +0,0 @@
|
|
1
|
-
# ==========================================
|
2
|
-
# Unity Project - A Test Framework for C
|
3
|
-
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
-
# [Released under MIT License. Please refer to license.txt for details]
|
5
|
-
# ==========================================
|
6
|
-
|
7
|
-
#!/usr/bin/ruby
|
8
|
-
#
|
9
|
-
# unity_test_summary.rb
|
10
|
-
#
|
11
|
-
require 'fileutils'
|
12
|
-
require 'set'
|
13
|
-
|
14
|
-
class UnityTestSummary
|
15
|
-
include FileUtils::Verbose
|
16
|
-
|
17
|
-
attr_reader :report, :total_tests, :failures, :ignored
|
18
|
-
|
19
|
-
def initialize
|
20
|
-
@report = ''
|
21
|
-
@total_tests = 0
|
22
|
-
@failures = 0
|
23
|
-
@ignored = 0
|
24
|
-
end
|
25
|
-
|
26
|
-
def run
|
27
|
-
# Clean up result file names
|
28
|
-
results = @targets.map {|target| target.gsub(/\\/,'/')}
|
29
|
-
|
30
|
-
# Dig through each result file, looking for details on pass/fail:
|
31
|
-
failure_output = []
|
32
|
-
ignore_output = []
|
33
|
-
|
34
|
-
results.each do |result_file|
|
35
|
-
lines = File.readlines(result_file).map { |line| line.chomp }
|
36
|
-
if lines.length == 0
|
37
|
-
raise "Empty test result file: #{result_file}"
|
38
|
-
else
|
39
|
-
output = get_details(result_file, lines)
|
40
|
-
failure_output << output[:failures] unless output[:failures].empty?
|
41
|
-
ignore_output << output[:ignores] unless output[:ignores].empty?
|
42
|
-
tests,failures,ignored = parse_test_summary(lines)
|
43
|
-
@total_tests += tests
|
44
|
-
@failures += failures
|
45
|
-
@ignored += ignored
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
if @ignored > 0
|
50
|
-
@report += "\n"
|
51
|
-
@report += "--------------------------\n"
|
52
|
-
@report += "UNITY IGNORED TEST SUMMARY\n"
|
53
|
-
@report += "--------------------------\n"
|
54
|
-
@report += ignore_output.flatten.join("\n")
|
55
|
-
end
|
56
|
-
|
57
|
-
if @failures > 0
|
58
|
-
@report += "\n"
|
59
|
-
@report += "--------------------------\n"
|
60
|
-
@report += "UNITY FAILED TEST SUMMARY\n"
|
61
|
-
@report += "--------------------------\n"
|
62
|
-
@report += failure_output.flatten.join("\n")
|
63
|
-
end
|
64
|
-
|
65
|
-
@report += "\n"
|
66
|
-
@report += "--------------------------\n"
|
67
|
-
@report += "OVERALL UNITY TEST SUMMARY\n"
|
68
|
-
@report += "--------------------------\n"
|
69
|
-
@report += "#{@total_tests} TOTAL TESTS #{@failures} TOTAL FAILURES #{@ignored} IGNORED\n"
|
70
|
-
@report += "\n"
|
71
|
-
end
|
72
|
-
|
73
|
-
def set_targets(target_array)
|
74
|
-
@targets = target_array
|
75
|
-
end
|
76
|
-
|
77
|
-
def set_root_path(path)
|
78
|
-
@root = path
|
79
|
-
end
|
80
|
-
|
81
|
-
def usage(err_msg=nil)
|
82
|
-
puts "\nERROR: "
|
83
|
-
puts err_msg if err_msg
|
84
|
-
puts "\nUsage: unity_test_summary.rb result_file_directoy/ root_path/"
|
85
|
-
puts " result_file_directory - The location of your relults files."
|
86
|
-
puts " Defaults to current directory if not specified."
|
87
|
-
puts " Should end in / if specified."
|
88
|
-
puts " root_path - Helpful for producing more verbose output if using relative paths."
|
89
|
-
exit 1
|
90
|
-
end
|
91
|
-
|
92
|
-
protected
|
93
|
-
|
94
|
-
def get_details(result_file, lines)
|
95
|
-
results = { :failures => [], :ignores => [], :successes => [] }
|
96
|
-
lines.each do |line|
|
97
|
-
src_file,src_line,test_name,status,msg = line.split(/:/)
|
98
|
-
line_out = ((@root and (@root != 0)) ? "#{@root}#{line}" : line ).gsub(/\//, "\\")
|
99
|
-
case(status)
|
100
|
-
when 'IGNORE' then results[:ignores] << line_out
|
101
|
-
when 'FAIL' then results[:failures] << line_out
|
102
|
-
when 'PASS' then results[:successes] << line_out
|
103
|
-
end
|
104
|
-
end
|
105
|
-
return results
|
106
|
-
end
|
107
|
-
|
108
|
-
def parse_test_summary(summary)
|
109
|
-
if summary.find { |v| v =~ /(\d+) Tests (\d+) Failures (\d+) Ignored/ }
|
110
|
-
[$1.to_i,$2.to_i,$3.to_i]
|
111
|
-
else
|
112
|
-
raise "Couldn't parse test results: #{summary}"
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
def here; File.expand_path(File.dirname(__FILE__)); end
|
117
|
-
|
118
|
-
end
|
119
|
-
|
120
|
-
if $0 == __FILE__
|
121
|
-
uts = UnityTestSummary.new
|
122
|
-
begin
|
123
|
-
#look in the specified or current directory for result files
|
124
|
-
ARGV[0] ||= './'
|
125
|
-
targets = "#{ARGV[0].gsub(/\\/, '/')}*.test*"
|
126
|
-
results = Dir[targets]
|
127
|
-
raise "No *.testpass or *.testfail files found in '#{targets}'" if results.empty?
|
128
|
-
uts.set_targets(results)
|
129
|
-
|
130
|
-
#set the root path
|
131
|
-
ARGV[1] ||= File.expand_path(File.dirname(__FILE__)) + '/'
|
132
|
-
uts.set_root_path(ARGV[1])
|
133
|
-
|
134
|
-
#run the summarizer
|
135
|
-
puts uts.run
|
136
|
-
rescue Exception => e
|
137
|
-
uts.usage e.message
|
138
|
-
end
|
139
|
-
end
|
Binary file
|
Binary file
|
@@ -1,217 +0,0 @@
|
|
1
|
-
==============
|
2
|
-
Unity Test API
|
3
|
-
==============
|
4
|
-
|
5
|
-
[Copyright (c) 2007 - Unity Project by Mike Karlesky, Mark VanderVoord, and Greg Williams]
|
6
|
-
|
7
|
-
-------------
|
8
|
-
Running Tests
|
9
|
-
-------------
|
10
|
-
|
11
|
-
RUN_TEST(func, linenum)
|
12
|
-
|
13
|
-
Each Test is run within the macro RUN_TEST. This macro performs necessary setup before the test is called and handles cleanup and result tabulation afterwards.
|
14
|
-
|
15
|
-
--------------
|
16
|
-
Ignoring Tests
|
17
|
-
--------------
|
18
|
-
|
19
|
-
There are times when a test is incomplete or not valid for some reason. At these times, TEST_IGNORE can be called. Control will immediately be returned to the caller of the test, and no failures will be returned.
|
20
|
-
|
21
|
-
TEST_IGNORE()
|
22
|
-
|
23
|
-
Ignore this test and return immediately
|
24
|
-
|
25
|
-
TEST_IGNORE_MESSAGE (message)
|
26
|
-
|
27
|
-
Ignore this test and return immediately. Output a message stating why the test was ignored.
|
28
|
-
|
29
|
-
--------------
|
30
|
-
Aborting Tests
|
31
|
-
--------------
|
32
|
-
|
33
|
-
There are times when a test will contain an infinite loop on error conditions, or there may be reason to escape from the test early without executing the rest of the test. A pair of macros support this functionality in Unity. The first (TEST_PROTECT) sets up the feature, and handles emergency abort cases. TEST_ABORT can then be used at any time within the tests to return to the last TEST_PROTECT call.
|
34
|
-
|
35
|
-
TEST_PROTECT()
|
36
|
-
|
37
|
-
Setup and Catch macro
|
38
|
-
|
39
|
-
TEST_ABORT()
|
40
|
-
|
41
|
-
Abort Test macro
|
42
|
-
|
43
|
-
Example:
|
44
|
-
|
45
|
-
main()
|
46
|
-
{
|
47
|
-
if (TEST_PROTECT() == 0)
|
48
|
-
{
|
49
|
-
MyTest();
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
If MyTest calls TEST_ABORT, program control will immediately return to TEST_PROTECT with a non-zero return value.
|
54
|
-
|
55
|
-
|
56
|
-
=======================
|
57
|
-
Unity Assertion Summary
|
58
|
-
=======================
|
59
|
-
|
60
|
-
--------------------
|
61
|
-
Basic Validity Tests
|
62
|
-
--------------------
|
63
|
-
|
64
|
-
TEST_ASSERT_TRUE(condition)
|
65
|
-
|
66
|
-
Evaluates whatever code is in condition and fails if it evaluates to false
|
67
|
-
|
68
|
-
TEST_ASSERT_FALSE(condition)
|
69
|
-
|
70
|
-
Evaluates whatever code is in condition and fails if it evaluates to true
|
71
|
-
|
72
|
-
TEST_ASSERT(condition)
|
73
|
-
|
74
|
-
Another way of calling TEST_ASSERT_TRUE
|
75
|
-
|
76
|
-
TEST_ASSERT_UNLESS(condition)
|
77
|
-
|
78
|
-
Another way of calling TEST_ASSERT_FALSE
|
79
|
-
|
80
|
-
TEST_FAIL()
|
81
|
-
TEST_FAIL_MESSAGE(message)
|
82
|
-
|
83
|
-
This test is automatically marked as a failure. The message is output stating why.
|
84
|
-
|
85
|
-
------------------------------
|
86
|
-
Numerical Assertions: Integers
|
87
|
-
------------------------------
|
88
|
-
|
89
|
-
TEST_ASSERT_EQUAL_INT(expected, actual)
|
90
|
-
TEST_ASSERT_EQUAL_INT8(expected, actual)
|
91
|
-
TEST_ASSERT_EQUAL_INT16(expected, actual)
|
92
|
-
TEST_ASSERT_EQUAL_INT32(expected, actual)
|
93
|
-
TEST_ASSERT_EQUAL_INT64(expected, actual)
|
94
|
-
|
95
|
-
Compare two integers for equality and display errors as signed integers. A cast will be performed
|
96
|
-
to your natural integer size so often this can just be used. When you need to specify the exact size,
|
97
|
-
like when comparing arrays, you can use a specific version:
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
TEST_ASSERT_EQUAL_UINT(expected, actual)
|
102
|
-
|
103
|
-
Compare two integers for equality and display errors as unsigned integers. Like INT, there are
|
104
|
-
variants for different sizes also.
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
TEST_ASSERT_EQUAL_HEX(expected, actual)
|
109
|
-
|
110
|
-
Compares two integers for equality and display errors as hexadecimal. Like the other integer comparisons,
|
111
|
-
you can specify the size... here the size will also effect how many nibbles are shown (for example, HEX16
|
112
|
-
will show 4 nibbles).
|
113
|
-
|
114
|
-
_ARRAY
|
115
|
-
|
116
|
-
You can append _ARRAY to any of these macros to make an array comparison of that type. Here you will
|
117
|
-
need to care a bit more about the actual size of the value being checked. You will also specify an
|
118
|
-
additional argument which is the number of elements to compare. For example:
|
119
|
-
|
120
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(expected, actual, elements)
|
121
|
-
|
122
|
-
|
123
|
-
TEST_ASSERT_EQUAL(expected, actual)
|
124
|
-
|
125
|
-
Another way of calling TEST_ASSERT_EQUAL_INT
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
TEST_ASSERT_INT_WITHIN(delta, expected, actual)
|
130
|
-
|
131
|
-
Asserts that the actual value is within plus or minus delta of the expected value. This also comes in
|
132
|
-
size specific variants.
|
133
|
-
|
134
|
-
|
135
|
-
-----------------------------
|
136
|
-
Numerical Assertions: Bitwise
|
137
|
-
-----------------------------
|
138
|
-
|
139
|
-
TEST_ASSERT_BITS(mask, expected, actual)
|
140
|
-
|
141
|
-
Use an integer mask to specify which bits should be compared between two other integers. High bits in the mask are compared, low bits ignored.
|
142
|
-
|
143
|
-
TEST_ASSERT_BITS_HIGH(mask, actual)
|
144
|
-
|
145
|
-
Use an integer mask to specify which bits should be inspected to determine if they are all set high. High bits in the mask are compared, low bits ignored.
|
146
|
-
|
147
|
-
TEST_ASSERT_BITS_LOW(mask, actual)
|
148
|
-
|
149
|
-
Use an integer mask to specify which bits should be inspected to determine if they are all set low. High bits in the mask are compared, low bits ignored.
|
150
|
-
|
151
|
-
TEST_ASSERT_BIT_HIGH(bit, actual)
|
152
|
-
|
153
|
-
Test a single bit and verify that it is high. The bit is specified 0-31 for a 32-bit integer.
|
154
|
-
|
155
|
-
TEST_ASSERT_BIT_LOW(bit, actual)
|
156
|
-
|
157
|
-
Test a single bit and verify that it is low. The bit is specified 0-31 for a 32-bit integer.
|
158
|
-
|
159
|
-
----------------------------
|
160
|
-
Numerical Assertions: Floats
|
161
|
-
----------------------------
|
162
|
-
|
163
|
-
TEST_ASSERT_FLOAT_WITHIN(delta, expected, actual)
|
164
|
-
|
165
|
-
Asserts that the actual value is within plus or minus delta of the expected value.
|
166
|
-
|
167
|
-
TEST_ASSERT_EQUAL_FLOAT(expected, actual)
|
168
|
-
|
169
|
-
Asserts that two floating point values are "equal" within a small % delta of the expected value.
|
170
|
-
|
171
|
-
-----------------
|
172
|
-
String Assertions
|
173
|
-
-----------------
|
174
|
-
|
175
|
-
TEST_ASSERT_EQUAL_STRING(expected, actual)
|
176
|
-
|
177
|
-
Compare two null-terminate strings. Fail if any character is different or if the lengths are different.
|
178
|
-
|
179
|
-
TEST_ASSERT_EQUAL_STRING_MESSAGE(expected, actual, message)
|
180
|
-
|
181
|
-
Compare two null-terminate strings. Fail if any character is different or if the lengths are different. Output a custom message on failure.
|
182
|
-
|
183
|
-
------------------
|
184
|
-
Pointer Assertions
|
185
|
-
------------------
|
186
|
-
|
187
|
-
Most pointer operations can be performed by simply using the integer comparisons above. However, a couple of special cases are added for clarity.
|
188
|
-
|
189
|
-
TEST_ASSERT_NULL(pointer)
|
190
|
-
|
191
|
-
Fails if the pointer is not equal to NULL
|
192
|
-
|
193
|
-
TEST_ASSERT_NOT_NULL(pointer)
|
194
|
-
|
195
|
-
Fails if the pointer is equal to NULL
|
196
|
-
|
197
|
-
|
198
|
-
-----------------
|
199
|
-
Memory Assertions
|
200
|
-
-----------------
|
201
|
-
|
202
|
-
TEST_ASSERT_EQUAL_MEMORY(expected, actual, len)
|
203
|
-
|
204
|
-
Compare two blocks of memory. This is a good generic assertion for types that can't be coerced into acting like
|
205
|
-
standard types... but since it's a memory compare, you have to be careful that your data types are packed.
|
206
|
-
|
207
|
-
--------
|
208
|
-
_MESSAGE
|
209
|
-
--------
|
210
|
-
|
211
|
-
you can append _MESSAGE to any of the macros to make them take an additional argument. This argument
|
212
|
-
is a string that will be printed at the end of the failure strings. This is useful for specifying more
|
213
|
-
information about the problem.
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
@@ -1,31 +0,0 @@
|
|
1
|
-
Copyright (c) 2007-2010 Mike Karlesky, Mark VanderVoord, Greg Williams
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person
|
4
|
-
obtaining a copy of this software and associated documentation
|
5
|
-
files (the "Software"), to deal in the Software without
|
6
|
-
restriction, including without limitation the rights to use,
|
7
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the
|
9
|
-
Software is furnished to do so, subject to the following
|
10
|
-
conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be
|
13
|
-
included in all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
The end-user documentation included with the redistribution, if
|
16
|
-
any, must include the following acknowledgment: "This product
|
17
|
-
includes software developed for the Unity Project, by Mike Karlesky,
|
18
|
-
Mark VanderVoord, and Greg Williams and other contributors", in
|
19
|
-
the same place and form as other third-party acknowledgments.
|
20
|
-
Alternately, this acknowledgment may appear in the software
|
21
|
-
itself, in the same form and location as other such third-party
|
22
|
-
acknowledgments.
|
23
|
-
|
24
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
25
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
26
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
27
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
28
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
29
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
30
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
31
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1,10 +0,0 @@
|
|
1
|
-
#include "unity.h"
|
2
|
-
#include "UnityHelper.h"
|
3
|
-
#include <stdio.h>
|
4
|
-
#include <string.h>
|
5
|
-
|
6
|
-
void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line)
|
7
|
-
{
|
8
|
-
UNITY_TEST_ASSERT_EQUAL_INT(expected.x, actual.x, line, "Example Struct Failed For Field x");
|
9
|
-
UNITY_TEST_ASSERT_EQUAL_INT(expected.y, actual.y, line, "Example Struct Failed For Field y");
|
10
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
#ifndef _TESTHELPER_H
|
2
|
-
#define _TESTHELPER_H
|
3
|
-
|
4
|
-
#include "Types.h"
|
5
|
-
|
6
|
-
void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line);
|
7
|
-
|
8
|
-
#define UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, line, message) AssertEqualExampleStruct(expected, actual, line);
|
9
|
-
|
10
|
-
#define TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual) UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, __LINE__, NULL);
|
11
|
-
|
12
|
-
#endif // _TESTHELPER_H
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# ==========================================
|
2
|
-
# Unity Project - A Test Framework for C
|
3
|
-
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
-
# [Released under MIT License. Please refer to license.txt for details]
|
5
|
-
# ==========================================
|
6
|
-
|
7
|
-
C_COMPILER=gcc
|
8
|
-
TARGET_BASE1=test1
|
9
|
-
TARGET_BASE2=test2
|
10
|
-
ifeq ($(OS),Windows_NT)
|
11
|
-
TARGET_EXTENSION=.exe
|
12
|
-
else
|
13
|
-
TARGET_EXTENSION=.out
|
14
|
-
endif
|
15
|
-
TARGET1 = $(TARGET_BASE1)$(TARGET_EXTENSION)
|
16
|
-
TARGET2 = $(TARGET_BASE2)$(TARGET_EXTENSION)
|
17
|
-
SRC_FILES1=../src/unity.c src/ProductionCode.c test/TestProductionCode.c test/no_ruby/TestProductionCode_Runner.c
|
18
|
-
SRC_FILES2=../src/unity.c src/ProductionCode2.c test/TestProductionCode2.c test/no_ruby/TestProductionCode2_Runner.c
|
19
|
-
INC_DIRS=-Isrc -I../src
|
20
|
-
SYMBOLS=-DTEST
|
21
|
-
|
22
|
-
ifeq ($(OS),Windows_NT)
|
23
|
-
CLEANUP = del /F /Q build\* && del /F /Q $(TARGET1) && del /F /Q $(TARGET2)
|
24
|
-
else
|
25
|
-
CLEANUP = rm -f build/*.o ; rm -f $(TARGET1) ; rm -f $(TARGET2)
|
26
|
-
endif
|
27
|
-
|
28
|
-
all: clean default
|
29
|
-
|
30
|
-
default:
|
31
|
-
# ruby auto/generate_test_runner.rb test/TestProductionCode.c test/no_ruby/TestProductionCode_Runner.c
|
32
|
-
# ruby auto/generate_test_runner.rb test/TestProductionCode2.c test/no_ruby/TestProductionCode2_Runner.c
|
33
|
-
$(C_COMPILER) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES1) -o $(TARGET1)
|
34
|
-
$(C_COMPILER) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES2) -o $(TARGET2)
|
35
|
-
$(TARGET1)
|
36
|
-
$(TARGET2)
|
37
|
-
|
38
|
-
clean:
|
39
|
-
$(CLEANUP)
|
40
|
-
|