Ivan Kravets
be657105e5
Make PROGMEM configurable // Resolve #606 , Resolve #482
2022-04-22 13:31:07 +03:00
Mark VanderVoord
4389bab82e
Support option to specify array length of zero to force pointer comparison.
2022-04-19 17:27:31 -04:00
Mark VanderVoord
0df1d442cb
Rearrange details to always print if given, no matter if another msg added or not.
...
Print output on failures no matter if verbose or not.
Enforce that HEX comparisons are unsigned comparisons.
2022-04-19 16:21:04 -04:00
Mark VanderVoord
b9e9268d92
Merge pull request #601 from AJIOB/py_import_fixing
...
unity_to_junit.py can be imported as Python module now
2022-03-21 06:58:14 -04:00
Mark VanderVoord
8286aaf32c
Merge pull request #603 from AJIOB/fixing_hex16_error
...
Fixing overflow false error detection on 32, 16 & 8 bit arrays withins
2022-03-14 06:47:46 -04:00
Mark VanderVoord
dc66709552
Merge pull request #604 from AJIOB/old_windows_sdk_fix
...
Fixing noreturn usage on old Windows SDKs with new MSVC compiler.
Thanks Alex! Sorry about the delay!
2022-03-14 06:46:40 -04:00
Alex Overchenko
79644b6242
Fixing noreturn usage on old Windows SDKs with new MSVC
2022-03-04 16:20:55 +03:00
Alex Overchenko
9db619d6dc
Using C90 style comments
2022-03-04 14:49:29 +03:00
Alex Overchenko
b770a519a0
Fixing overflow false error detection on 32, 16 & 8 bit arrays withins
2022-03-04 14:45:47 +03:00
Alex Overchenko
42503b3343
unity_to_junit.py can be imported as Python module now
2022-02-28 14:12:57 +03:00
Mark VanderVoord
db878ccaed
Merge pull request #600 from 6arms1leg/fix-type-qual
...
Fix "clobbered variable" compiler warning (`-Wclobbered`)
2022-02-21 08:48:18 -05:00
6arms1leg
72f30d82e4
Add missing volatile type qualifier
...
... to fix "clobbered variable" compiler warning (`-Wclobbered`).
2022-02-21 14:10:10 +01:00
Mark VanderVoord
fb225430b4
Merge pull request #597 from AJIOB/colors_fix
...
Unity color resetting was fixed for Gitlab CI (Thanks @AJIOB !)
2022-02-16 07:09:49 -05:00
Alex Overchenko
db3398a5dd
Unity color resetting was fixed for Gitlab CI.
...
Based on escape codes: https://en.wikipedia.org/wiki/ANSI_escape_code#3-bit_and_4-bit
2022-02-16 14:56:00 +03:00
Mark VanderVoord
8ba0138600
Merge pull request #544 from farrrb/bugfix/fix-issue-510
...
Bugfix/fix issue 510
2021-12-03 10:58:29 -05:00
Mark VanderVoord
93850fab40
Merge pull request #557 from erijo/unit-tests
...
Fix failing unit tests
2021-12-03 10:55:39 -05:00
Mark VanderVoord
5cdf81e263
Merge pull request #586 from igrr/unity_fixture_add_cpp_guards
...
extras/fixture: add missing C++ include guards
2021-12-03 08:14:45 -05:00
Ivan Grokhotkov
13e40e84ee
extras/fixture: add missing C++ include guards
...
This fixes linking errors when test cases based on Unity fixture are
defined in a .cpp file.
unity_internals.h doesn't have C++ guards, and is included from
unity.h from within C++ header guard block. Same approach is taken in
this commit
2021-12-03 11:47:59 +01:00
Mark VanderVoord
b19370cc2b
Merge pull request #579 from andresovela/patch-1
...
Fix typo in CMakeLists.txt
2021-09-20 08:11:08 -04:00
Andres O. Vela
f98e2c868f
Fix typo in CMakeLists.txt
2021-09-20 10:49:08 +02:00
Mark VanderVoord
aeed24c78b
Merge pull request #570 from DanieleNardi/ExternCedIncludes
...
Support for mixed C/C++ environment. (Thanks @DanieleNardi !)
2021-07-15 08:46:17 -04:00
Daniele Nardi
29617c7ecd
Added -externcincludes option in order to build unit test executable in mixed C/C++ environment
2021-07-15 13:10:07 +02:00
Mark VanderVoord
2f7406572e
Bump Version
2021-06-18 14:32:54 -04:00
Mark VanderVoord
e44c3b56f7
Adjust how decimal tracking handles to avoid warnings.
2021-06-03 08:51:24 -04:00
Mark VanderVoord
b63524d0fd
Merge pull request #565 from wolf99/lint-markdown
...
Lint markdown (Thanks @wolf99 ! This is a great improvement!)
2021-06-03 07:16:18 -04:00
wolf99
00a1d02835
Break on sentences instead of column
2021-06-02 23:48:23 +01:00
wolf99
8b90b51c68
Reference style URLs
2021-06-02 23:13:14 +01:00
wolf99
d0b5a920bb
markdown conformance
2021-06-02 22:49:03 +01:00
Mark VanderVoord
1a681340de
Merge pull request #564 from BAUR-GmbH/master
...
Use stdnoreturn.h for c11 and [[ noreturn ]] for c++11. Fixes #563
2021-06-02 11:42:32 -04:00
Bernhard Breuß
f944b08878
Use stdnoreturn.h for c11 and [[ noreturn ]] for c++11. ThrowTheSwitch#563
2021-06-02 16:56:14 +02:00
Mark VanderVoord
bd3c7dfd0d
Merge pull request #562 from kisvegabor/patch-1
...
Fix typo in UnityHelperScriptsGuide.md (Thanks @kisvegabor !)
2021-06-02 09:52:45 -04:00
Gabor Kiss-Vamosi
fa5644bd07
Fix typo in UnityHelperScriptsGuide.md
...
An `e` is missing in`suit_setup` in the `my_config.yml`.
2021-06-02 15:38:27 +02:00
Mark VanderVoord
7d37a8e11e
Merge pull request #561 from druckdev/master
...
Support `UNITY_INCLUDE_EXEC_TIME` under Apples OSX
2021-05-31 11:04:01 -04:00
druckdev
edfc5ae355
Support UNITY_INCLUDE_EXEC_TIME under Apples OSX
...
The unix way of getting the time works under OSX as well and can be
used.
2021-05-31 12:55:37 +02:00
Erik Flodin
dc96c3e6dd
Fix strict-overflow compiler warning
...
By replacing "x < y + 1" with "x <= y" the compiler doesn't have to do
it and the warning "assuming signed overflow does not occur when
reducing constant in comparison [-Werror=strict-overflow]" is avoided.
2021-04-17 19:00:06 +02:00
Erik Flodin
8e1e9c18ab
Fix ruby style warnings as reported by rubocop
2021-04-15 22:22:33 +02:00
Fabian Zahn
4cfb39290a
Refactor generator expressions for CMake
2021-02-27 11:14:43 +01:00
Fabian Zahn
fa32e530ba
Remove "error: assuming signed overflow does not occur when reducing constant in comparison [-Werror=strict-overflow]"
2021-02-27 10:49:34 +01:00
Fabian Zahn
7edf9d9ac5
Fix #510 (-Wextra-semi-stmt with clang compiler)
2021-02-27 08:53:53 +01:00
Mark VanderVoord
61f4428435
Merge pull request #543 from farrrb/bugfix/fix-issue-531
...
Enable __attribute__ when __clang__ is definedgit
2021-02-26 13:01:42 -05:00
Fabian Zahn
0168ea1541
Enable __attribute__ when __clang__ is definedgit
2021-02-26 18:46:27 +01:00
Mark VanderVoord
ccd7ca72f3
Merge pull request #542 from farrrb/patch-1
...
Update UnityConfigurationGuide.md
2021-02-26 07:38:47 -05:00
Fabian Zahn - 0xFAB
66cec22838
Update UnityConfigurationGuide.md
...
Add semi-colon to configuration :)
2021-02-26 07:51:57 +01:00
Mark VanderVoord
74cde089e6
Merge pull request #540 from numaru/master
...
Enlarge the TEST_RANGE() regex to accept more spaces (Thanks for the help, @numaru !)
2021-02-12 15:42:25 -05:00
Kin Numaru
63fef7dd10
Enlarge the TEST_RANGE() regex to accept more spaces
...
This commit change the regex to accept more spaces inside the brackets
of the TEST_RANGE().
I use clang-format through vscode "editor.formatOnSave": true feature and it produce
padding spaces inside the array brackets by default.
```c
int a[] = [1, 2];
```
is changed into
```c
int a[] = [ 1, 2 ];
```
Also, every time I save a file containing a TEST_RANGE() with ctrl + s,
it breaks it.
2021-02-12 20:39:05 +01:00
Mark VanderVoord
78dea55ba5
Merge pull request #539 from Borowiec-B/master
...
Fix typo in doc (Thanks Michael!)
2021-02-10 09:28:45 -05:00
throwaway47912
563b93e5ec
Fix typo in doc
2021-02-10 15:20:03 +01:00
Mark VanderVoord
0b899aec14
Fix conditional issue in generator script.
...
Bump version.
v2.5.2
2021-01-26 08:59:27 -05:00
Mark VanderVoord
d8eb8414f4
Stop noticing my sublime files. ;)
2021-01-16 21:20:09 -05:00
Mark VanderVoord
05994f5061
Merge pull request #536 from ThrowTheSwitch/test/switch_to_actions
...
Attempt to get Actions Working
2021-01-16 21:05:49 -05:00