Commit Graph

102 Commits

Author SHA1 Message Date
ml-physec
25e9af9edd Update detail-stack implementation after #784 2025-08-07 13:52:40 +02:00
ml-physec
bfc785c665 Add example 2025-04-16 19:21:48 +02:00
Mark VanderVoord
1a29024cc7 It's a New Year 2025-01-01 11:46:30 -05:00
Franz-Josef Grosch
f8be3a5eba Update unity_config.h
Corrected the #define for 64-bit support in example unity_config.h file
2024-08-14 16:40:05 +02:00
Mark VanderVoord
671f8d25f1 Update all the boilerplates 2024-03-16 23:15:00 -04:00
Mark VanderVoord
3f7564ea3b Catch up on Ruby style and formatting changes. 2023-11-12 19:07:32 -05:00
Mark VanderVoord
bd32847abf Merge branch 'master' into platform_matrix 2023-11-08 00:16:40 -05:00
Mark VanderVoord
a7639eeb54 Bump rubocop up to newer ruby versions (in progress) 2023-02-16 16:40:23 -05:00
Andrew McNulty
cd80a79db5 Add Meson example based on Owen Torres' example. 2023-02-13 16:50:20 +01: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
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
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
6a86a83207 Merge pull request #487 from michaelbadcrumble/master
Cleaning Meson build support implementation.
2020-03-16 19:55:55 -04:00
Jørn Villesen Christensen
22a047ebb5 Updated documentation and examples to reflect the TEST_PRINTF function. 2020-02-14 22:45:58 +01:00
Michael
8a3a31f7b3 clean up meson support 2020-02-08 10:30:43 -08:00
Lino Mastrodomenico
e59185cd8d Fix another access outside array bounds. 2019-12-08 22:34:47 +00:00
Lino Mastrodomenico
86caf7ec97 Fix access outside array bounds. 2019-12-08 22:32:18 +00:00
mvandervoord
e2682ae43a update (commented out) example of using WEAK (which is not supported any longer) 2019-11-12 18:26:15 -05:00
mvandervoord
c3d7662a1e fixture example doesn't use memory extra 2019-10-30 10:05:49 -04:00
mvandervoord
179b492e18 Sigh. had to NOT disable these warnings by default because the gcc on our test rig doesn't understand it 2019-10-30 09:00:53 -04:00
mvandervoord
94dc637d03 While we're fixing warnings / errors, disable this (otherwise helpful) error because we are purposefully making this example file fail for this. 2019-10-30 08:48:08 -04:00
mvandervoord
eb0bd42f0d Updated to newer coding standard 2019-10-24 15:33:41 -04:00
Mark VanderVoord
0793de9ef1 Do not fail makefile just because example fails. 2019-10-21 11:27:28 -04:00
Michael Brockus
31ab99b860 Update sub meson.build in test runner dir.
Put source in an array, cleaned up script and fixed comment.
2019-09-17 11:33:31 -07:00
Michael Brockus
29af4c0e0d Updated sub meson.build in example test dir.
Removed newlines and fixed comment.
2019-09-17 11:30:07 -07:00
Michael Brockus
964a58c053 Updated sub meson script in example src.
Added foreach loop to avoid DRY, Put source files in map structors, fixed comment.
2019-09-17 11:28:47 -07:00
Michael Brockus
f2711a87a6 Update meson.build
Moved example dir variable into source meson.build script, fixed comment.
2019-09-17 11:25:17 -07:00
Mark VanderVoord
1100c5d8f0 Merge pull request #430 from squidfarts/master
Quick fix to Meson example.
2019-07-06 12:00:17 -04:00
Michael Brockus
3afc0412e1 Changed source of Unity. 2019-07-06 08:54:07 -07:00
Mark VanderVoord
0892db2376 Protect against nil return codes in rakefiles 2019-07-06 11:31:31 -04:00
Michael Brockus
a2f25d05d8 Added 'c' in example 4 2019-07-05 18:10:58 -07:00
Michael Brockus
c10f87f1e6 Fixed issues regarding the example Meson project. 2019-07-03 21:03:39 -07:00
Michael Brockus
c7185b3a5a Added prototypes to stop errors when Ninja. 2019-07-03 15:55:19 -07:00
Michael Brockus
e89b281e43 Wrote info in readme.txt 2019-07-03 15:54:19 -07:00
Michael Brockus
ab9f8d0959 Added example 4 in examples directory. 2019-07-03 15:30:50 -07:00
Mark VanderVoord
071044bdd6 Merge pull request #349 from kykrueger/issue-#348-generalize-example-3-gcc-config
Issue #348 generalize example 3 gcc config
2019-05-04 08:11:04 -04:00
teaguecl
bc2ab233ee Fix error in example_1 and example_2
This test case had an error in both examples:
test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode

It was supposed to be a list of values that are NOT in the list,
and none of them should be found.  It incorrectly included '1'
2019-01-25 21:51:25 -08:00
teaguecl
9d1ffe26d6 Fix error in example_1
This test case had an error:
test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode
It was supposed to be a list of values that are NOT in the list,
and none of them should be found.  It incorrectly included '1'
which is a value in the list.

The compile option -Wno-misleading-indentation was also added to
remove a compiler warning produced by gcc 7.3.0
2019-01-25 21:22:55 -08:00
Fabian Zahn
a6e9f85f71 Added examples for the configuration of UnityPrintFormatted and exclusion of <stddef.h> 2019-01-25 07:01:29 +01:00
John Lindgren
6b657c6f17 Fix (most) Rubocop warnings. 2018-11-28 13:27:00 -05:00
Mark VanderVoord
7dd21c333e Fix unintended array overrun in example (#360. Thanks @quantum-leaps) 2018-11-02 07:42:47 -04:00
Kyle Krueger
56f1646087 add missing trailing slash 2018-09-10 15:19:15 +02:00
Kyle Krueger
8ba35a0e52 Revert "remove change that slipped in from other project"
This reverts commit 5d2ef07054.
2018-09-10 11:26:13 +02:00
Kyle Krueger
5d2ef07054 remove change that slipped in from other project 2018-09-10 11:21:41 +02:00
Kyle Krueger
c64cc7d4f4 fix new references 2018-09-10 10:51:14 +02:00
Kyle Krueger
f60ab920c9 switch hardcoded string to reference existing value 2018-09-10 10:38:55 +02:00
balaksh
cc909efed3 Implement optional printing of execution time for each test 2017-09-10 13:00:09 +12:00
Mark VanderVoord
05daf95d4e Update to match Ruby style guide 2017-09-08 15:37:31 -04:00