Mark VanderVoord
d0714178a8
Merge pull request #484 from mr-bat/patch-1
...
update copyright message
2020-01-27 13:05:29 +02:00
mr-bat
04858be38f
update copyright message
2020-01-26 11:22:07 -08:00
Mark VanderVoord
622918a7df
Merge pull request #476 from art-of-dom/module-char-scrub
...
sub in '_' for '-' in define and test name in module generator
2019-12-26 07:14:53 -05:00
Dom Postorivo
3b5b491860
sub in '_' for '-' in define and test name in module generator
2019-12-26 01:10:09 -05:00
Mark VanderVoord
e449210977
Merge pull request #475 from ThrowTheSwitch/refactor/self-test-cleanup
...
Refactor/self test cleanup
2019-12-15 14:49:27 -05:00
mvandervoord
f3b87bb91c
another tweak to how we handle the ci vs local testing.
2019-12-15 14:36:59 -05:00
mvandervoord
e276e1a458
Swap order so that CI runs all the makefile tests... but local test:all skips them as mostly redundant and very platform specific.
2019-12-15 10:30:26 -05:00
mvandervoord
d271759bcd
Merge branch 'master' into refactor/self-test-cleanup
2019-12-15 10:10:44 -05:00
mvandervoord
47b630391d
Minor tweak to the way we load includes
2019-12-15 10:07:05 -05:00
mvandervoord
fb45e3010b
the makefiles in the extras are in the test dirs.
2019-12-14 22:38:52 -05:00
mvandervoord
ef0cf704d9
Centralize all testing to the test folder instead of each subproject.
...
Trigger ALL tests when calling `rake test:all` instead of that being just the core tests.
2019-12-14 22:24:30 -05:00
mvandervoord
461c6b3978
Clean up ci tasks.
...
Get the files to use the build directory again.
2019-12-14 05:18:46 -05:00
mvandervoord
3f71d10b2e
Refactor all yaml files for self-tests to fit Ceedling format for wider reuse.
...
Fix mistake in unity selftest without output spy running.
Namespace self-tests for consistency across ThrowTheSwitch projects (like being able to test:all)
Reduce clutter of NAMED self-tests in task list.
2019-12-13 20:38:42 -05:00
Mark VanderVoord
5e3fb620fb
Merge pull request #470 from LinoMastro/help_msg
...
Implement an -h/--help flag for Unity Fixtures and add documentation
2019-12-11 14:54:04 -05:00
Mark VanderVoord
1d1de74153
Merge pull request #469 from LinoMastro/bug_fixes
...
Bug fixes
2019-12-09 06:39:13 -05:00
Lino Mastrodomenico
5c5773720f
Implement an -h/--help flag for Unity Fixtures and add documentation
2019-12-09 00:25:28 +00:00
Lino Mastrodomenico
e59185cd8d
Fix another access outside array bounds.
2019-12-08 22:34:47 +00:00
Lino Mastrodomenico
86caf7ec97
Fix access outside array bounds.
2019-12-08 22:32:18 +00:00
mvandervoord
e3132cdddd
Change the way we ignore the default runner.
2019-12-05 13:51:55 -05:00
mvandervoord
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
Mark VanderVoord
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
Michael Brockus
de1cb75e4c
Keep Meson support back to version 0.50.0
2019-12-03 22:49:22 -08:00
Michael Brockus
3fb17f33e2
Update root meson.build
2019-12-03 22:45:37 -08:00
mvandervoord
e2682ae43a
update (commented out) example of using WEAK (which is not supported any longer)
2019-11-12 18:26:15 -05:00
mvandervoord
c3d7662a1e
fixture example doesn't use memory extra
v2.5.0
2019-10-30 10:05:49 -04:00
mvandervoord
ded22fef63
Make memory handling optional in fixtures
2019-10-30 09:50:22 -04:00
Mark VanderVoord
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
Mark VanderVoord
2aaf3c4504
Merge pull request #461 from jlindgren90/duplicate-branch
...
Remove exactly duplicated 'else if' branch
2019-10-30 09:31:14 -04:00
Mark VanderVoord
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
mvandervoord
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
mvandervoord
5dd5931114
Try to keep compiler from complaining about this cast that we KNOW is okay.
2019-10-30 08:53:08 -04:00
mvandervoord
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
mvandervoord
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
mvandervoord
efd02920ca
Fix path problem in Travis CI
2019-10-30 08:06:52 -04:00
mvandervoord
fbded74349
Split memory from fixtures and make it's own addon
2019-10-30 07:52:07 -04:00
Mark VanderVoord
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
John Lindgren
8072c5c946
Remove exactly duplicated 'else if' branch.
2019-10-29 17:10:45 -04:00
John Lindgren
32e6d93ab0
Fix TEST_ASSERT_HEX64_ARRAY_WITHIN truncating delta to 32 bits.
2019-10-29 16:59:59 -04:00
anon
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
Mark VanderVoord
34ebd82d8c
Merge pull request #458 from jlindgren90/verify-test
...
Make verifyTest() leave Ignores and Callbacks intact
2019-10-29 13:31:47 -04:00
John Lindgren
9c82fac380
Update incorrect comment.
2019-10-29 13:21:59 -04:00
John Lindgren
cf5b2d2568
Make verifyTest() leave Ignores and Callbacks intact.
2019-10-29 13:21:34 -04:00
mvandervoord
74d47e8afa
Add missed casting
2019-10-29 06:34:09 -04:00
mvandervoord
354e2b4da6
Added set of assertions for checking CHAR's and CHAR arrays (not as strings)
2019-10-28 16:54:32 -04:00
mvandervoord
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
mvandervoord
e1dca8fa48
Add options for different output formats
2019-10-28 12:43:11 -04:00
Mark VanderVoord
3f334b8be6
Merge pull request #450 from arcadien/fix_comments
...
Fix CMakeLists
2019-10-28 10:45:23 -04:00
mvandervoord
be87d790c7
Add verifyTest option to go with resetTest.
...
Fix docs.
2019-10-28 10:32:22 -04:00
Aurelien Labrosse
b75b19c969
CMakeLists fixes
2019-10-26 18:31:57 +02:00
mvandervoord
15631f1c78
More tweaking to make it happy on both windows and *nix
2019-10-25 11:53:59 -04:00