Michael Gene Brockus (Dreamer)
a4d0150758
Rename bdd.h to unity_bdd.h
2023-09-15 10:13:06 -06:00
Michael Gene Brockus (Dreamer)
de387ef073
Create test_bdd.c
2023-09-15 10:12:34 -06:00
Michael Gene Brockus (Dreamer)
cf13244043
adding stdio
2023-09-15 09:54:32 -06:00
Michael Gene Brockus (Dreamer)
955809048c
Create bdd.h
2023-09-15 09:53:34 -06:00
Mark VanderVoord
2775e1b058
Merge pull request #694 from cmachida/master
...
fix: TEST_PRINTF(): printing 64-bit hex numbers or pointers
2023-09-15 10:39:16 -04: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
Mike Karlesky
5109be3881
Missed renames of TEST_FILE() directive
2023-08-15 21:16:02 -04:00
Mark VanderVoord
20bb4355d7
Merge pull request #685 from jonhenneberg/test_matix_feature
...
Thanks to @jonhenneberg (especially) and @AJIOB for your work on the TEST_MATRIX feature!
2023-08-13 09:24:03 -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
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
Jon Hanghøj Henneberg
5dd2be96fa
Add TEST_MATRIX to docs
2023-07-14 17:04:54 +02: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
Mark VanderVoord
1b9199ee38
Merge pull request #684 from detly/expose_assert_options
...
Expose double support as an option.
2023-07-13 07:36:18 -04:00
Jason Heeris
8a5918b81d
Expose double support as an option.
2023-07-13 15:27:48 +08:00
Mark VanderVoord
924d656188
Merge pull request #681 from AJIOB/docs-typo-fix
...
Fix TEST_CASE description typo
2023-07-10 23:28:47 -04:00
Alex Overchenko
30b1a05c33
Fix TEST_CASE description typo
2023-07-08 23:15:15 +03:00
James Browning
e271a76a11
Squash warnings about unhandled enumeration.
2023-07-06 02:23:04 -07:00
Mark VanderVoord
8a6623990a
Merge pull request #677 from ThrowTheSwitch/docs/unity_assertion_reference_fixes
...
Assertion reference documentation improvements
2023-06-12 14:51:33 -04:00
Mike Karlesky
4d64a17027
Documentation improvements
...
* Fixed a broken markdown bulleted list
* Replaced a missing document link (from the original source of this documentation) with a full sentence explaining the relation of `assert()` to static analysis.
* Typographic fixes
* Replaced single and double straight quotes with smart quotes where appropriate
* Replaced three periods with ellipses where appropriate
2023-06-12 09:58:19 -04:00
Mark VanderVoord
bbb8b3f562
Merge pull request #676 from 0xhiro/patch-1
...
Update README.md
2023-06-04 13:47:38 -04:00
0xHiro / ヒロ
9e6e6fcb44
Update README.md
2023-06-04 12:24:18 +09:00
Mark VanderVoord
f23d8b25cd
Merge pull request #669 from jonhenneberg/master
...
Fix filename sanitization with command line option
2023-04-17 13:06:44 -04:00
Jon Hanghøj Henneberg
6a8e03b5a9
Fix filename sanitization with command line option
...
When enabling the command line option the file name added to the runner
did not escape the slashes on windows in the same way other paths where
sanitized. Copied the sanitization from the other filename uses.
2023-04-17 18:23:20 +02:00
Mark VanderVoord
c40b80a917
Merge pull request #665 from torgnylyon/master
...
Fix delta cast for UINT8_ARRAY_WITHIN
2023-03-15 15:06:49 -04:00
Torgny Lyon
91ff8c3ee8
Fix delta cast for UINT8_ARRAY_WITHIN
2023-03-15 19:29:58 +01:00
Mark VanderVoord
10a8acb3b6
Merge pull request #664 from hart-NTP/noreturn
...
Use __attribute__((__noreturn__)) instead of __attribute__((noreturn))
2023-03-15 10:04:08 -04: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
Mark VanderVoord
f9879bf7d8
Merge pull request #662 from nirs/skip-subproject-install
...
Don't install anything when building as subproject
2023-02-21 09:28:05 -05: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
Mark VanderVoord
0854f3d2d5
Merge pull request #658 from amcnulty-fermat/meson-update
...
Meson update
2023-02-15 17:19:36 -05:00
Andrew McNulty
fba6be17c7
Bump meson_version to '0.47.0'
...
The use of the check kwarg in run_command() was
introduced in meson version 0.47.0
2023-02-14 17:53:03 +01:00
Andrew McNulty
43378c4262
Implement review feedback for Meson updates.
...
1. Call the version extraction script directly instead
of through a Python returned from `find_program()`.
2. We don't need to use `meson.project_source_root()` as
`find_program()` will search relative to the current meson.build
script.
3. Lower the required version back to `>= 0.37.0`, and modify
some things to get rid of warnings with this version selected.
The use of `summary()`, `dict`, and positional arguments in
`pkgconfig.generate()` generate warnings with this version so
remove `summary()` and dict()`, also pass keyword arguments to
`pkgconfig.generate()`.
2023-02-14 09:23:14 +01: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
Andrew McNulty
cd80a79db5
Add Meson example based on Owen Torres' example.
2023-02-13 16:50:20 +01:00
Andrew McNulty
699a391c78
Updates to Meson build system:
...
1. Use cross-platform `/` operator for path construction.
2. Use `meson.project_source_root()` for correct path resolution of
generate_test_runner.rb path when used as a subproject.
3. Bump the minimum required Meson version to '0.56.0' as this is
needed for the above changes.
2023-02-13 16:47:54 +01: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
ae4ab78c47
Merge pull request #551 from pmembrey/add-meson-generator-for-test-runner
...
Enhance meson support so that it can automatically generate a test runner
2023-02-06 14:56:17 -05:00
Mark VanderVoord
5eca8d31ae
Merge pull request #654 from henrik-nil-acc/const_float_and_double_arrays
...
Avoid cast-qual warnings with const float and double arrays
2023-02-01 08:11:39 -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
Mark VanderVoord
d826f09bbf
Merge pull request #648 from Letme/patch-1
...
Change link to wikipedia Assert header file
2022-12-12 08:52:54 -05:00
Crt Mori
7298f3771c
Change link to wikipedia Assert header file
...
Closes #647
2022-12-12 14:49:53 +01: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
Mark VanderVoord
87dd938d8a
Merge pull request #639 from AJIOB/auto_define_test_case_marco
...
Provide the way for automatically define TEST_CASE & TEST_RANGE macros (Thanks, Alex. Looks great!)
2022-12-06 08:24:19 -05:00
AJIOB
a35af14a27
Actualizing docs
2022-11-29 09:26:29 +03:00