RodrigoDornelles
30046e664e
remove unityConfig.cmake from .gitignore
2022-09-02 16:03:55 -03:00
RodrigoDornelles
f62ff65f9b
fix: add cmake outputs in .gitignore
2022-09-02 15:28:40 -03:00
Mark VanderVoord
3852926c00
Merge pull request #624 from trbenton/bugfix/stray-tab
...
Formatting: Replace a stray tab with spaces
2022-06-22 08:11:50 -04:00
trbenton
ca7a1707c9
Formatting: Replace a stray tab with spaces
2022-06-21 23:38:03 -04:00
Mark VanderVoord
4ee26e4e0d
Merge pull request #619 from eli-schwartz/meson-cleanup
...
Meson cleanup
2022-06-19 15:31:37 -04:00
Eli Schwartz
1b13155244
meson: include the license info in the project definition
...
This is useful to help convey the usage rights and e.g. generate a
Software Bill of Materials.
2022-06-19 13:49:52 -04:00
Eli Schwartz
0129cf5b11
meson: specify correct minimum versions of Meson
...
The main project doesn't really have any specific version requirement.
Specify a very low one just in case -- 0.37.0 is old enough to cover
probably any existing use of Meson anywhere in the wild, and
coincidentally is also the version that Meson started adding feature
warnings for, to notify you if you use too-new features.
The example *does* depend on a specific version. It needs 0.55.0 in
order to use subproject wrap dependency fallback instead of the legacy
style of specifying the name of the variable as a fallback. Ensure that
is used.
2022-06-19 13:44:57 -04:00
Eli Schwartz
ae10bd1268
examples: meson: do not use deprecated test naming style
...
Tests cannot contain a ":", and configuring the example produced the
following warning:
test/test_runners/meson.build:12: DEPRECATION: ":" is not allowed in test name "Running: 01-test-case", it has been replaced with "_"
test/test_runners/meson.build:13: DEPRECATION: ":" is not allowed in test name "Running: 02-test-case", it has been replaced with "_"
In this case, the "running" part is redundant, so remove it.
2022-06-19 13:41:09 -04:00
Mark VanderVoord
57e08575c2
Merge pull request #618 from troglobyte-coder/master
...
Updating the Meson build scripts
2022-06-19 12:27:18 -04:00
Michael Gene Brockus
193f130aed
Update unity.wrap
2022-06-19 06:36:25 -07:00
Michael Gene Brockus
b7b65737e8
Update meson.build
2022-06-19 06:35:43 -07:00
Michael Gene Brockus
91d16179b5
Update meson.build
2022-06-19 06:34:23 -07:00
Michael Gene Brockus
df2ea08157
Update meson.build
2022-06-19 06:33:19 -07:00
Mark VanderVoord
1958b97701
Merge pull request #615 from jhancharler/dev/fixtureReadmeFileTypo
...
fix wrong filename mentioned in readme for fixtures
2022-06-05 12:55:37 -04:00
Can Caglar
02e0bd5382
fix wrong filename mentioned in readme for fixtures
2022-06-05 14:01:48 +01:00
Mark VanderVoord
782ff32e9d
Merge pull request #614 from mjago/master
...
Fix call to ERB.new to avoid deprecation warnings.
2022-05-28 09:17:36 -04:00
Martyn Jago
5dd3aa40dc
Fix call to ERB.new to avoid deprecation warnings.
...
On later Rubies calling create_run_test() causes the generation of warnings of the following form:
warning: Passing safe_level with the 2nd argument of ERB.new is deprecated...
warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated...
This patch removes the noise.
2022-05-28 12:35:22 +01:00
Mark VanderVoord
b29a4bc360
Merge pull request #613 from mjago/master
...
Fix broken YAML parsing on later Rubies with Psych >=4.0 (Thanks @mjago !)
2022-05-27 10:30:01 -04:00
Martyn Jago
b44c2dd095
Fix broken YAML parsing on later Rubies with Psych >=4.0
...
YAML.load is now interpreted as YAML.safe_load, which breaks where the
YAML file contains aliases. If we can assume our yaml files are
trusted (since this a development tool), we can check for the presence
of YAML.unsafe_load and use it instead if it exists.
2022-05-27 15:08:11 +01:00
Mark VanderVoord
e54c9787b7
Merge pull request #560 from jonathangjertsen/more-float
...
Add macros for testing inequalities between floats, doubles
2022-05-25 11:04:56 -04:00
Mark VanderVoord
465b659c81
Merge pull request #609 from ivankravets/patch-3
...
Improve keywrods list
2022-04-22 11:24:24 -04:00
Ivan Kravets
a260ba1e4e
Improve keywrods list
2022-04-22 17:48:58 +03:00
Mark VanderVoord
22f78433c3
Merge pull request #608 from ivankravets/patch-2
...
List Unity framework in PlatformIO Registry
2022-04-22 07:20:33 -04:00
Mark VanderVoord
bc8a650d30
Merge pull request #607 from ivankravets/patch-1
...
Make PROGMEM configurable // Resolve #606 , Resolve #482
2022-04-22 07:15:29 -04:00
Ivan Kravets
e85f439c98
List Unity framework in PlatformIO Registry
2022-04-22 13:43:32 +03:00
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
Jonathan Reichelt Gjertsen
b732fbf1ca
Add LESS_OR_EQUAL and GREATER_OR_EQUAL assertions for doubles and floats
2021-12-03 20:39:55 +01:00
Jonathan Reichelt Gjertsen
2a8f3fe65a
Try to fix C89 incompatibilities in UnityAssertGreaterOrLess(Double|Float)
2021-12-03 19:53:31 +01:00
Jonathan Reichelt Gjertsen
244edf6c16
Add NOT_EQUAL* and NOT_WITHIN* checks for floats and doubles
2021-12-03 19:53:31 +01:00
Jonathan Reichelt Gjertsen
5a3d82bda6
Merge branch 'master' into more-float
2021-12-03 18:23:22 +01: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
Jonathan Reichelt Gjertsen
d06ac64852
Merge remote-tracking branch 'upstream/master' into more-float
...
# Conflicts:
# README.md
# docs/UnityAssertionsReference.md
2021-07-27 01:54:26 +02:00