5c5773720f
Implement an -h/--help flag for Unity Fixtures and add documentation
2019-12-09 00:25:28 +00:00
e59185cd8d
Fix another access outside array bounds.
2019-12-08 22:34:47 +00:00
86caf7ec97
Fix access outside array bounds.
2019-12-08 22:32:18 +00:00
e3132cdddd
Change the way we ignore the default runner.
2019-12-05 13:51:55 -05:00
c5c36ab29f
Do NOT include the default test runner if a custom runner has been defined.
...
Cleanup some style issues.
2019-12-05 13:19:43 -05:00
2f79302d5c
Merge pull request #465 from michaelbadcrumble/meson_support
...
Keep Meson support back to 0.50.0:
2019-12-04 06:02:32 -05:00
de1cb75e4c
Keep Meson support back to version 0.50.0
2019-12-03 22:49:22 -08:00
3fb17f33e2
Update root meson.build
2019-12-03 22:45:37 -08:00
e2682ae43a
update (commented out) example of using WEAK (which is not supported any longer)
2019-11-12 18:26:15 -05:00
c3d7662a1e
fixture example doesn't use memory extra
v2.5.0
2019-10-30 10:05:49 -04:00
ded22fef63
Make memory handling optional in fixtures
2019-10-30 09:50:22 -04:00
37a0f7184c
Merge pull request #459 from elliot-gawthrop/combined_suite
...
Option to omit UnityBegin/UnityEnd calls in generate_test_runner
2019-10-30 09:33:18 -04:00
2aaf3c4504
Merge pull request #461 from jlindgren90/duplicate-branch
...
Remove exactly duplicated 'else if' branch
2019-10-30 09:31:14 -04:00
d34f72282f
Merge pull request #463 from ThrowTheSwitch/refactor/split_mem_from_fixture
...
Refactor/split mem from fixture
2019-10-30 09:26:40 -04:00
179b492e18
Sigh. had to NOT disable these warnings by default because the gcc on our test rig doesn't understand it
2019-10-30 09:00:53 -04:00
5dd5931114
Try to keep compiler from complaining about this cast that we KNOW is okay.
2019-10-30 08:53:08 -04:00
94dc637d03
While we're fixing warnings / errors, disable this (otherwise helpful) error because we are purposefully making this example file fail for this.
2019-10-30 08:48:08 -04:00
e40b0bf2b5
Let's just go with it. Why fight the warnings when they could catch other issues?
2019-10-30 08:42:46 -04:00
efd02920ca
Fix path problem in Travis CI
2019-10-30 08:06:52 -04:00
fbded74349
Split memory from fixtures and make it's own addon
2019-10-30 07:52:07 -04:00
3fb86421b2
Merge pull request #460 from jlindgren90/array-64
...
Fix TEST_ASSERT_HEX64_ARRAY_WITHIN truncating delta to 32 bits
2019-10-29 17:21:35 -04:00
8072c5c946
Remove exactly duplicated 'else if' branch.
2019-10-29 17:10:45 -04:00
32e6d93ab0
Fix TEST_ASSERT_HEX64_ARRAY_WITHIN truncating delta to 32 bits.
2019-10-29 16:59:59 -04:00
a303e08859
Option to omit UnityBegin/UnityEnd calls in generate_test_runner
...
By passing --omit_begin_end=1 to generate_test_runner.rb, the script
will now omit calls to UnityBegin and UnityEnd when running tests in a
suite.
This allows multiple suites to be executed in a row, and then have an overall
summary of the tests which were executed across all suites.
2019-10-29 20:32:06 +00:00
34ebd82d8c
Merge pull request #458 from jlindgren90/verify-test
...
Make verifyTest() leave Ignores and Callbacks intact
2019-10-29 13:31:47 -04:00
9c82fac380
Update incorrect comment.
2019-10-29 13:21:59 -04:00
cf5b2d2568
Make verifyTest() leave Ignores and Callbacks intact.
2019-10-29 13:21:34 -04:00
74d47e8afa
Add missed casting
2019-10-29 06:34:09 -04:00
354e2b4da6
Added set of assertions for checking CHAR's and CHAR arrays (not as strings)
2019-10-28 16:54:32 -04:00
60b23dc8a4
Stopped supported -0 as a float output because (a) it is non-portable, only existing on some architectures and (b) relies on the undefined behavior of 1.0/0.0
2019-10-28 13:43:32 -04:00
e1dca8fa48
Add options for different output formats
2019-10-28 12:43:11 -04:00
3f334b8be6
Merge pull request #450 from arcadien/fix_comments
...
Fix CMakeLists
2019-10-28 10:45:23 -04:00
be87d790c7
Add verifyTest option to go with resetTest.
...
Fix docs.
2019-10-28 10:32:22 -04:00
b75b19c969
CMakeLists fixes
2019-10-26 18:31:57 +02:00
15631f1c78
More tweaking to make it happy on both windows and *nix
2019-10-25 11:53:59 -04:00
8d044e60c6
update fixture tests too
2019-10-25 11:41:27 -04:00
368a7d8970
Fixed a couple of mistakes in last commit
2019-10-25 11:20:25 -04:00
d16c27b085
- added target for checking ANSI compliance
...
- fixed ANSI (C89) issues, including #418
2019-10-25 10:17:12 -04:00
748efa26b5
Merge pull request #456 from detly/int_array_doc_fix
...
Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN
2019-10-25 06:03:22 -04:00
86b19304ed
Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN().
2019-10-25 14:37:00 +11:00
eb0bd42f0d
Updated to newer coding standard
2019-10-24 15:33:41 -04:00
addd60edab
Merge pull request #454 from jlindgren90/common-run-test
...
Convert RUN_TEST() to a function
2019-10-24 14:42:23 -04:00
277e844bed
Convert RUN_TEST() to a function (generated from an ERB template).
...
Converting RUN_TEST() from a macro to a function significantly reduces the size
of the compiled binary. On amd64, the largest test runner in the test suite
(testsample_DefaultsThroughCommandLine_runner.o) was reduced from 3.4 kB to 2.4
kB (stripped).
2019-10-22 15:18:20 -04:00
d10cf6645d
Remove unnecessary #includes.
2019-10-22 15:05:34 -04:00
68cc45a918
Make sure setUp/tearDown are always defined.
2019-10-22 15:04:03 -04:00
5fc72fbca1
fix name of teardown function
2019-10-22 06:52:25 -04:00
ff697ad29c
suite setup and teardown no longer static (simplifies test-supplied instance)
2019-10-22 06:45:47 -04:00
ac427b28fc
Fixed backwards case.
2019-10-22 06:37:28 -04:00
2d8a69e0d1
update handling of when suite_setup/teardown in use
2019-10-22 06:27:26 -04:00
cb8744c496
More argument fixing (I hate flying blind... can't wait to get back on my laptop)
2019-10-21 14:59:31 -04:00