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
Aviv Palivoda
a07d07cd1a
Allow specifying custom header declaration
...
The user can specify UNITY_OUTPUT_CHAR_HEADER_DECLARATION and
UNITY_OUTPUT_FLUSH_HEADER_DECLARATION when he would like to declare
UNITY_OUTPUT_CHAT or UNITY_OUTPUT_FLUSH respectivly
2017-08-01 22:43:58 +03:00
Mark VanderVoord
c1bc32dc58
- Generator will not change names by default
...
- Fixed some style issues.
2017-06-25 13:58:31 -04:00
Mark VanderVoord
2a5b24f7bf
Finished updating all Ruby scripts to match our coding standard. Woo!
2017-03-28 20:02:53 -04:00
Mark VanderVoord
3a6cca39c5
Fixed things that the stylizer “autocorrected” to wrong. ;)
2017-03-28 08:52:10 -04:00
Mark VanderVoord
3062c39725
Starting to enforce our coding style. The first step is that we’ve pulled in Rubocop to check out Ruby syntax. There is likely a bit of customization to do yet AND there is definitely that backlog of todo’s that we just told it to ignore.
2017-03-28 08:44:32 -04:00
jsalling
e0104179ed
Fix 32-bit build issues on Travis-CI by installing multilib
...
If, longer term, the Travis-CI support for 32-bit is inconsistent
the lines that failed are:
- make -s DEBUG=-m32
- cd ../example_3 && rake
Add target 'ci' for building examples with -Werror
2017-01-22 21:13:08 -06:00
jsalling
bb7f889f03
Compile examples in continuous integration, update example_3 readme
...
Altered the rake build so that it passes. The example_3 shows off
some failing tests, so the rake build has to ignore those.
Update .gitignore file with executables from examples
2017-01-18 19:33:24 -06:00
jsalling
185fb49380
Cleanup example Makefiles, update test runners
...
Delete clang flags that were disabled with -Wno-*
2017-01-18 08:13:41 -06:00
jsalling
d460a89a04
Get example 1 to compile easily on systems without ruby
2017-01-17 21:10:38 -06:00
Mark VanderVoord
6695e9e975
Merge pull request #242 from jsalling/feature/fixture-test-name
...
Fixture - Remove duplicate output of test name in verbose mode
2017-01-13 16:38:10 -05:00
jsalling
e92f2c2762
Update comments to reflect changes to floating point
2016-12-29 23:10:43 -06:00
jsalling
5f33721924
Remove duplicate output of test name, Fixture verbose mode
...
Remove UNITY_FIXTURES option, which was probably not doing what was
originally indended. It was suppressing the test name even in quiet mode.
2016-12-28 21:18:50 -06:00
kykrueger
03b9eaa9ba
Fix bug, makefiles for example do not clean on windows
2016-10-06 11:00:22 +02:00
jsalling
28c94bd403
Remove references to UNITY_EXCLUDE_SIZEOF, rework config header
2016-08-25 08:48:29 -05:00