Mark VanderVoord
2fa6cd59ac
Merge pull request #401 from ty93/master
...
unity_test_summary.py recursive search for test files
2019-03-26 16:33:17 -04:00
Tomer Yogev
ccb7f0fe5c
recursive search for target test files in test summary python script
2019-03-26 17:32:30 +02:00
Mark VanderVoord
1576432bc3
Merge pull request #400 from art-of-dom/travis-fix
...
Fix travis config: Use ruby 2.3
2019-03-25 11:37:26 -04:00
Dom Postorivo
67678060a2
Fix travis config
2019-03-23 20:09:56 -04:00
Mark VanderVoord
7d1c72a88e
Merge pull request #397 from AlexanderBrevig/fix_unary_minus_on_unsigned_warning
...
use unary minus on the incoming int instead of the casted uint
2019-03-11 22:35:02 -04:00
Alexander Brevig
df6af0ef7e
use unary minus on the incoming int instead of the casted uint
2019-03-12 00:17:37 +01:00
Mark VanderVoord
1fb4108590
Merge pull request #391 from detly/master
...
Removed leading underscore from module generator header guards. (Thanks @detly !)
2019-02-21 17:07:10 -05:00
Jason Heeris
47ca265784
Removed leading underscore from module generator header guards.
2019-02-22 08:38:29 +11:00
Mark VanderVoord
be5cd2ebdb
Merge pull request #387 from farrrb/rework-operator-precedence
...
Added braces to avoid implementation solely based on operator precedence. (Thanks @farrrb ! I love cleanup like this!)
2019-01-30 15:48:50 -05:00
Fabian Zahn
df6d7c0f20
Added braces to avoid implementation solely based on operator precedence.
2019-01-30 21:26:35 +01:00
Mark VanderVoord
4b5dd39882
Merge pull request #386 from teaguecl/teaguecl_example1_bugfix
...
Fix error in example_1
2019-01-26 07:45:55 -05:00
teaguecl
fcb59e1a61
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
23ff123791
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
Mark VanderVoord
34f1f0b3a8
Merge pull request #383 from farrrb/feature-printf
...
Feature printf (Thanks @farrrb !)
2019-01-25 06:09:20 -05:00
Fabian Zahn
90b1baf834
Added examples for the configuration of UnityPrintFormatted and exclusion of <stddef.h>
2019-01-25 07:01:29 +01:00
Mark VanderVoord
8e20ed784d
Merge pull request #385 from bluca/c90
...
Make unity.c compatible with c90
2019-01-24 16:48:07 -05:00
Luca Boccassi
dde15abe06
Make unity.c compatible with c90
...
Avoid declaring the loop variable inside the for statement to keep
compatibility with c90:
unity.c:1408: error: for' loop initial declaration used outside C99 mode
2019-01-24 21:44:34 +00:00
Fabian Zahn
bd0d2a32ae
Added documentation and changed all the code examples to backtick (code) blocks.
2019-01-24 20:12:16 +01:00
Fabian Zahn
aff15a44ca
Added some documentation for the helper function.
2019-01-24 19:22:01 +01:00
Fabian Zahn
5b198df248
Changed the compiler switch behaviour for printf (default: disabled).
...
Macro UNITY_EXCLUDE_PRINT_FORMATTED changed to UNITY_INCLUDE_PRINT_FORMATTED.
Enable printf via "-DUNITY_INCLUDE_PRINT_FORMATTED" compiler option.
2019-01-24 18:42:51 +01:00
Fabian Zahn
e3ca09986e
Merge branch 'master' into feature-printf
...
# Conflicts:
# src/unity.c
2019-01-24 18:32:07 +01:00
Mark VanderVoord
3c75694ed8
Merge pull request #382 from dpostorivo/ifndef-64-runner
...
Generate runner defines with #ifndef guards
2018-12-21 23:12:59 -05:00
Dom Postorivo
71bd7ea79e
generate runner defines with #ifndef guards
2018-12-21 22:37:11 -05:00
Mark VanderVoord
2a04838393
Merge pull request #380 from elliot-gawthrop/test-case-string
...
Add support for strings in TEST_CASE()
2018-12-11 06:56:47 -05:00
Elliot Gawthrop
004d470f67
Add support for strings in TEST_CASE()
2018-12-10 20:53:27 +00:00
Mark VanderVoord
6887ccd653
Merge pull request #299 from jlindgren90/float-printing
...
Allow UnityPrintFloat() to print a 7th digit.
2018-11-28 15:27:37 -05:00
Mark VanderVoord
9b70a58776
Merge pull request #375 from jlindgren90/int-min-printing
...
Fix undefined behavior when printing INT_MIN/INT64_MIN. (Thanks @jlindgren90 !)
2018-11-28 15:23:03 -05:00
John Lindgren
c4af5ed0a7
Fix another signed integer overflow.
2018-11-28 15:17:25 -05:00
John Lindgren
0be0a3ab44
Fix undefined behavior when printing INT_MIN/INT64_MIN.
...
Negating the most-negative signed integer results in overflow, which
is undefined behavior. Fix this by casting to an unsigned type first
(unsigned overflow is well-defined as it uses modular arithmetic).
2018-11-28 14:45:23 -05:00
John Lindgren
9e08553e9b
Merge branch 'master' into float-printing
2018-11-28 14:02:41 -05:00
Mark VanderVoord
11e8408eac
Merge pull request #374 from jlindgren90/rubocop
...
Fix (most) Rubocop warnings. (Thanks @jlindgren90 !!!!)
2018-11-28 13:42:51 -05:00
John Lindgren
655f08cc29
Fix uninitialized constant
2018-11-28 13:36:27 -05:00
John Lindgren
5f8fab986e
Fix (most) Rubocop warnings.
2018-11-28 13:27:00 -05:00
Mark VanderVoord
5510fafaab
Merge pull request #364 from farrrb/fix-issue-360
...
Fixed an "array index out of bounds violation" in the examples. (Thanks @farrrb )
2018-11-14 06:17:38 -05:00
Mark VanderVoord
a088b9225e
Merge pull request #370 from danyeaw/license-location
...
Move license for GitHub detection
2018-11-14 06:09:10 -05:00
Dan Yeaw
a2e216f9b6
Move license for GitHub detection
2018-11-13 21:07:05 -05:00
Mark VanderVoord
8faa638e8b
Merge pull request #353 from kykrueger/issue-#352-uninitialized-value-warning
...
Issue #352 uninitialized value warning
2018-11-07 09:22:46 -05:00
Mark VanderVoord
df06aceefc
Fix unintended array overrun in example ( #360 . Thanks @quantum-leaps)
2018-11-02 07:42:47 -04:00
Mark VanderVoord
60fdb5808b
Merge pull request #365 from Kochise/patch-2
...
Patch 2 (Thanks, @Kochise !)
2018-10-31 07:13:30 -04:00
Mark VanderVoord
b147426cc0
Merge pull request #366 from Kochise/patch-1
...
Some cleanup (Thanks, @Kochise !)
2018-10-31 06:48:32 -04:00
Kochise
3349626c97
Some cleanup
2018-10-31 11:41:44 +01:00
Kochise
af00b51005
Some cleanup
2018-10-31 11:30:13 +01:00
Kochise
da56be4e6c
Some cleanup
2018-10-31 11:24:37 +01:00
Fabian Zahn
73dcc92802
Added support for %b (bits / binary), %f (float) and %g (double).
2018-10-27 18:21:01 +02:00
Fabian Zahn
f9e9ae4ef8
Added first working implementation.
2018-10-27 16:06:38 +02:00
Fabian Zahn
ac6b0041a3
Fixed an "array index out of bounds violation" in the examples (regarding issue #360 ).
2018-10-27 11:24:29 +02:00
Mark VanderVoord
0451c4363b
Merge pull request #363 from Deltrix/patch-1
...
Changed some text issues (Thanks @Delrix)
2018-10-22 10:42:30 -04:00
Filip Michalak
4736422a66
Changed some text issues
2018-10-22 15:32:22 +02:00
Mark VanderVoord
b770103309
Merge pull request #362 from meslem12/patch-1
...
fixed compile error UNITY_PRINT_EXEC_TIME(). Thanks @meslem12 !
2018-10-18 22:58:40 -04:00
Levin Messing
107efd081f
fixed compile error UNITY_PRINT_EXEC_TIME()
2018-10-18 23:55:38 +02:00