From 089869ce8966d3954f11b58277fb728ef95a2638 Mon Sep 17 00:00:00 2001 From: wangshi Date: Mon, 4 Jul 2022 11:32:50 +0800 Subject: [PATCH] add depq2 testcase Signed-off-by: wangshi --- .../Deqpgles2indexing_tmp_arrayTestCase1.cpp | 1993 +++++++++++++++++ 1 file changed, 1993 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase1.cpp diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase1.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase1.cpp new file mode 100644 index 000000000..4cf4db8f6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase1.cpp @@ -0,0 +1,1993 @@ +/* + * 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_002908, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002908 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec2_const_write_static_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_002908 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002908 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002909, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002909 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp" + "_array.vec2_const_write_dynamic_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_002909 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002909 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002910, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002910 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec2_const_write_dynamic_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_002910 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002910 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002911, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002911 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec2_const_write_static_loop_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_002911 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002911 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002912, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002912 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec2_const_write_static_loop_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_002912 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002912 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002913, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002913 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec2_const_write_dynamic_loop_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_002913 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002913 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002914, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002914 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec2_const_write_dynamic_loop_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_002914 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002914 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002915, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002915 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp" + "_array.vec3_static_write_static_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_002915 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002915 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002916, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002916 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec3_static_write_static_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_002916 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002916 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002917, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002917 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec3_static_write_dynamic_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_002917 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002917 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002918, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002918 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec3_static_write_dynamic_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_002918 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002918 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002919, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002919 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_static_write_static_loop_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_002919 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002919 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002920, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002920 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_static_write_static_loop_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_002920 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002920 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002921, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002921 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_static_write_dynamic_loop_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_002921 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002921 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002922, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002922 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_static_write_dynamic_loop_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_002922 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002922 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002923, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002923 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec3_dynamic_write_static_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_002923 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002923 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002924, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002924 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec3_dynamic_write_static_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_002924 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002924 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002925, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002925 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec3_dynamic_write_dynamic_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_002925 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002925 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002926, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002926 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec3_dynamic_write_dynamic_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_002926 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002926 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002927, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002927 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_dynamic_write_static_loop_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_002927 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002927 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002928, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002928 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_dynamic_write_static_loop_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_002928 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002928 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002929, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002929 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_dynamic_write_dynamic_loop_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_002929 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002929 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002930, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002930 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arra" + "y.vec3_dynamic_write_dynamic_loop_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_002930 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002930 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002931, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002931 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_static_loop_write_static_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_002931 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002931 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002932, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002932 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_static_loop_write_static_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_002932 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002932 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002933, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002933 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_static_loop_write_dynamic_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_002933 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002933 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002934, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002934 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_static_loop_write_dynamic_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_002934 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002934 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002935, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002935 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arra" + "y.vec3_static_loop_write_static_loop_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_002935 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002935 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002936, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002936 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array" + ".vec3_static_loop_write_static_loop_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_002936 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002936 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002937, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002937 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array" + ".vec3_static_loop_write_dynamic_loop_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_002937 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002937 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002938, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002938 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array." + "vec3_static_loop_write_dynamic_loop_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_002938 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002938 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002939, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002939 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_dynamic_loop_write_static_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_002939 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002939 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002940, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002940 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_dynamic_loop_write_static_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_002940 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002940 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002941, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002941 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_dynamic_loop_write_dynamic_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_002941 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002941 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002942, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002942 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arra" + "y.vec3_dynamic_loop_write_dynamic_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_002942 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002942 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002943, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002943 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array" + ".vec3_dynamic_loop_write_static_loop_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_002943 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002943 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002944, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002944 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array." + "vec3_dynamic_loop_write_static_loop_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_002944 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002944 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002945, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002945 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array" + ".vec3_dynamic_loop_write_dynamic_loop_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_002945 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002945 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002946, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002946 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array." + "vec3_dynamic_loop_write_dynamic_loop_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_002946 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002946 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002947, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002947 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp" + "_array.vec3_const_write_static_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_002947 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002947 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002948, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002948 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec3_const_write_static_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_002948 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002948 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002949, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002949 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp" + "_array.vec3_const_write_dynamic_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_002949 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002949 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002950, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002950 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec3_const_write_dynamic_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_002950 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002950 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002951, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002951 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec3_const_write_static_loop_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_002951 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002951 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002952, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002952 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_const_write_static_loop_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_002952 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002952 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002953, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002953 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec3_const_write_dynamic_loop_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_002953 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002953 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002954, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002954 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec3_const_write_dynamic_loop_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_002954 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002954 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002955, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002955 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp" + "_array.vec4_static_write_static_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_002955 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002955 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002956, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002956 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec4_static_write_static_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_002956 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002956 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002957, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002957 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec4_static_write_dynamic_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_002957 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002957 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002958, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002958 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec4_static_write_dynamic_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_002958 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002958 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002959, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002959 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec4_static_write_static_loop_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_002959 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002959 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002960, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002960 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec4_static_write_static_loop_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_002960 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002960 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002961, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002961 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec4_static_write_dynamic_loop_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_002961 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002961 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002962, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002962 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec4_static_write_dynamic_loop_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_002962 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002962 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002963, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002963 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec4_dynamic_write_static_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_002963 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002963 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002964, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002964 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec4_dynamic_write_static_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_002964 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002964 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002965, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002965 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_" + "array.vec4_dynamic_write_dynamic_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_002965 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002965 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002966, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002966 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_a" + "rray.vec4_dynamic_write_dynamic_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_002966 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002966 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002967, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002967 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec4_dynamic_write_static_loop_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_002967 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002967 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002968, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002968 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec4_dynamic_write_static_loop_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_002968 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002968 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002969, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002969 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec4_dynamic_write_dynamic_loop_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_002969 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002969 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002970, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002970 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arra" + "y.vec4_dynamic_write_dynamic_loop_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_002970 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002970 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002971, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002971 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec4_static_loop_write_static_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_002971 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002971 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002972, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002972 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec4_static_loop_write_static_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_002972 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002972 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002973, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002973 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec4_static_loop_write_dynamic_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_002973 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002973 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002974, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002974 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec4_static_loop_write_dynamic_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_002974 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002974 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002975, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002975 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arra" + "y.vec4_static_loop_write_static_loop_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_002975 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002975 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002976, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002976 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array" + ".vec4_static_loop_write_static_loop_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_002976 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002976 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002977, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002977 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array" + ".vec4_static_loop_write_dynamic_loop_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_002977 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002977 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002978, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002978 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_array." + "vec4_static_loop_write_dynamic_loop_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_002978 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002978 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002979, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002979 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_ar" + "ray.vec4_dynamic_loop_write_static_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_002979 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002979 end"; +} + +static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002980, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002980 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.indexing.tmp_arr" + "ay.vec4_dynamic_loop_write_static_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_002980 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002980 end"; +} -- GitLab