From 06a5d1013e1357904477c968aa100d72747e9c19 Mon Sep 17 00:00:00 2001 From: zhouwei Date: Tue, 28 Jun 2022 15:23:52 +0800 Subject: [PATCH] test Signed-off-by: zhouwei --- ...Khrgles3indexing_varying_arrayTestCase.cpp | 1642 +++++++++++++++++ ...preprocessor_predefined_macrosTestCase.cpp | 454 +++++ 2 files changed, 2096 insertions(+) create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp new file mode 100644 index 000000000..cb338110b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp @@ -0,0 +1,1642 @@ +/* + * 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 "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000029, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000029 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.float_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000029 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000029 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000030, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000030 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000030 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000030 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000031, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000031 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000031 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000031 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.float_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000032 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.float_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000033 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000034 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arra" + "y.float_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000035 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000036 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000037 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".float_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000038 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "float_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000039 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000040 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arra" + "y.float_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000041 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "float_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000042 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "float_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000043 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec2_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000044 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec2_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000045 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000046 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec2_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000047 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000048, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000048 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.vec2_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000048 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000048 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000049, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000049 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000049 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000049 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000050, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000050 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000050 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000050 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000051, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000051 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec2_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000051 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000051 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000052, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000052 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000052 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000052 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000053, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000053 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec2_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000053 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000053 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000054, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000054 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec2_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000054 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000054 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000055, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000055 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000055 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000055 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000056, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000056 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000056 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000056 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000057, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000057 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec2_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000057 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000057 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000058, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000058 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "vec2_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000058 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000058 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000059, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000059 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec3_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000059 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000059 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000060, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000060 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec3_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000060 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000060 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000061, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000061 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000061 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000061 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000062, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000062 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec3_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000062 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000062 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000063, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000063 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.vec3_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000063 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000063 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000064, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000064 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000064 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000064 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000065, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000065 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000065 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000065 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000066, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000066 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec3_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000066 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000066 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000067, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000067 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000067 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000067 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000068, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000068 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec3_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000068 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000068 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000069, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000069 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec3_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000069 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000069 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000070, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000070 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000070 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000070 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000071, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000071 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000071 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000071 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000072, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000072 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec3_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000072 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000072 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000073, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000073 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "vec3_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000073 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000073 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000074, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000074 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec4_static_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000074 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000074 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000075, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000075 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec4_static_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000075 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000075 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000076, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000076 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_static_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000076 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000076 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000077, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000077 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec4_dynamic_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000077 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000077 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000078, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000078 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.vec4_dynamic_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000078 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000078 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000079, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000079 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000079 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000079 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000080, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000080 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000080 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000080 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000081, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000081 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec4_static_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000081 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000081 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000082, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000082 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_static_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000082 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000082 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000083, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000083 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec4_static_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000083 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000083 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000084, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000084 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec4_static_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000084 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000084 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000085, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000085 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_loop_write_static_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000085 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000085 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000086, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000086 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_loop_write_dynamic_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000086 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000086 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000087, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000087 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec4_dynamic_loop_write_static_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000087 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000087 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000088, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000088 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "vec4_dynamic_loop_write_dynamic_loop_read", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000088 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000088 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp new file mode 100644 index 000000000..2afc45020 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp @@ -0,0 +1,454 @@ +/* + * 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 "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.version_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001032 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.version_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001033 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.gl_es_1_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001034 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.gl_es_1_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001035 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.gl_es_2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001036 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.gl_es_2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001037 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.line_1_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001038 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.line_1_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001039 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor" + ".predefined_macros.file_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001040 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.file_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001041 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.if_gl_es_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001042 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.pr" + "edefined_macros.if_gl_es_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001043 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.pr" + "edefined_macros.if_version_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001044 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.pre" + "defined_macros.if_version_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001045 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.predefi" + "ned_macros.invalid_token_pasting_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001046 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.predefin" + "ed_macros.invalid_token_pasting_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001047 end"; +} -- GitLab