Mark VanderVoord
1be9a7d4f5
cleanup of warnings
2026-01-23 14:07:04 -05:00
Mark VanderVoord
d1fe18bd54
Updates for the new year.
2026-01-23 11:18:36 -05:00
James Browning
747c2ee73f
Misadress style CI bot failure, my bad
2025-11-12 05:19:20 -08:00
James Browning
18c4e93767
Try build Unity w/ -UUNITY_EXCLUDE_FLOAT_PRINT
2025-11-12 04:50:06 -08:00
Roland Marchand
864b4ea554
Convert C++ comments to ANSI C style
2025-09-25 21:22:51 -04:00
ml-physec
25e9af9edd
Update detail-stack implementation after #784
2025-08-07 13:52:40 +02:00
Mark VanderVoord
0bc0fed904
Merge pull request #784 from burakutkuc/fix-assert-uint-overflow
...
fix: Correct UINT max value handling (thanks @burakutkuc!)
2025-07-10 08:35:42 -04:00
burakutkuc
f96b64f552
fix: fixed error from regression test results; removed the unnecessary int-uint distinction for hex values in the "array within" feature.
2025-07-10 13:35:15 +03:00
Mark VanderVoord
eb79bce1b5
Bump version to encapsulate recent changes.
2025-07-09 17:00:30 -04:00
Mark VanderVoord
fa03368cae
Merge pull request #775 from ml-physec/more-details
...
Detail-Stack API
2025-07-09 15:23:44 -04:00
burakutkuc
6a3fc440e3
fix: Add casts in function-like macros for type safety
2025-06-13 16:43:35 +03:00
burakutkuc
ac52c4182a
fix: Fail when values are equal but equality is not allowed. Handled HEX asserts as unsigned; applied the same unsigned logic across all integer-based comparisons.
2025-06-13 16:25:22 +03:00
Buccno
bcb0746186
fix: Correct UINT max value handling
2025-06-05 11:00:57 +03:00
Roland Stahn
50c37200b9
Fix definition of UNITY_NOT_EQUAL in unity_internals.h
2025-05-28 10:07:04 +02:00
Roland Stahn
5edda03c78
Cleanup definition of UNITY_COMPARISON_T in unity_internals.h
...
remove unused values UNITY_WITHIN and UNITY_UNKNOWN
update value UNITY_NOT_EQUAL
2025-05-28 09:55:17 +02:00
Roland Stahn
3fb2484313
Add IAR specific mapping for UNITY_NORETURN
2025-05-27 14:33:15 +02:00
yahyayozo
69478185a3
[Docs] Fix typos in docs files
2025-04-19 18:54:28 +01:00
ml-physec
c359bf37b0
Initial implementation
2025-04-16 19:21:33 +02:00
Mark VanderVoord
cbcd08fa7d
Add release notes and bump version.
2025-01-01 11:53:54 -05: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
mchernosky
5ff17d6542
Label as static internal functions enabled by UNITY_USE_COMMAND_LINE_ARGS to prevent
...
-Werror=missing-declarations
2024-04-26 12:46:49 -06:00
sdimovv
9b77170349
Remove redundant line casts from UNITY_TEST_ASSERT_* macros
2024-04-18 14:25:55 +01:00
Mark VanderVoord
671f8d25f1
Update all the boilerplates
2024-03-16 23:15:00 -04:00
Dennis Skinner
3adb5dd7b9
Add FALLTHRU
2023-12-04 14:04:13 -05:00
Dennis Skinner
fcb4e53c36
Update help menu to use mnemonics
2023-12-03 22:07:15 -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
a1b1600e43
Update change log and known issues.
...
Fix bug with infinity and NaN handling.
2023-11-13 17:03:07 -05:00
Mark VanderVoord
bd32847abf
Merge branch 'master' into platform_matrix
2023-11-08 00:16:40 -05:00
Mark VanderVoord
88069f045c
Fix docs issues.
...
Update scripts to match latest rubocop.
Fix hex length of unity printf feature.
2023-11-07 23:48:48 -05:00
SteveBroshar
7d0bcc892e
use null check instead of pointer compar
2023-10-08 15:47:22 -05:00
Mark VanderVoord
d3804d0661
Merge pull request #695 from fkjagodzinski/dev/add-user-defined-protect-and-abort
...
Allow user-defined TEST_PROTECT & TEST_ABORT macros
2023-09-19 07:37:15 -04:00
Filip Jagodzinski
710bb58c6a
Allow user-defined TEST_PROTECT & TEST_ABORT macros
...
However rare, this update covers real-world use cases where:
- Unity is used to provide the assertion macros only, and an external
test harness/runner is used for test orchestration/reporting.
- Calling longjmp on a given platform is possible, but has a
platform-specific (or implementation-specific) set of prerequisites,
e.g. privileged access level.
Enable project-specific customisation of TEST_PROTECT and TEST_ABORT
macros.
- Use the user-defined UNITY_TEST_ABORT if available; fall back to
default behaviour otherwise.
- Use the user-defined UNITY_TEST_PROTECT if available; fall back to
default behaviour otherwise.
- These may be defined independently.
2023-09-04 13:36:00 +02:00
cmachida
f3b2de4da2
fix: TEST_PRINTF(): printing 64-bit hex numbers or pointers
2023-08-25 17:19:21 +00:00
Mark VanderVoord
cb03c3afa7
Merge pull request #680 from JamesB192/23g06-unhandled-enumeration
...
Squash warnings about unhandled enumeration.
2023-08-16 11:04:42 -04:00
Mark VanderVoord
09075ea0f3
Merge pull request #692 from epsilonrt/master
...
fix: fixes TEST_PRINTF() expansion error #691
2023-08-16 11:02:49 -04: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
epsilonrt
7a9e25b445
fix: fixes TEST_PRINTF() expansion error #691
...
fixes TEST_PRINTF() expansion error when no variadic arguments are passed
2023-08-08 22:15:56 +02:00
Michael Karlesky
aa3ca2d572
Add/update build directives
...
* Renamed macro `TEST_FILE()` to `TEST_SOURCE_FILE()`
* Added macro `TEST_INCLUDE_PATH()`
* Added full comment block for documentation
2023-07-29 20:20:33 -04:00
Jon Hanghøj Henneberg
d593817630
Add TEST_MATIX option for parameterization
...
Added matrix option for parameterization that generates cases based on
the product of the given arguments.
2023-07-13 22:39:58 +02:00
James Browning
e271a76a11
Squash warnings about unhandled enumeration.
2023-07-06 02:23:04 -07:00
Torgny Lyon
91ff8c3ee8
Fix delta cast for UINT8_ARRAY_WITHIN
2023-03-15 19:29:58 +01:00
Dave Hart
40b573a784
Use __attribute__((__noreturn__)) instead of __attribute__((noreturn)) to avoid issue with FreeBSD #define noreturn _Noreturn
2023-03-15 09:11:08 -04:00
Nir Soffer
18482abd9e
Don't install anything when building as subproject
...
When a project is consuming unity as as subproject, unity headers,
static library and pkg config files are installed by `meson install`.
This can be fixed by using `meson install --skip-subprojects`, but this
must be repeated in all the distros packaging a project.
Fixed by disabling install when building as a subproject.
Fixes : #661
2023-02-21 02:28:04 +02:00
Andrew McNulty
44bc9e6dbe
Update Meson build system
...
The following features from the CMake build have been implemented:
* Library version retrieved from unity.h.
* Extension support.
* Library, header, and package configuration file installation.
This commit is entirely based on existing work by Owen Torres.
2023-02-13 17:22:52 +01:00
Mark VanderVoord
1807cb972d
Merge branch 'master' into platform_matrix
2023-02-06 14:52:01 -05:00
Mark VanderVoord
278b8dd3e2
Pull in PR #553 .
...
Bump release.
2023-02-06 14:49:29 -05:00
Henrik Nilsson
3fe84580c8
Avoid cast-qual warnings with const float and double arrays
2023-02-01 08:02:50 +01: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