Commit graph

21 commits

Author SHA1 Message Date
Dan Shi
ba894f81db Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 15:17:02 -07:00
Dan Shi
bc404e6c80 Convert VtsHalRenderscriptV1_0TargetTest to be parameterized test
Bug: 142397658
Test: atest VtsHalRenderscriptV1_0TargetTest
Change-Id: I319f113d2c80afc75a28a480e3dd1c7739c5f2d7
2019-12-11 10:23:35 -08:00
Chih-Hung Hsieh
a8c052d038 Fix cert-dcl16-c clang-tidy warnings.
Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: I13b7b9951ed198f91203475736edb3495e8a50aa
2018-12-12 15:39:15 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Zhuoyao Zhang
a529b73890 Merge "Convert Renderscript Hal test to test against each of the service names."
am: 4fae0e4f75

Change-Id: I76769806c8e90411055c4864b57e8271cc1894a8
2017-11-15 18:16:46 +00:00
Zhuoyao Zhang
674b34d42f Convert Renderscript Hal test to test against each of the service names.
Bug:64203181
Test: vts-tradefed run vts -m VtsHalRenderscriptV1_0Target
Change-Id: I40bb519f901a553363837a42ee7450db32d22e27
2017-11-13 17:45:23 -08:00
Tri Vo
070dd5d28a Renderscript test static link to HAL def libs.
And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalRenderscriptV1_0Target
Change-Id: Id6177663b441b5b0971143309401d73395ab51db
2017-08-07 14:11:33 -07:00
Michael Butler
5cc58a7699 Merge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3 am: 06f79dbd05
am: 88d9fda69a

Change-Id: I5610aa46a612acbd3b854de9721fd4c204a2f5f0
2017-07-14 22:54:58 +00:00
Michael Butler
06f79dbd05 Merge "Added protections to RenderScript VTS class teardown."
am: 80002c1ff3

Change-Id: I55d1b0432e87068913a0e40cb72717a3a034b1e7
2017-07-14 22:46:57 +00:00
Michael Butler
4c65977854 Added protections to RenderScript VTS class teardown.
If RenderScript HIDL server does not exist or cannot be opened,
currently it results in a nullptr dereference when the VTS test is
torn down. This CL adds a check before the cleanup.

Test: mm -j40
Bug: 63711002
Change-Id: I11a226a78b31444e7b198b2ff1dfa3794963caa0
2017-07-14 20:47:14 +00:00
Michael Butler
d29bc20120 Fixed flaky RenderScript VTS Test am: 076f69aa2b am: c12c5abf68 am: abb2a62271
am: 3b8250a93a

Change-Id: Ia4d1cd30343045ce7a230dbad529100898102872
2017-05-23 18:07:57 +00:00
Michael Butler
3b8250a93a Fixed flaky RenderScript VTS Test am: 076f69aa2b am: c12c5abf68
am: abb2a62271

Change-Id: Icc6c8ea54f3e61a54ef7faa5f37e3f209035ee6d
2017-05-23 17:52:57 +00:00
Michael Butler
076f69aa2b Fixed flaky RenderScript VTS Test
Added missing synchronization before context destroy

Bug: 38385848
Test: make vts, does not fail with multiple tests
Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc
2017-05-22 17:36:43 -07:00
Mathias Agopian
d8931ac871 fix circular dependency libnativewindow <-> libui
Bug: 37647680, 37648355
Test: compile, manual
Change-Id: I2fdec8e86f6729aadd572a250b9d55d77f0d4eef
2017-05-09 16:40:51 -07:00
Michael Butler
3f986a00cd Added missing RenderScript HIDL API call to VTS test.
ScriptGroupSetInput was never called, so it was added to the
ScriptGroupTest. After this CL gets merged, all RenderScript HIDL API
calls will be tested.

Bug: 35915961

Test: mm on oc-dev, runs and passes on oc-dev
Change-Id: I9153895ac55be757eef59e81837a9518fa9e85ab
2017-04-13 17:47:58 -07:00
Michael Butler
06a7d395b8 Connecting to BufferQueue before setting surface.
Bug: 37172220

Test: mma, runs on sailfish
Change-Id: I2ed8e55ed9e6149245ca0d605441eff74eac45e2
2017-04-12 19:05:20 -07:00
Michael Butler
7c1ef5b741 Added protections for RenderScript VTS tests.
Changed many EXPECT_NE to ASSERT_NE for objects that are required later
in the test which would potentially cause a segfault. Additionally updated
a few descriptions.

Bug: 35915961

Test: mm and run on angler
Change-Id: I17c85b2c774688d82b59be2f0b383447e03349e0
(cherry picked from commit b2039ad764)
2017-04-05 16:07:33 -07:00
Michael Butler
b2039ad764 Added protections for RenderScript VTS tests.
Changed many EXPECT_NE to ASSERT_NE for objects that are required later
in the test which would potentially cause a segfault. Additionally updated
a few descriptions.

Bug: 35915961

Test: mm and run on angler
Change-Id: I17c85b2c774688d82b59be2f0b383447e03349e0
2017-03-30 17:20:12 -07:00
Michael Butler
da8c2c1e2a RenderScript VTS cleanup and fixes
This CL fixes the remaining VTS test cases for the RenderScript
vts-hidl-hal test and cleans up and improves the working test cases.
The goal is to have at least one passing test case per HIDL HAL entry.

Bug: 35915961

Test: mm and run on angler
Change-Id: I4b6e25831ce7d2abb3148c39eb48bde10ed04646
(cherry picked from commit 54fa8d4285)
2017-03-29 17:42:43 -07:00
Michael Butler
54fa8d4285 RenderScript VTS cleanup and fixes
This CL fixes the remaining VTS test cases for the RenderScript
vts-hidl-hal test and cleans up and improves the working test cases.
The goal is to have at least one passing test case per HIDL HAL entry.

Bug: 35915961

Test: mm and run on angler
Change-Id: I4b6e25831ce7d2abb3148c39eb48bde10ed04646
2017-03-27 14:42:19 -07:00
Michael Butler
2d4d6d97c1 RenderScript VTS implementation
Contains the gtest for the vts-hidl-hal test. The goal is to have
1 test case for each HIDL HAL entry by 3/15/17. There are still a few
tests with bugs, so they have been commented out and will be fixed by
3/17/17.

Bug: 34396220
Bug: 35915961

Test: mm and run on angler
Change-Id: I20462432a42e3aa307b98e728f30f20f5aa1e921
2017-03-16 14:24:14 -07:00