Commit Graph

290 Commits

Author SHA1 Message Date
Mark VanderVoord c3a01d8d65 Better reporting during running example projects 2026-05-29 11:26:20 -04:00
Mark VanderVoord dd70d40adf Make sure that examples get run with ci, and using appropriate settings. 2026-05-29 10:29:30 -04:00
Mark VanderVoord 444fbda72a refactor self-test engine to match Ceedling's tool format 2026-05-28 16:11:35 -04:00
Mark VanderVoord 324d0624f3 Pull paths from reusable target information. 2026-05-26 17:13:03 -04:00
Mark VanderVoord c7b0faabdc Clean up testing pipeline some more... centralized reporting. 2026-05-18 11:53:26 -04:00
Mark VanderVoord ed99435177 tweaks to target scheme 2026-05-16 22:44:09 -04:00
Mark VanderVoord cc00ca6f07 Make example 3 use same yml files as other tests. 2026-05-15 15:24:32 -04:00
Mark VanderVoord 56d69ddf64 Fix Issue #828: Don't use -Weverything for production use. 2026-05-15 14:26:54 -04:00
Mark VanderVoord b1d96f2491 Work on yaml file reusability for other projects.
Catch up a couple test details.
2026-05-15 14:16:57 -04:00
Mark VanderVoord 1d336f6ddb Fix broken standardized failure output. Fix formatting issues 2026-03-20 17:34:45 -04:00
Mark VanderVoord 849d95e119 improve new format checking to capture all valid outputs.
improve floating point special case reporting to always use verbose.
fix bug in arrays where values were sometimes not shown.
2026-03-12 14:19:12 -04:00
Mark VanderVoord 943f4706ee improve test readability for self tests under rake. 2026-03-12 12:40:49 -04:00
Mark VanderVoord 08d09f5ed6 fail the test for output formatting issues 2026-01-23 16:24:36 -05:00
Mark VanderVoord b57c7e0b5c Better output validation for catching bug #807 2026-01-23 16:19:24 -05:00
Mark VanderVoord d1fe18bd54 Updates for the new year. 2026-01-23 11:18:36 -05:00
Ross Smyth 12705bf83f Remove warning without emits 2025-07-09 15:30:01 -04:00
Ross Smyth 4a59f29362 Fix -Wmissing-prototypes errors
This one was a bit tough, but I think this works fine.
2025-07-09 15:20:47 -04:00
Ross Smyth 6decd7aa29 Wno-unused-macros and Wno-padded don't emit anything 2025-07-09 15:17:56 -04:00
Ross Smyth faaaaa4fca Fix Wmissing-noreturn errors 2025-07-09 15:17:56 -04:00
Ross Smyth 8bac36463d Fix reserved-identifier errors
These are reserved by the standard
2025-07-09 15:17:56 -04:00
Ross Smyth 1638627cb5 Fix -Wextra-semi-stmt error with proper macro hygiene
"empty expression statement has no effect; remove unnecessary ';'"

These macros were not properly wrapped
2025-07-09 15:17:56 -04:00
Ross Smyth 442a060acd Fix clang errors in makefile 2025-07-02 21:13:09 -04:00
Mark VanderVoord 1a29024cc7 It's a New Year 2025-01-01 11:46:30 -05:00
Mark VanderVoord c546414657 - Protect against people not defining UNITY_USE_COMMAND)LINES_ARGS but enabling cmd_lines in test runner generator. (Cherry-pick PR 739)
- Fix UNITY_NORETURN usage (Cherry-pick PR 742)
- Other standards and formatting tweaks.
2024-08-01 16:01:09 -04:00
Mark VanderVoord 18fb33921f add strict match option as '-n' again.
fix style while I'm at it.
2024-06-12 22:59:08 -04:00
Mark VanderVoord 3cbe49900a Don't call assertions until after we've concluded test framework tinkering in core test (#718) 2024-03-31 18:12:31 -04:00
Mark VanderVoord 671f8d25f1 Update all the boilerplates 2024-03-16 23:15:00 -04:00
Mark VanderVoord 860062d51b Fixed issue #715 (typo that disabled two tests) 2024-03-09 19:36:15 -05:00
Mark VanderVoord e3457a85f4 Fix temperamental test in core test suite. 2024-03-09 19:26:38 -05:00
Dennis Skinner 3adb5dd7b9 Add FALLTHRU 2023-12-04 14:04:13 -05:00
Dennis Skinner 049ddda615 Fix tests for new help verbiage 2023-12-03 23:02:09 -05:00
Dennis Skinner 985f6e0194 Add help option to test command line args
When test binaries are run with unknown options or with the standard
-h option, a help menu will print all available options.

This is much more convenient than having to dig through unity.c to
find every option.
2023-12-02 03:05:33 -05:00
Mark VanderVoord 3f7564ea3b Catch up on Ruby style and formatting changes. 2023-11-12 19:07:32 -05:00
Mark VanderVoord bd32847abf Merge branch 'master' into platform_matrix 2023-11-08 00:16:40 -05:00
Mark VanderVoord f9c4038341 Merge pull request #690 from ThrowTheSwitch/feature/updated-build-directives
Add/update build directives
2023-08-16 10:15:59 -04:00
Mike Karlesky 5109be3881 Missed renames of TEST_FILE() directive 2023-08-15 21:16:02 -04:00
Jon Hanghøj Henneberg 5baa4580ee Fix file endings 2023-07-15 22:19:46 +02:00
Jon Hanghøj Henneberg c97a2705b3 Add tests for TEST_MATRIX 2023-07-14 17:04:54 +02:00
Mark VanderVoord a7639eeb54 Bump rubocop up to newer ruby versions (in progress) 2023-02-16 16:40:23 -05:00
Mark VanderVoord 5204c1bacf Merge pull request #550 from jannisbaudisch/fix_test_parameterization_regex
Improve regex for test parameterization to support function pointers
2023-02-06 15:31:49 -05:00
Mark VanderVoord 5a36b197fb Merge pull request #644 from AJIOB/implement_array_within_check
Adding within API support for float & double arrays
2022-12-29 19:43:58 -05:00
Mark VanderVoord d0e3d73b7d Merge pull request #640 from AJIOB/docs_param_tests
Create documentation for parameterized tests
2022-12-06 08:25:13 -05:00
AJIOB b2360fa7ca Adding delta infinity & nan checks & tests 2022-11-28 20:23:36 +03:00
AJIOB 9c45c7861b Adding support for floating point arrays within.
Testing newly created API.
2022-11-28 18:28:31 +03:00
Alex Overchenko ad86e15ca5 Adding docs to TEST_RANGE formats.
Adding parameterizedDemo tests as an independent file
2022-11-27 16:09:22 +03:00
Alex Overchenko 48d7210644 Fixing CI tests passing 2022-11-27 14:46:34 +03:00
Alex Overchenko e4085eb8e6 Using default macro for TEST_CASEs define.
Improving docs about manual definition.
2022-11-27 14:36:22 +03:00
Alex Overchenko 4d5ed3d68b Adding possibility for automatically defining
TEST_CASE & TEST_RANGE macros
2022-11-27 13:05:13 +03:00
Erik Flodin 563786f97c Add support for TEST_RANGE with exclusive end
If the range is <start, end, step> instead of [start, end, step], the
end value will not be included in the range.

This can be useful if you have a define that defines e.g. the size of
something and you want to use this define as the end value. As the
pre-processor doesn't evalutate expressions (unless you do some macro
magic) you can't specify the range as [0, MY_SIZE - 1, 1]. With this
change you can then instead give the range <0, MY_SIZE, 1>.
2022-10-14 18:51:45 +02:00
Erik Flodin 76b7e359cc Improve handling of space in TEST_CASE/RANGE
The fix in 285bb6e282 didn't completly fix the issue.
2022-10-13 22:13:03 +02:00