From 6f021124f4235d587dd3edc0e4195c36b4320474 Mon Sep 17 00:00:00 2001 From: bayanxing Date: Thu, 30 Jun 2022 10:03:54 +0800 Subject: [PATCH] add depq2 testcase Signed-off-by: bayanxing --- ...les2indexing_vector_subscriptTestCase2.cpp | 1912 +++++++++++++++++ 1 file changed, 1912 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase2.cpp diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase2.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase2.cpp new file mode 100644 index 000000000..713e3b9c0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase2.cpp @@ -0,0 +1,1912 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003141, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003141 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_s" + "ubscript.vec4_direct_write_component_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003141 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003141 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003142, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003142 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_su" + "bscript.vec4_direct_write_component_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003142 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003142 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003143, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003143 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subsc" + "ript.vec4_direct_write_static_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003143 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003143 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003144, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003144 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscr" + "ipt.vec4_direct_write_static_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003144 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003144 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003145, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003145 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subsc" + "ript.vec4_direct_write_dynamic_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003145 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003145 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003146, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003146 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscr" + "ipt.vec4_direct_write_dynamic_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003146 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003146 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003147, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003147 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscri" + "pt.vec4_direct_write_static_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003147 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003147 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003148, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003148 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip" + "t.vec4_direct_write_static_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003148 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003148 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003149, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003149 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip" + "t.vec4_direct_write_dynamic_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003149 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003149 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003150, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003150 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript" + ".vec4_direct_write_dynamic_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003150 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003150 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003151, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003151 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_s" + "ubscript.vec4_component_write_direct_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003151 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003151 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003152, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003152 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_su" + "bscript.vec4_component_write_direct_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003152 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003152 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003153, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003153 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_sub" + "script.vec4_component_write_component_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003153 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003153 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003154, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003154 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subs" + "cript.vec4_component_write_component_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003154 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003154 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003155, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003155 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscr" + "ipt.vec4_component_write_static_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003155 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003155 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003156, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003156 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscri" + "pt.vec4_component_write_static_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003156 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003156 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003157, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003157 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscri" + "pt.vec4_component_write_dynamic_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003157 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003157 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003158, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003158 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip" + "t.vec4_component_write_dynamic_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003158 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003158 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003159, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003159 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript" + ".vec4_component_write_static_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003159 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003159 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003160, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003160 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript." + "vec4_component_write_static_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003160 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003160 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003161, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003161 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript" + ".vec4_component_write_dynamic_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003161 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003161 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003162, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003162 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript." + "vec4_component_write_dynamic_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003162 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003162 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003163, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003163 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subsc" + "ript.vec4_static_subscript_write_direct_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003163 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003163 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003164, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003164 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscr" + "ipt.vec4_static_subscript_write_direct_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003164 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003164 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003165, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003165 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscr" + "ipt.vec4_static_subscript_write_component_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003165 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003165 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003166, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003166 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscri" + "pt.vec4_static_subscript_write_component_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003166 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003166 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003167, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003167 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript." + "vec4_static_subscript_write_static_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003167 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003167 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003168, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003168 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v" + "ec4_static_subscript_write_static_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003168 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003168 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003169, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003169 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript." + "vec4_static_subscript_write_dynamic_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003169 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003169 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003170, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003170 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v" + "ec4_static_subscript_write_dynamic_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003170 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003170 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003171, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003171 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve" + "c4_static_subscript_write_static_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003171 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003171 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003172, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003172 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_static_subscript_write_static_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003172 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003172 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003173, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003173 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_static_subscript_write_dynamic_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003173 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003173 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003174, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003174 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4" + "_static_subscript_write_dynamic_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003174 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003174 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003175, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003175 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subsc" + "ript.vec4_dynamic_subscript_write_direct_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003175 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003175 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003176, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003176 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscr" + "ipt.vec4_dynamic_subscript_write_direct_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003176 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003176 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003177, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003177 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscri" + "pt.vec4_dynamic_subscript_write_component_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003177 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003177 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003178, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003178 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip" + "t.vec4_dynamic_subscript_write_component_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003178 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003178 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003179, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003179 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript." + "vec4_dynamic_subscript_write_static_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003179 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003179 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003180, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003180 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v" + "ec4_dynamic_subscript_write_static_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003180 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003180 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003181, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003181 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v" + "ec4_dynamic_subscript_write_dynamic_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003181 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003181 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003182, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003182 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve" + "c4_dynamic_subscript_write_dynamic_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003182 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003182 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003183, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003183 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_dynamic_subscript_write_static_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003183 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003183 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003184, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003184 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4" + "_dynamic_subscript_write_static_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003184 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003184 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003185, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003185 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_dynamic_subscript_write_dynamic_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003185 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003185 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003186, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003186 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4" + "_dynamic_subscript_write_dynamic_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003186 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003186 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003187, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003187 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscri" + "pt.vec4_static_loop_subscript_write_direct_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003187 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003187 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003188, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003188 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip" + "t.vec4_static_loop_subscript_write_direct_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003188 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003188 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003189, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003189 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript" + ".vec4_static_loop_subscript_write_component_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003189 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003189 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003190, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003190 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript." + "vec4_static_loop_subscript_write_component_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003190 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003190 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003191, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003191 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve" + "c4_static_loop_subscript_write_static_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003191 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003191 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003192, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003192 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_static_loop_subscript_write_static_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003192 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003192 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003193, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003193 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_static_loop_subscript_write_dynamic_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003193 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003193 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003194, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003194 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4" + "_static_loop_subscript_write_dynamic_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003194 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003194 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003195, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003195 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_" + "static_loop_subscript_write_static_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003195 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003195 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003196, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003196 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_s" + "tatic_loop_subscript_write_static_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003196 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003196 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003197, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003197 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_" + "static_loop_subscript_write_dynamic_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003197 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003197 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003198, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003198 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_s" + "tatic_loop_subscript_write_dynamic_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003198 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003198 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003199, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003199 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip" + "t.vec4_dynamic_loop_subscript_write_direct_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003199 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003199 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003200, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003200 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript" + ".vec4_dynamic_loop_subscript_write_direct_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003200 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003200 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003201, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003201 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript" + ".vec4_dynamic_loop_subscript_write_component_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003201 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003201 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003202, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003202 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript." + "vec4_dynamic_loop_subscript_write_component_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003202 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003202 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003203, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003203 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_dynamic_loop_subscript_write_static_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003203 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003203 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003204, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003204 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4" + "_dynamic_loop_subscript_write_static_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003204 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003204 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003205, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003205 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec" + "4_dynamic_loop_subscript_write_dynamic_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003205 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003205 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003206, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003206 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4" + "_dynamic_loop_subscript_write_dynamic_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003206 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003206 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003207, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003207 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_" + "dynamic_loop_subscript_write_static_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003207 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003207 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003208, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003208 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_d" + "ynamic_loop_subscript_write_static_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003208 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003208 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003209, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003209 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_d" + "ynamic_loop_subscript_write_dynamic_loop_subscript_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003209 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003209 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003210, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003210 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_dy" + "namic_loop_subscript_write_dynamic_loop_subscript_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003210 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003210 end"; +} -- GitLab