mipengwei
b81b849bf5
Signed-off-by:mipengwei<mipengwei@huawei.com>
2022-06-29 11:45:13 +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
ca8816b399
fixture example doesn't use memory extra
2019-10-30 10:05:49 -04: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
mvandervoord
740c98b164
Updated to newer coding standard
2019-10-24 15:33:41 -04:00
Mark VanderVoord
3d645c46ec
Do not fail makefile just because example fails.
2019-10-21 11:27:28 -04:00
Michael Brockus
df8056bf89
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
4294f286ad
Updated sub meson.build in example test dir.
...
Removed newlines and fixed comment.
2019-09-17 11:30:07 -07:00
Michael Brockus
e1f9747dbf
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
61275e7acd
Update meson.build
...
Moved example dir variable into source meson.build script, fixed comment.
2019-09-17 11:25:17 -07:00
Mark VanderVoord
52cc50d912
Merge pull request #430 from squidfarts/master
...
Quick fix to Meson example.
2019-07-06 12:00:17 -04:00
Michael Brockus
2ee639aa7a
Changed source of Unity.
2019-07-06 08:54:07 -07:00
Mark VanderVoord
44ac0779e3
Protect against nil return codes in rakefiles
2019-07-06 11:31:31 -04:00
Michael Brockus
3ef82ada65
Added 'c' in example 4
2019-07-05 18:10:58 -07:00
Michael Brockus
4cd8f1b718
Fixed issues regarding the example Meson project.
2019-07-03 21:03:39 -07:00
Michael Brockus
23b8450a25
Added prototypes to stop errors when Ninja.
2019-07-03 15:55:19 -07:00
Michael Brockus
5a44e7ff53
Wrote info in readme.txt
2019-07-03 15:54:19 -07:00
Michael Brockus
a9c4e366cd
Added example 4 in examples directory.
2019-07-03 15:30:50 -07:00
Mark VanderVoord
bc7c79148e
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
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
Fabian Zahn
90b1baf834
Added examples for the configuration of UnityPrintFormatted and exclusion of <stddef.h>
2019-01-25 07:01:29 +01:00
John Lindgren
5f8fab986e
Fix (most) Rubocop warnings.
2018-11-28 13:27:00 -05:00
Mark VanderVoord
df06aceefc
Fix unintended array overrun in example ( #360 . Thanks @quantum-leaps)
2018-11-02 07:42:47 -04:00
Kyle Krueger
6227a1633e
add missing trailing slash
2018-09-10 15:19:15 +02:00
Kyle Krueger
071ec6562f
Revert "remove change that slipped in from other project"
...
This reverts commit a24ffdba78 .
2018-09-10 11:26:13 +02:00
Kyle Krueger
a24ffdba78
remove change that slipped in from other project
2018-09-10 11:21:41 +02:00
Kyle Krueger
f32c22f86b
fix new references
2018-09-10 10:51:14 +02:00
Kyle Krueger
0f5136123e
switch hardcoded string to reference existing value
2018-09-10 10:38:55 +02:00
balaksh
a087e8b786
Implement optional printing of execution time for each test
2017-09-10 13:00:09 +12:00
Mark VanderVoord
87a7641d39
Update to match Ruby style guide
2017-09-08 15:37:31 -04:00
Aviv Palivoda
51d84b5d73
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
5e3debb4ed
- Generator will not change names by default
...
- Fixed some style issues.
2017-06-25 13:58:31 -04:00
Mark VanderVoord
ad0c4f3631
Finished updating all Ruby scripts to match our coding standard. Woo!
2017-03-28 20:02:53 -04:00
Mark VanderVoord
1426eaa866
Fixed things that the stylizer “autocorrected” to wrong. ;)
2017-03-28 08:52:10 -04:00
Mark VanderVoord
5899519a48
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
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
27cb213b12
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
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
Mark VanderVoord
5572c1e0c2
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
72f9c5840f
Update comments to reflect changes to floating point
2016-12-29 23:10:43 -06:00
jsalling
90b8232bd9
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
95ef9e6e5b
Fix bug, makefiles for example do not clean on windows
2016-10-06 11:00:22 +02:00
jsalling
84ae8136ef
Remove references to UNITY_EXCLUDE_SIZEOF, rework config header
2016-08-25 08:48:29 -05:00
Andrzej Bieniek
7497493a41
Change example_1 to compile with std=c89
2016-05-15 14:35:56 +01:00
Toby
3c13396846
Moved example unity_config.h from src to examples
...
As recommended in PR #193
2016-05-12 16:00:31 +01:00
Mark VanderVoord
b8f5d68b0d
More fixes to line endings
2016-01-07 14:20:59 -05:00