Commit Graph

1000 Commits

Author SHA1 Message Date
openharmony_ci 4b8020471d !6 add OAT.xml for OAT warning
Merge pull request !6 from NicoYam/master
2021-09-28 09:18:39 +00:00
renxiang 4fc3acbf14 add OAT.xml for OAT warning
Signed-off-by: renxiang <renxiang11@huawei.com>
2021-09-28 16:33:52 +08:00
openharmony_ci eabd9bacd9 !1 Add issue and PR template for master
Merge pull request !1 from OpenHarmonySCM(no_reply)/add_issus_pr_template_for_master
2021-08-09 11:30:03 +00:00
mamingshuai 8879eaf93e add issue and pr template 2021-04-07 15:10:15 +08:00
mamingshuai f41ed198a8 update openharmony 1.0.1 2021-03-11 18:42:54 +08:00
wenjun 861fadda9e add OpenHarmony 1.0 baseline 2020-09-09 09:26:48 +08:00
h00294133 adeee5021e TicketNo: DTS2020080402804
Description: added the open copyright information
Team:OTHERS
Feature or Bugfix:Bugfix
Binary Source:NA
PrivateCode(Yes/No):No

Change-Id: I3f2d46968d93d4f419e2bd4de1a120b4557c85b7
Reviewed-on: http://mgit-tm.rnd.huawei.com/10068281
Reviewed-by: shuaiyutao 00379934 <shuaiyutao1@huawei.com>
Tested-by: public jenkins <public_jenkins@notesmail.huawei.com>
Reviewed-by: wangjuntao 00579558 <wangjuntao.wang@huawei.com>
2020-08-05 10:11:53 +08:00
h00294133 bb9da8ddaf TicketNo: DTS2020073008557
Description: added the open source statement
Team:OTHERS
Feature or Bugfix:Bugfix
Binary Source:NA
PrivateCode(Yes/No):No

Change-Id: Id5495345ff1cf3e971620e1f59e189d6ef03192e
Reviewed-on: http://mgit-tm.rnd.huawei.com/9993729
Tested-by: public jenkins <public_jenkins@notesmail.huawei.com>
Reviewed-by: shuaiyutao 00379934 <shuaiyutao1@huawei.com>
Reviewed-by: wangjuntao 00579558 <wangjuntao.wang@huawei.com>
2020-07-31 09:03:07 +08:00
mvandervoord c3d7662a1e fixture example doesn't use memory extra 2019-10-30 10:05:49 -04:00
mvandervoord ded22fef63 Make memory handling optional in fixtures 2019-10-30 09:50:22 -04:00
Mark VanderVoord 37a0f7184c Merge pull request #459 from elliot-gawthrop/combined_suite
Option to omit UnityBegin/UnityEnd calls in generate_test_runner
2019-10-30 09:33:18 -04:00
Mark VanderVoord 2aaf3c4504 Merge pull request #461 from jlindgren90/duplicate-branch
Remove exactly duplicated 'else if' branch
2019-10-30 09:31:14 -04:00
Mark VanderVoord d34f72282f Merge pull request #463 from ThrowTheSwitch/refactor/split_mem_from_fixture
Refactor/split mem from fixture
2019-10-30 09:26:40 -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 5dd5931114 Try to keep compiler from complaining about this cast that we KNOW is okay. 2019-10-30 08:53:08 -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 e40b0bf2b5 Let's just go with it. Why fight the warnings when they could catch other issues? 2019-10-30 08:42:46 -04:00
mvandervoord efd02920ca Fix path problem in Travis CI 2019-10-30 08:06:52 -04:00
mvandervoord fbded74349 Split memory from fixtures and make it's own addon 2019-10-30 07:52:07 -04:00
Mark VanderVoord 3fb86421b2 Merge pull request #460 from jlindgren90/array-64
Fix TEST_ASSERT_HEX64_ARRAY_WITHIN truncating delta to 32 bits
2019-10-29 17:21:35 -04:00
John Lindgren 8072c5c946 Remove exactly duplicated 'else if' branch. 2019-10-29 17:10:45 -04:00
John Lindgren 32e6d93ab0 Fix TEST_ASSERT_HEX64_ARRAY_WITHIN truncating delta to 32 bits. 2019-10-29 16:59:59 -04:00
anon a303e08859 Option to omit UnityBegin/UnityEnd calls in generate_test_runner
By passing --omit_begin_end=1 to generate_test_runner.rb, the script
will now omit calls to UnityBegin and UnityEnd when running tests in a
suite.

This allows multiple suites to be executed in a row, and then have an overall
summary of the tests which were executed across all suites.
2019-10-29 20:32:06 +00:00
Mark VanderVoord 34ebd82d8c Merge pull request #458 from jlindgren90/verify-test
Make verifyTest() leave Ignores and Callbacks intact
2019-10-29 13:31:47 -04:00
John Lindgren 9c82fac380 Update incorrect comment. 2019-10-29 13:21:59 -04:00
John Lindgren cf5b2d2568 Make verifyTest() leave Ignores and Callbacks intact. 2019-10-29 13:21:34 -04:00
mvandervoord 74d47e8afa Add missed casting 2019-10-29 06:34:09 -04:00
mvandervoord 354e2b4da6 Added set of assertions for checking CHAR's and CHAR arrays (not as strings) 2019-10-28 16:54:32 -04:00
mvandervoord 60b23dc8a4 Stopped supported -0 as a float output because (a) it is non-portable, only existing on some architectures and (b) relies on the undefined behavior of 1.0/0.0 2019-10-28 13:43:32 -04:00
mvandervoord e1dca8fa48 Add options for different output formats 2019-10-28 12:43:11 -04:00
Mark VanderVoord 3f334b8be6 Merge pull request #450 from arcadien/fix_comments
Fix CMakeLists
2019-10-28 10:45:23 -04:00
mvandervoord be87d790c7 Add verifyTest option to go with resetTest.
Fix docs.
2019-10-28 10:32:22 -04:00
Aurelien Labrosse b75b19c969 CMakeLists fixes 2019-10-26 18:31:57 +02:00
mvandervoord 15631f1c78 More tweaking to make it happy on both windows and *nix 2019-10-25 11:53:59 -04:00
mvandervoord 8d044e60c6 update fixture tests too 2019-10-25 11:41:27 -04:00
mvandervoord 368a7d8970 Fixed a couple of mistakes in last commit 2019-10-25 11:20:25 -04:00
mvandervoord d16c27b085 - added target for checking ANSI compliance
- fixed ANSI (C89) issues, including #418
2019-10-25 10:17:12 -04:00
Mark VanderVoord 748efa26b5 Merge pull request #456 from detly/int_array_doc_fix
Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN
2019-10-25 06:03:22 -04:00
Jason Heeris 86b19304ed Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN(). 2019-10-25 14:37:00 +11:00
mvandervoord eb0bd42f0d Updated to newer coding standard 2019-10-24 15:33:41 -04:00
Mark VanderVoord addd60edab Merge pull request #454 from jlindgren90/common-run-test
Convert RUN_TEST() to a function
2019-10-24 14:42:23 -04:00
John Lindgren 277e844bed Convert RUN_TEST() to a function (generated from an ERB template).
Converting RUN_TEST() from a macro to a function significantly reduces the size
of the compiled binary.  On amd64, the largest test runner in the test suite
(testsample_DefaultsThroughCommandLine_runner.o) was reduced from 3.4 kB to 2.4
kB (stripped).
2019-10-22 15:18:20 -04:00
John Lindgren d10cf6645d Remove unnecessary #includes. 2019-10-22 15:05:34 -04:00
John Lindgren 68cc45a918 Make sure setUp/tearDown are always defined. 2019-10-22 15:04:03 -04:00
Mark VanderVoord 5fc72fbca1 fix name of teardown function 2019-10-22 06:52:25 -04:00
Mark VanderVoord ff697ad29c suite setup and teardown no longer static (simplifies test-supplied instance) 2019-10-22 06:45:47 -04:00
Mark VanderVoord ac427b28fc Fixed backwards case. 2019-10-22 06:37:28 -04:00
Mark VanderVoord 2d8a69e0d1 update handling of when suite_setup/teardown in use 2019-10-22 06:27:26 -04:00
Mark VanderVoord cb8744c496 More argument fixing (I hate flying blind... can't wait to get back on my laptop) 2019-10-21 14:59:31 -04:00
Mark VanderVoord c19e3f99ce missed function call arguments 2019-10-21 14:45:56 -04:00