1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-22 16:05:58 +01:00

1384 Commits

Author SHA1 Message Date
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
824eb5f5c5 Fixing Rubocop code style 2022-02-28 16:59:52 +03:00
Alex Overchenko
2dbfd0594c Adding time feature description 2022-02-28 16:11:32 +03:00
Alex Overchenko
42503b3343 unity_to_junit.py can be imported as Python module now 2022-02-28 14:12:57 +03:00
Alex Overchenko
32608af4f5 Test passing time will be in seconds now
(for xml output)

(cherry picked from commit 39d54e2913b0c3a18106a13705fed2fb8ab7f4b0)
2022-02-28 14:06:59 +03:00
Alex Overchenko
edf6a52bfd Test time parsing was added
(cherry picked from commit f2fe9fd4ad78c574af08afaa91d402b37464b131)
2022-02-28 14:06:53 +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
Alex Overchenko
cc36e0d82b Fix failed & ignored tests color parsing 2022-02-16 15:18:38 +03:00
Alex Overchenko
5089be60e0 parse_output accepting all symbols now
Methods with their args can contain colons (':') now
2022-02-16 15:18:38 +03:00
Alex Overchenko
e32809c529 Trying to fix errors of non-ASCII characters while parsing 2022-02-16 15:18:38 +03:00
Alex Overchenko
474d201800 parse_output: test names can contain double-quoted string now 2022-02-16 15:18:38 +03:00
Alex Overchenko
10d593d413 parse_output test_suite tag can be passed as arg now 2022-02-16 15:18:38 +03:00
Alex Overchenko
2b725883f7 parse_output should parse color output now 2022-02-16 15:18:38 +03: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
Léo SEBAL
2ad5d74dc7 Fixes and features on the JUnit Python conversion script
* Added python3 shebang
* Renamed the script `unity_to_junit.py` as `stylize_as_junit.py`
  to match the Ruby file
* Fixed a bug on where the script failed if the first entry slot of
  each result line is empty. Now falls back to the result file name
* Rewrote the argument parsing to use argparse
* Added a `--output` / `-o` option, to match the Ruby file
2022-01-19 18:50:54 +01:00
Maurizio Bonesi
c0e9a4c185 fixed hyperlink text to obtain Ruby
the text was correct but the hyperlink had a problem.
2021-12-10 10:16:45 +01: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
Erik Flodin
285bb6e282 Ignore space around parameter in TEST_CASE()
This makes it possible to use defines that expand to something that
includes space, e.g. TEST_CASE(true).
2021-12-03 17:35:51 +01:00
Erik Flodin
72ffe691cd Make TEST_RANGE handle a single range
Before this change a single range such as TEST_RANGE([5, 100, 5]) would
generate the following error:

undefined method `flatten' for 5:Integer (NoMethodError)

The problem is that reduce called on an array with a single element
returns that element which isn't an array of arrays as expected by the
following block.
2021-12-03 17:33:56 +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