diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3indexing_varying_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3indexing_varying_arrayTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..df3680b5b99562d0ce8636940255df6b9cf31ee2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3indexing_varying_arrayTestCase.cpp @@ -0,0 +1,1750 @@ +/* + * 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 "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30006TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005951, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005951 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.float_static_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005951 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005951 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005952, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005952 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.var" + "ying_array.float_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005952 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005952 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005953, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005953 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.float_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005953 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005953 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005954, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005954 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.float_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005954 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005954 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005955, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005955 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.var" + "ying_array.float_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005955 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005955 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005956, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005956 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.var" + "ying_array.float_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005956 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005956 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005957, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005957 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.float_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005957 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005957 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005958, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005958 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyin" + "g_array.float_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005958 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005958 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005959, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005959 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.float_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005959 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005959 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005960, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005960 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.float_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005960 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005960 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005961, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005961 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.float_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005961 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005961 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005962, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005962 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying_" + "array.float_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005962 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005962 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005963, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005963 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.float_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005963 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005963 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005964, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005964 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyin" + "g_array.float_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005964 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005964 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005965, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005965 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying_" + "array.float_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005965 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005965 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005966, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005966 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying_" + "array.float_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005966 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005966 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005967, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005967 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec2_static_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005967 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005967 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005968, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005968 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec2_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005968 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005968 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005969, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005969 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.vary" + "ing_array.vec2_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005969 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005969 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005970, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005970 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec2_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005970 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005970 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005971, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005971 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec2_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005971 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005971 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005972, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005972 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.var" + "ying_array.vec2_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005972 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005972 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005973, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005973 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec2_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005973 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005973 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005974, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005974 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec2_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005974 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005974 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005975, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005975 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.vary" + "ing_array.vec2_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005975 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005975 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005976, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005976 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec2_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005976 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005976 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005977, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005977 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec2_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005977 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005977 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005978, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005978 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec2_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005978 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005978 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005979, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005979 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec2_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005979 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005979 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005980, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005980 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec2_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005980 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005980 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005981, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005981 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec2_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005981 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005981 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005982, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005982 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying_" + "array.vec2_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005982 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005982 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005983, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005983 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec3_static_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005983 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005983 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005984, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005984 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec3_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005984 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005984 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005985, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005985 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.vary" + "ing_array.vec3_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005985 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005985 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005986, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005986 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec3_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005986 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005986 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005987, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005987 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec3_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005987 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005987 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005988, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005988 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.var" + "ying_array.vec3_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005988 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005988 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005989, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005989 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec3_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005989 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005989 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005990, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005990 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec3_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005990 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005990 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005991, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005991 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.vary" + "ing_array.vec3_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005991 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005991 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005992, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005992 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec3_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005992 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005992 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005993, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005993 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec3_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005993 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005993 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005994, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005994 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec3_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005994 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005994 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005995, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005995 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec3_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005995 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005995 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005996, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005996 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec3_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005996 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005996 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005997, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005997 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec3_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005997 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005997 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005998, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005998 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying_" + "array.vec3_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005998 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005998 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005999, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005999 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec4_static_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005999 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005999 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006000, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006000 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec4_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006000 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006000 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006001, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006001 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.vary" + "ing_array.vec4_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006001 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006001 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006002, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006002 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec4_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006002 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006002 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006003, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006003 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.va" + "rying_array.vec4_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006003 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006003 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006004, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006004 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.var" + "ying_array.vec4_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006004 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006004 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006005, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006005 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec4_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006005 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006005 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006006, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006006 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec4_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006006 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006006 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006007, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006007 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.vary" + "ing_array.vec4_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006007 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006007 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006008, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006008 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec4_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006008 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006008 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006009, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006009 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec4_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006009 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006009 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006010, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006010 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec4_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006010 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006010 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006011, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006011 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec4_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006011 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006011 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006012, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006012 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varyi" + "ng_array.vec4_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006012 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006012 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006013, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006013 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying" + "_array.vec4_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006013 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006013 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_006014, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_006014 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.indexing.varying_" + "array.vec4_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_006014 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_006014 end"; +}