ceedling 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/GIT_COMMIT_SHA +1 -1
- data/README.md +47 -50
- data/Rakefile +3 -2
- data/bin/app_cfg.rb +21 -0
- data/bin/cli_handler.rb +7 -1
- data/bin/cli_helper.rb +5 -0
- data/docs/Changelog.md +10 -0
- data/docs/overrides/main.html +11 -8
- data/lib/ceedling/config/configurator.rb +5 -2
- data/lib/ceedling/config/configurator_setup.rb +26 -15
- data/lib/ceedling/file_wrapper.rb +56 -26
- data/lib/ceedling/rake_app/test_task_name.rb +29 -0
- data/lib/ceedling/rakefile.rb +1 -0
- data/lib/ceedling/rakefiles/tests/rules_tests.rake +3 -20
- data/lib/ceedling/rakefiles/tests/rules_tests_generate.rake +4 -30
- data/lib/ceedling/setupinator.rb +4 -0
- data/lib/ceedling/test_invoker/test_build_executor.rb +18 -1
- data/lib/version.rb +1 -1
- data/plugins/bullseye/bullseye.rake +6 -9
- data/plugins/gcov/gcov.rake +6 -9
- data/plugins/sanitize/sanitize.rake +6 -6
- data/plugins/valgrind/valgrind.rake +6 -6
- data/site-local/404.html +6 -20
- data/site-local/assets/javascripts/{bundle.d7400e89.min.js → bundle.c21346df.min.js} +3 -3
- data/site-local/assets/javascripts/{bundle.d7400e89.min.js.map → bundle.c21346df.min.js.map} +2 -2
- data/site-local/assets/javascripts/workers/{search.2c215733.min.js → search.a7633da7.min.js} +2 -2
- data/site-local/assets/javascripts/workers/{search.2c215733.min.js.map → search.a7633da7.min.js.map} +1 -1
- data/site-local/assets/stylesheets/main.57a0d79d.min.css +6 -0
- data/site-local/assets/stylesheets/main.57a0d79d.min.css.map +1 -0
- data/site-local/assets/stylesheets/palette.fb2fffe2.min.css +4 -0
- data/site-local/assets/stylesheets/palette.fb2fffe2.min.css.map +1 -0
- data/site-local/configuration/environment-vars.html +6 -20
- data/site-local/configuration/global-collections.html +6 -20
- data/site-local/configuration/index.html +6 -20
- data/site-local/configuration/loading.html +6 -20
- data/site-local/configuration/mixins.html +10 -24
- data/site-local/configuration/parallel-builds.html +6 -20
- data/site-local/configuration/project-file.html +8 -22
- data/site-local/configuration/reference/cexception.html +6 -20
- data/site-local/configuration/reference/cmock.html +6 -20
- data/site-local/configuration/reference/defines.html +16 -30
- data/site-local/configuration/reference/environment.html +10 -24
- data/site-local/configuration/reference/extension.html +6 -20
- data/site-local/configuration/reference/files.html +13 -27
- data/site-local/configuration/reference/flags.html +13 -27
- data/site-local/configuration/reference/index.html +6 -20
- data/site-local/configuration/reference/libraries.html +6 -20
- data/site-local/configuration/reference/mixins.html +6 -20
- data/site-local/configuration/reference/partials.html +6 -20
- data/site-local/configuration/reference/paths.html +11 -25
- data/site-local/configuration/reference/plugins.html +6 -20
- data/site-local/configuration/reference/project.html +16 -30
- data/site-local/configuration/reference/release-build.html +6 -20
- data/site-local/configuration/reference/test-build.html +6 -20
- data/site-local/configuration/reference/test-runner.html +6 -20
- data/site-local/configuration/reference/tools.html +18 -32
- data/site-local/configuration/reference/unity.html +6 -20
- data/site-local/configuration/which-ceedling.html +6 -20
- data/site-local/development/index.html +6 -20
- data/site-local/development/plugins/configuration.html +6 -20
- data/site-local/development/plugins/index.html +6 -20
- data/site-local/development/plugins/plugin-subclass.html +54 -68
- data/site-local/development/plugins/rake-tasks.html +8 -22
- data/site-local/development/releases.html +79 -28
- data/site-local/development/workflow.html +14 -28
- data/site-local/getting-started/builds.html +6 -20
- data/site-local/getting-started/command-line.html +6 -20
- data/site-local/getting-started/example-projects/cipher-quest.html +6 -20
- data/site-local/getting-started/example-projects/index.html +6 -20
- data/site-local/getting-started/example-projects/temp-sensor.html +6 -20
- data/site-local/getting-started/example-projects/wondrous-forest.html +6 -20
- data/site-local/getting-started/index.html +6 -20
- data/site-local/getting-started/installation.html +6 -20
- data/site-local/getting-started/quick-start.html +6 -20
- data/site-local/help.html +6 -20
- data/site-local/index.html +11 -24
- data/site-local/overview/build-system.html +6 -20
- data/site-local/overview/index.html +6 -20
- data/site-local/overview/test-environments.html +6 -20
- data/site-local/overview/tools-and-frameworks.html +6 -20
- data/site-local/plugins/beep.html +6 -20
- data/site-local/plugins/bullseye/index.html +13 -24
- data/site-local/plugins/bullseye/licensing.html +14 -28
- data/site-local/plugins/command-hooks.html +8 -22
- data/site-local/plugins/compile-commands-json-db.html +6 -20
- data/site-local/plugins/cppcheck.html +8 -22
- data/site-local/plugins/dependencies.html +10 -24
- data/site-local/plugins/fff.html +7 -21
- data/site-local/plugins/gcov/examples.html +7 -21
- data/site-local/plugins/gcov/gcovr.html +7 -21
- data/site-local/plugins/gcov/index.html +6 -20
- data/site-local/plugins/gcov/overview.html +9 -20
- data/site-local/plugins/gcov/reportgenerator.html +9 -23
- data/site-local/plugins/gcov/reporting.html +6 -20
- data/site-local/plugins/gcov/setup.html +6 -20
- data/site-local/plugins/gcov/tool-versions.html +6 -20
- data/site-local/plugins/gcov/troubleshooting.html +10 -24
- data/site-local/plugins/index.html +6 -20
- data/site-local/plugins/module-generator.html +21 -35
- data/site-local/plugins/report-build-warnings-log.html +53 -67
- data/site-local/plugins/report-tests-gtestlike-stdout.html +6 -20
- data/site-local/plugins/report-tests-ide-stdout.html +43 -57
- data/site-local/plugins/report-tests-log-factory.html +50 -64
- data/site-local/plugins/report-tests-pretty-stdout.html +7 -21
- data/site-local/plugins/report-tests-raw-output-log.html +6 -20
- data/site-local/plugins/report-tests-teamcity-stdout.html +16 -30
- data/site-local/plugins/sanitize.html +54 -64
- data/site-local/plugins/valgrind.html +46 -56
- data/site-local/project/index.html +6 -20
- data/site-local/project/release-history.html +6 -20
- data/site-local/project/sbom.html +6 -20
- data/site-local/project/upgrade.html +6 -20
- data/site-local/reference/build-directives.html +6 -20
- data/site-local/reference/command-line.html +6 -20
- data/site-local/reference/environment-vars.html +6 -20
- data/site-local/reference/gcov-plugin.html +6 -20
- data/site-local/reference/global-collections.html +6 -20
- data/site-local/reference/index.html +6 -20
- data/site-local/reference/partials-macros.html +6 -20
- data/site-local/reference/project-configuration.html +6 -20
- data/site-local/sitemap.xml.gz +0 -0
- data/site-local/snapshot/examples/cipher_quest/index.html +16 -30
- data/site-local/snapshot/examples/temp_sensor/index.html +8 -22
- data/site-local/snapshot/examples/wondrous_forest/index.html +6 -20
- data/site-local/testing-guide/build-directives.html +14 -28
- data/site-local/testing-guide/conventions.html +13 -27
- data/site-local/testing-guide/frameworks.html +11 -25
- data/site-local/testing-guide/index.html +6 -20
- data/site-local/testing-guide/partials/configuration.html +8 -22
- data/site-local/testing-guide/partials/conventions.html +8 -22
- data/site-local/testing-guide/partials/directives.html +16 -30
- data/site-local/testing-guide/partials/example.html +14 -28
- data/site-local/testing-guide/partials/index.html +6 -20
- data/site-local/testing-guide/partials/overview.html +6 -20
- data/site-local/testing-guide/partials/variables.html +11 -25
- data/site-local/testing-guide/test-cases.html +13 -27
- data/site-local/testing-guide/test-sample.html +12 -26
- data/site-local/testing-guide/test-suite-anatomy.html +6 -20
- data/spec/integration/configurator_pipeline_spec.rb +10 -0
- data/spec/integration/dependencies/dependency_tracker_core_spec.rb +40 -0
- data/spec/integration/rake_task_registry_plugins_spec.rb +95 -0
- data/spec/integration/vendor_copy_transient_io_retry_spec.rb +122 -74
- data/spec/support/integration/configurator_integration_helper.rb +4 -1
- data/spec/units/bin/app_cfg_spec.rb +10 -0
- data/spec/units/bin/cli_handler_spec.rb +2 -1
- data/spec/units/bin/cli_helper_spec.rb +10 -0
- data/spec/units/config/configurator_setup_spec.rb +61 -43
- data/spec/units/config/configurator_spec.rb +10 -1
- data/spec/units/file_wrapper_spec.rb +66 -27
- data/spec/units/rake_app/test_task_name_spec.rb +47 -0
- data/spec/units/test_build_executor_spec.rb +42 -2
- metadata +16 -11
- data/site-local/assets/stylesheets/main.ec1eaa64.min.css +0 -1
- data/site-local/assets/stylesheets/main.ec1eaa64.min.css.map +0 -1
- data/site-local/assets/stylesheets/palette.ab4e12ef.min.css +0 -1
- data/site-local/assets/stylesheets/palette.ab4e12ef.min.css.map +0 -1
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
<link rel="icon" href="../assets/images/favicon.png">
|
|
24
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.
|
|
24
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.0">
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
<link rel="stylesheet" href="../assets/stylesheets/main.
|
|
32
|
+
<link rel="stylesheet" href="../assets/stylesheets/main.57a0d79d.min.css">
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
<link rel="stylesheet" href="../assets/stylesheets/palette.
|
|
35
|
+
<link rel="stylesheet" href="../assets/stylesheets/palette.fb2fffe2.min.css">
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -89,30 +89,16 @@
|
|
|
89
89
|
</div>
|
|
90
90
|
<div data-md-component="announce">
|
|
91
91
|
|
|
92
|
-
<aside class="md-banner">
|
|
93
|
-
<div class="md-banner__inner md-grid md-typeset">
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
</div>
|
|
99
|
-
|
|
100
|
-
</aside>
|
|
101
|
-
|
|
102
92
|
</div>
|
|
103
93
|
|
|
104
94
|
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
|
105
95
|
|
|
106
96
|
<aside class="md-banner md-banner--warning">
|
|
107
97
|
<div class="md-banner__inner md-grid md-typeset">
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
You are not viewing the latest version.
|
|
98
|
+
You are not viewing the latest version.
|
|
111
99
|
<a href="../..">
|
|
112
100
|
<strong>Click here to go to latest.</strong>
|
|
113
101
|
</a>
|
|
114
|
-
|
|
115
|
-
|
|
116
102
|
</div>
|
|
117
103
|
<script>var el=document.querySelector("[data-md-component=outdated]"),base=new URL(".."),outdated=__md_get("__outdated",sessionStorage,base);!0===outdated&&el&&(el.hidden=!1)</script>
|
|
118
104
|
</aside>
|
|
@@ -4380,10 +4366,10 @@ those for advanced reports with GCovr and ReportGenerator.</p>
|
|
|
4380
4366
|
|
|
4381
4367
|
|
|
4382
4368
|
|
|
4383
|
-
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../assets/javascripts/workers/search.
|
|
4369
|
+
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>
|
|
4384
4370
|
|
|
4385
4371
|
|
|
4386
|
-
<script src="../assets/javascripts/bundle.
|
|
4372
|
+
<script src="../assets/javascripts/bundle.c21346df.min.js"></script>
|
|
4387
4373
|
|
|
4388
4374
|
|
|
4389
4375
|
</body>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
<link rel="icon" href="../assets/images/favicon.png">
|
|
24
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.
|
|
24
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.0">
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
<link rel="stylesheet" href="../assets/stylesheets/main.
|
|
32
|
+
<link rel="stylesheet" href="../assets/stylesheets/main.57a0d79d.min.css">
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
<link rel="stylesheet" href="../assets/stylesheets/palette.
|
|
35
|
+
<link rel="stylesheet" href="../assets/stylesheets/palette.fb2fffe2.min.css">
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -89,30 +89,16 @@
|
|
|
89
89
|
</div>
|
|
90
90
|
<div data-md-component="announce">
|
|
91
91
|
|
|
92
|
-
<aside class="md-banner">
|
|
93
|
-
<div class="md-banner__inner md-grid md-typeset">
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
</div>
|
|
99
|
-
|
|
100
|
-
</aside>
|
|
101
|
-
|
|
102
92
|
</div>
|
|
103
93
|
|
|
104
94
|
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
|
105
95
|
|
|
106
96
|
<aside class="md-banner md-banner--warning">
|
|
107
97
|
<div class="md-banner__inner md-grid md-typeset">
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
You are not viewing the latest version.
|
|
98
|
+
You are not viewing the latest version.
|
|
111
99
|
<a href="../..">
|
|
112
100
|
<strong>Click here to go to latest.</strong>
|
|
113
101
|
</a>
|
|
114
|
-
|
|
115
|
-
|
|
116
102
|
</div>
|
|
117
103
|
<script>var el=document.querySelector("[data-md-component=outdated]"),base=new URL(".."),outdated=__md_get("__outdated",sessionStorage,base);!0===outdated&&el&&(el.hidden=!1)</script>
|
|
118
104
|
</aside>
|
|
@@ -4590,10 +4576,10 @@ identifier <code>partial_<function_name>_<variable_name></code>.</p>
|
|
|
4590
4576
|
|
|
4591
4577
|
|
|
4592
4578
|
|
|
4593
|
-
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../assets/javascripts/workers/search.
|
|
4579
|
+
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>
|
|
4594
4580
|
|
|
4595
4581
|
|
|
4596
|
-
<script src="../assets/javascripts/bundle.
|
|
4582
|
+
<script src="../assets/javascripts/bundle.c21346df.min.js"></script>
|
|
4597
4583
|
|
|
4598
4584
|
|
|
4599
4585
|
</body>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
<link rel="icon" href="../assets/images/favicon.png">
|
|
24
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.
|
|
24
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.0">
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
<link rel="stylesheet" href="../assets/stylesheets/main.
|
|
32
|
+
<link rel="stylesheet" href="../assets/stylesheets/main.57a0d79d.min.css">
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
<link rel="stylesheet" href="../assets/stylesheets/palette.
|
|
35
|
+
<link rel="stylesheet" href="../assets/stylesheets/palette.fb2fffe2.min.css">
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -89,30 +89,16 @@
|
|
|
89
89
|
</div>
|
|
90
90
|
<div data-md-component="announce">
|
|
91
91
|
|
|
92
|
-
<aside class="md-banner">
|
|
93
|
-
<div class="md-banner__inner md-grid md-typeset">
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
</div>
|
|
99
|
-
|
|
100
|
-
</aside>
|
|
101
|
-
|
|
102
92
|
</div>
|
|
103
93
|
|
|
104
94
|
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
|
105
95
|
|
|
106
96
|
<aside class="md-banner md-banner--warning">
|
|
107
97
|
<div class="md-banner__inner md-grid md-typeset">
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
You are not viewing the latest version.
|
|
98
|
+
You are not viewing the latest version.
|
|
111
99
|
<a href="../..">
|
|
112
100
|
<strong>Click here to go to latest.</strong>
|
|
113
101
|
</a>
|
|
114
|
-
|
|
115
|
-
|
|
116
102
|
</div>
|
|
117
103
|
<script>var el=document.querySelector("[data-md-component=outdated]"),base=new URL(".."),outdated=__md_get("__outdated",sessionStorage,base);!0===outdated&&el&&(el.hidden=!1)</script>
|
|
118
104
|
</aside>
|
|
@@ -4507,10 +4493,10 @@ left unset.</p>
|
|
|
4507
4493
|
|
|
4508
4494
|
|
|
4509
4495
|
|
|
4510
|
-
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../assets/javascripts/workers/search.
|
|
4496
|
+
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>
|
|
4511
4497
|
|
|
4512
4498
|
|
|
4513
|
-
<script src="../assets/javascripts/bundle.
|
|
4499
|
+
<script src="../assets/javascripts/bundle.c21346df.min.js"></script>
|
|
4514
4500
|
|
|
4515
4501
|
|
|
4516
4502
|
</body>
|
data/site-local/sitemap.xml.gz
CHANGED
|
Binary file
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
<link rel="icon" href="../../../assets/images/favicon.png">
|
|
20
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.
|
|
20
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.0">
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/main.
|
|
28
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/main.57a0d79d.min.css">
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/palette.
|
|
31
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/palette.fb2fffe2.min.css">
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -85,30 +85,16 @@
|
|
|
85
85
|
</div>
|
|
86
86
|
<div data-md-component="announce">
|
|
87
87
|
|
|
88
|
-
<aside class="md-banner">
|
|
89
|
-
<div class="md-banner__inner md-grid md-typeset">
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
</aside>
|
|
97
|
-
|
|
98
88
|
</div>
|
|
99
89
|
|
|
100
90
|
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
|
101
91
|
|
|
102
92
|
<aside class="md-banner md-banner--warning">
|
|
103
93
|
<div class="md-banner__inner md-grid md-typeset">
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
You are not viewing the latest version.
|
|
94
|
+
You are not viewing the latest version.
|
|
107
95
|
<a href="../../../..">
|
|
108
96
|
<strong>Click here to go to latest.</strong>
|
|
109
97
|
</a>
|
|
110
|
-
|
|
111
|
-
|
|
112
98
|
</div>
|
|
113
99
|
<script>var el=document.querySelector("[data-md-component=outdated]"),base=new URL("../../.."),outdated=__md_get("__outdated",sessionStorage,base);!0===outdated&&el&&(el.hidden=!1)</script>
|
|
114
100
|
</aside>
|
|
@@ -4378,7 +4364,7 @@ applies automatically via the <code>'*'</code> matcher in <code>project.yml</cod
|
|
|
4378
4364
|
own symbol via the <code>:defines</code> matcher in <code>project.yml</code>:</p>
|
|
4379
4365
|
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="nt">:defines</span><span class="p">:</span>
|
|
4380
4366
|
<a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a><span class="w"> </span><span class="nt">:test</span><span class="p">:</span>
|
|
4381
|
-
<a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a><span class="w"> </span><span class="s"
|
|
4367
|
+
<a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a><span class="w"> </span><span class="s">'*'</span><span class="p p-Indicator">:</span>
|
|
4382
4368
|
<a id="__codelineno-2-4" name="__codelineno-2-4" href="#__codelineno-2-4"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">TEST</span>
|
|
4383
4369
|
<a id="__codelineno-2-5" name="__codelineno-2-5" href="#__codelineno-2-5"></a><span class="w"> </span><span class="nt">:TestCipherRot13</span><span class="p">:</span>
|
|
4384
4370
|
<a id="__codelineno-2-6" name="__codelineno-2-6" href="#__codelineno-2-6"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">CIPHER_ROT13</span>
|
|
@@ -4402,7 +4388,7 @@ compile it with <code>CIPHER_CAESAR</code>; neither affects the other.</p>
|
|
|
4402
4388
|
<p>The <code>:defines: :release:</code> section in <code>project.yml</code> is intentionally empty.
|
|
4403
4389
|
A plain <code>ceedling release</code> will <strong>fail</strong> at the compilation of <code>main.c</code> with
|
|
4404
4390
|
a descriptive error:</p>
|
|
4405
|
-
<div class="highlight"><pre><span></span><code><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a>error:
|
|
4391
|
+
<div class="highlight"><pre><span></span><code><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a>error: "cipher_quest: No feature defined. An agent needs tools. ..."
|
|
4406
4392
|
</code></pre></div>
|
|
4407
4393
|
<p>To build a release binary, supply one or more feature symbols via a mixin.</p>
|
|
4408
4394
|
<hr />
|
|
@@ -4450,33 +4436,33 @@ release compilation flags without modifying the base project file.</p>
|
|
|
4450
4436
|
line using the <code>=</code> sigil prefix. Quote the value to protect YAML special
|
|
4451
4437
|
characters (colons, brackets, spaces) from shell interpretation:</p>
|
|
4452
4438
|
<div class="highlight"><pre><span></span><code><a id="__codelineno-9-1" name="__codelineno-9-1" href="#__codelineno-9-1"></a><span class="c1"># ROT13 variant</span>
|
|
4453
|
-
<a id="__codelineno-9-2" name="__codelineno-9-2" href="#__codelineno-9-2"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span><span class="s2"
|
|
4439
|
+
<a id="__codelineno-9-2" name="__codelineno-9-2" href="#__codelineno-9-2"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span><span class="s2">"=defines: {release: [CIPHER_ROT13]}"</span>
|
|
4454
4440
|
<a id="__codelineno-9-3" name="__codelineno-9-3" href="#__codelineno-9-3"></a>
|
|
4455
4441
|
<a id="__codelineno-9-4" name="__codelineno-9-4" href="#__codelineno-9-4"></a><span class="c1"># Caesar cipher variant</span>
|
|
4456
|
-
<a id="__codelineno-9-5" name="__codelineno-9-5" href="#__codelineno-9-5"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span><span class="s2"
|
|
4442
|
+
<a id="__codelineno-9-5" name="__codelineno-9-5" href="#__codelineno-9-5"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span><span class="s2">"=defines: {release: [CIPHER_CAESAR]}"</span>
|
|
4457
4443
|
<a id="__codelineno-9-6" name="__codelineno-9-6" href="#__codelineno-9-6"></a>
|
|
4458
4444
|
<a id="__codelineno-9-7" name="__codelineno-9-7" href="#__codelineno-9-7"></a><span class="c1"># All features enabled</span>
|
|
4459
|
-
<a id="__codelineno-9-8" name="__codelineno-9-8" href="#__codelineno-9-8"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span><span class="s2"
|
|
4445
|
+
<a id="__codelineno-9-8" name="__codelineno-9-8" href="#__codelineno-9-8"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span><span class="s2">"=defines: {release: [CIPHER_ROT13, CIPHER_CAESAR, ANALYZER_ENABLED]}"</span>
|
|
4460
4446
|
</code></pre></div>
|
|
4461
4447
|
<p>Multiple <code>--mixin</code> values can be combined and are processed left-to-right:</p>
|
|
4462
|
-
<div class="highlight"><pre><span></span><code><a id="__codelineno-10-1" name="__codelineno-10-1" href="#__codelineno-10-1"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span>@mixin/release_rot13.yml<span class="w"> </span>--mixin<span class="w"> </span><span class="s2"
|
|
4448
|
+
<div class="highlight"><pre><span></span><code><a id="__codelineno-10-1" name="__codelineno-10-1" href="#__codelineno-10-1"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="w"> </span>@mixin/release_rot13.yml<span class="w"> </span>--mixin<span class="w"> </span><span class="s2">"=project: {build_root: ci_build}"</span>
|
|
4463
4449
|
</code></pre></div>
|
|
4464
4450
|
<hr />
|
|
4465
4451
|
<h2 id="example-session">Example Session</h2>
|
|
4466
4452
|
<div class="highlight"><pre><span></span><code><a id="__codelineno-11-1" name="__codelineno-11-1" href="#__codelineno-11-1"></a><span class="c1"># Build and run with ROT13 enabled</span>
|
|
4467
4453
|
<a id="__codelineno-11-2" name="__codelineno-11-2" href="#__codelineno-11-2"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="o">=</span>mixin/release_rot13.yml
|
|
4468
|
-
<a id="__codelineno-11-3" name="__codelineno-11-3" href="#__codelineno-11-3"></a>./build/release/cipher_quest.out<span class="w"> </span>rot13<span class="w"> </span><span class="s2"
|
|
4454
|
+
<a id="__codelineno-11-3" name="__codelineno-11-3" href="#__codelineno-11-3"></a>./build/release/cipher_quest.out<span class="w"> </span>rot13<span class="w"> </span><span class="s2">"Attack at dawn"</span>
|
|
4469
4455
|
<a id="__codelineno-11-4" name="__codelineno-11-4" href="#__codelineno-11-4"></a><span class="c1"># => Nggnpx ng qnja</span>
|
|
4470
4456
|
<a id="__codelineno-11-5" name="__codelineno-11-5" href="#__codelineno-11-5"></a>
|
|
4471
|
-
<a id="__codelineno-11-6" name="__codelineno-11-6" href="#__codelineno-11-6"></a>./build/release/cipher_quest.out<span class="w"> </span>rot13<span class="w"> </span><span class="s2"
|
|
4457
|
+
<a id="__codelineno-11-6" name="__codelineno-11-6" href="#__codelineno-11-6"></a>./build/release/cipher_quest.out<span class="w"> </span>rot13<span class="w"> </span><span class="s2">"Nggnpx ng qnja"</span>
|
|
4472
4458
|
<a id="__codelineno-11-7" name="__codelineno-11-7" href="#__codelineno-11-7"></a><span class="c1"># => Attack at dawn</span>
|
|
4473
4459
|
<a id="__codelineno-11-8" name="__codelineno-11-8" href="#__codelineno-11-8"></a>
|
|
4474
4460
|
<a id="__codelineno-11-9" name="__codelineno-11-9" href="#__codelineno-11-9"></a><span class="c1"># Build with all features and try the analyzer</span>
|
|
4475
4461
|
<a id="__codelineno-11-10" name="__codelineno-11-10" href="#__codelineno-11-10"></a>ceedling<span class="w"> </span>release<span class="w"> </span>--mixin<span class="o">=</span>mixin/release_full.yml
|
|
4476
|
-
<a id="__codelineno-11-11" name="__codelineno-11-11" href="#__codelineno-11-11"></a>./build/release/cipher_quest.out<span class="w"> </span>ispalindrome<span class="w"> </span><span class="s2"
|
|
4462
|
+
<a id="__codelineno-11-11" name="__codelineno-11-11" href="#__codelineno-11-11"></a>./build/release/cipher_quest.out<span class="w"> </span>ispalindrome<span class="w"> </span><span class="s2">"A man a plan a canal Panama"</span>
|
|
4477
4463
|
<a id="__codelineno-11-12" name="__codelineno-11-12" href="#__codelineno-11-12"></a><span class="c1"># => Yes, it is a palindrome.</span>
|
|
4478
4464
|
<a id="__codelineno-11-13" name="__codelineno-11-13" href="#__codelineno-11-13"></a>
|
|
4479
|
-
<a id="__codelineno-11-14" name="__codelineno-11-14" href="#__codelineno-11-14"></a>./build/release/cipher_quest.out<span class="w"> </span>caesar<span class="w"> </span><span class="m">13</span><span class="w"> </span><span class="s2"
|
|
4465
|
+
<a id="__codelineno-11-14" name="__codelineno-11-14" href="#__codelineno-11-14"></a>./build/release/cipher_quest.out<span class="w"> </span>caesar<span class="w"> </span><span class="m">13</span><span class="w"> </span><span class="s2">"Hello, World!"</span>
|
|
4480
4466
|
<a id="__codelineno-11-15" name="__codelineno-11-15" href="#__codelineno-11-15"></a><span class="c1"># => Uryyb, Jbeyq!</span>
|
|
4481
4467
|
</code></pre></div>
|
|
4482
4468
|
|
|
@@ -4546,10 +4532,10 @@ characters (colons, brackets, spaces) from shell interpretation:</p>
|
|
|
4546
4532
|
|
|
4547
4533
|
|
|
4548
4534
|
|
|
4549
|
-
<script id="__config" type="application/json">{"annotate": null, "base": "../../..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../../../assets/javascripts/workers/search.
|
|
4535
|
+
<script id="__config" type="application/json">{"annotate": null, "base": "../../..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../../../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>
|
|
4550
4536
|
|
|
4551
4537
|
|
|
4552
|
-
<script src="../../../assets/javascripts/bundle.
|
|
4538
|
+
<script src="../../../assets/javascripts/bundle.c21346df.min.js"></script>
|
|
4553
4539
|
|
|
4554
4540
|
|
|
4555
4541
|
</body>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
<link rel="icon" href="../../../assets/images/favicon.png">
|
|
20
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.
|
|
20
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.0">
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/main.
|
|
28
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/main.57a0d79d.min.css">
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/palette.
|
|
31
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/palette.fb2fffe2.min.css">
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -85,30 +85,16 @@
|
|
|
85
85
|
</div>
|
|
86
86
|
<div data-md-component="announce">
|
|
87
87
|
|
|
88
|
-
<aside class="md-banner">
|
|
89
|
-
<div class="md-banner__inner md-grid md-typeset">
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
</aside>
|
|
97
|
-
|
|
98
88
|
</div>
|
|
99
89
|
|
|
100
90
|
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
|
101
91
|
|
|
102
92
|
<aside class="md-banner md-banner--warning">
|
|
103
93
|
<div class="md-banner__inner md-grid md-typeset">
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
You are not viewing the latest version.
|
|
94
|
+
You are not viewing the latest version.
|
|
107
95
|
<a href="../../../..">
|
|
108
96
|
<strong>Click here to go to latest.</strong>
|
|
109
97
|
</a>
|
|
110
|
-
|
|
111
|
-
|
|
112
98
|
</div>
|
|
113
99
|
<script>var el=document.querySelector("[data-md-component=outdated]"),base=new URL("../../.."),outdated=__md_get("__outdated",sessionStorage,base);!0===outdated&&el&&(el.hidden=!1)</script>
|
|
114
100
|
</aside>
|
|
@@ -4568,8 +4554,8 @@ hardware state:</p>
|
|
|
4568
4554
|
<div class="highlight"><pre><span></span><code><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a><span class="kt">void</span><span class="w"> </span><span class="nf">testPutCharWritesByteToTransmitHoldingRegisterWhenReady</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span>
|
|
4569
4555
|
<a id="__codelineno-8-2" name="__codelineno-8-2" href="#__codelineno-8-2"></a><span class="p">{</span>
|
|
4570
4556
|
<a id="__codelineno-8-3" name="__codelineno-8-3" href="#__codelineno-8-3"></a><span class="w"> </span><span class="n">UsartStandin</span><span class="p">.</span><span class="n">US_CSR</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">AT91C_US_TXRDY</span><span class="p">;</span><span class="w"> </span><span class="c1">// Make the ready-check pass</span>
|
|
4571
|
-
<a id="__codelineno-8-4" name="__codelineno-8-4" href="#__codelineno-8-4"></a><span class="w"> </span><span class="n">Usart_PutChar</span><span class="p">(</span><span class="sc"
|
|
4572
|
-
<a id="__codelineno-8-5" name="__codelineno-8-5" href="#__codelineno-8-5"></a><span class="w"> </span><span class="n">TEST_ASSERT_EQUAL_UINT32</span><span class="p">(</span><span class="sc"
|
|
4557
|
+
<a id="__codelineno-8-4" name="__codelineno-8-4" href="#__codelineno-8-4"></a><span class="w"> </span><span class="n">Usart_PutChar</span><span class="p">(</span><span class="sc">'Z'</span><span class="p">);</span>
|
|
4558
|
+
<a id="__codelineno-8-5" name="__codelineno-8-5" href="#__codelineno-8-5"></a><span class="w"> </span><span class="n">TEST_ASSERT_EQUAL_UINT32</span><span class="p">(</span><span class="sc">'Z'</span><span class="p">,</span><span class="w"> </span><span class="n">UsartStandin</span><span class="p">.</span><span class="n">US_THR</span><span class="p">);</span>
|
|
4573
4559
|
<a id="__codelineno-8-6" name="__codelineno-8-6" href="#__codelineno-8-6"></a><span class="p">}</span>
|
|
4574
4560
|
</code></pre></div>
|
|
4575
4561
|
<h3 id="where-this-fits">Where This Fits</h3>
|
|
@@ -4670,10 +4656,10 @@ registers the helper with CMock:</p>
|
|
|
4670
4656
|
|
|
4671
4657
|
|
|
4672
4658
|
|
|
4673
|
-
<script id="__config" type="application/json">{"annotate": null, "base": "../../..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../../../assets/javascripts/workers/search.
|
|
4659
|
+
<script id="__config" type="application/json">{"annotate": null, "base": "../../..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../../../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>
|
|
4674
4660
|
|
|
4675
4661
|
|
|
4676
|
-
<script src="../../../assets/javascripts/bundle.
|
|
4662
|
+
<script src="../../../assets/javascripts/bundle.c21346df.min.js"></script>
|
|
4677
4663
|
|
|
4678
4664
|
|
|
4679
4665
|
</body>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
<link rel="icon" href="../../../assets/images/favicon.png">
|
|
20
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.
|
|
20
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.0">
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/main.
|
|
28
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/main.57a0d79d.min.css">
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/palette.
|
|
31
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/palette.fb2fffe2.min.css">
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -85,30 +85,16 @@
|
|
|
85
85
|
</div>
|
|
86
86
|
<div data-md-component="announce">
|
|
87
87
|
|
|
88
|
-
<aside class="md-banner">
|
|
89
|
-
<div class="md-banner__inner md-grid md-typeset">
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
</aside>
|
|
97
|
-
|
|
98
88
|
</div>
|
|
99
89
|
|
|
100
90
|
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
|
101
91
|
|
|
102
92
|
<aside class="md-banner md-banner--warning">
|
|
103
93
|
<div class="md-banner__inner md-grid md-typeset">
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
You are not viewing the latest version.
|
|
94
|
+
You are not viewing the latest version.
|
|
107
95
|
<a href="../../../..">
|
|
108
96
|
<strong>Click here to go to latest.</strong>
|
|
109
97
|
</a>
|
|
110
|
-
|
|
111
|
-
|
|
112
98
|
</div>
|
|
113
99
|
<script>var el=document.querySelector("[data-md-component=outdated]"),base=new URL("../../.."),outdated=__md_get("__outdated",sessionStorage,base);!0===outdated&&el&&(el.hidden=!1)</script>
|
|
114
100
|
</aside>
|
|
@@ -4460,10 +4446,10 @@ Ceedling's Partials feature alongside traditional mock-based testing.</p>
|
|
|
4460
4446
|
|
|
4461
4447
|
|
|
4462
4448
|
|
|
4463
|
-
<script id="__config" type="application/json">{"annotate": null, "base": "../../..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../../../assets/javascripts/workers/search.
|
|
4449
|
+
<script id="__config" type="application/json">{"annotate": null, "base": "../../..", "features": ["navigation.tabs", "navigation.sections", "navigation.top", "navigation.indexes", "navigation.path", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate"], "search": "../../../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"default": "latest", "provider": "mike"}}</script>
|
|
4464
4450
|
|
|
4465
4451
|
|
|
4466
|
-
<script src="../../../assets/javascripts/bundle.
|
|
4452
|
+
<script src="../../../assets/javascripts/bundle.c21346df.min.js"></script>
|
|
4467
4453
|
|
|
4468
4454
|
|
|
4469
4455
|
</body>
|