Commit Graph

25 Commits

Author SHA1 Message Date
黄国辉 9b846b9885 update unity 2.6.0
Signed-off-by: 黄国辉 <huangguohui6@huawei.com>
2024-05-13 17:57:44 +08:00
openharmony_ci e4b531f70e 回退 'Pull Request !16 : update unity2.6.0' 2024-05-11 11:52:21 +00:00
lizhengrong 04aac07d60 update unity 2.6.0
Signed-off-by: lizhengrong <lizhengrong9@huawei.com>
2024-04-23 11:35:37 +08:00
mamingshuai 5891e6f712 update openharmony 1.0.1 2021-03-11 18:42:54 +08:00
wenjun 3f760d041f add OpenHarmony 1.0 baseline 2020-09-09 09:26:48 +08:00
mvandervoord 7b06c0ca3a 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 b0861780f1 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
Mark VanderVoord 3d645c46ec Do not fail makefile just because example fails. 2019-10-21 11:27:28 -04: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 df06aceefc Fix unintended array overrun in example (#360. Thanks @quantum-leaps) 2018-11-02 07:42:47 -04:00
jsalling b34e7778df 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 7c3681e2ea Cleanup example Makefiles, update test runners
Delete clang flags that were disabled with -Wno-*
2017-01-18 08:13:41 -06:00
jsalling 474b1f2760 Get example 1 to compile easily on systems without ruby 2017-01-17 21:10:38 -06:00
kykrueger 95ef9e6e5b Fix bug, makefiles for example do not clean on windows 2016-10-06 11:00:22 +02:00
Andrzej Bieniek 7497493a41 Change example_1 to compile with std=c89 2016-05-15 14:35:56 +01:00
Mark VanderVoord b8f5d68b0d More fixes to line endings 2016-01-07 14:20:59 -05:00
ThingamaByte, LLC 06c95fcb08 - Fixed broken examples 2015-06-18 10:38:20 -04:00
Greg Williams 89b003ed0b Removed platform-specific warnings unsupported by GCC 2015-03-12 10:53:44 -04:00
nimrodz b389c71e71 Added stricter error checks by the compiler, and adapted all impacted code.
Primarily -
* Added "static" to static functions.
* Added proper signature with "void" to functions without arguments.
* Marked unused arguments with "(void)".
* Removed entirely unused static functions.
* Added "const" to preserve const-correctness.
* Added function prototypes for external functions.
2015-01-18 00:39:05 +02:00
Greg Williams 28d05e4f33 Fixed tests 2014-11-05 21:57:48 -05:00
Mark VanderVoord bcb4b74de9 - updated example makefiles to handle cygwin better 2014-11-03 19:39:37 -05:00
Sergey Gusarov 399a878c14 Fixed examples compilation 2014-11-01 21:47:04 +04:00
Mark VanderVoord 376480a4d9 make fixtures and examples compatible with new UnityBegin method. 2014-08-16 10:51:25 -04:00
Warwick Stone 1b9b197298 Added another example
*  Simple makefile example, extracted from existing example
2013-07-17 22:48:50 +10:00