From 69b97e506ab599d58ef9ebe0b553699f5e759a21 Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 6 Jul 2022 10:34:19 +0800 Subject: [PATCH] add depq3 testcase Signed-off-by: wangshi --- ...3builtin_functions_exponentialTestCase.cpp | 1534 +++++++++++++++++ 1 file changed, 1534 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/functional/Deqpgles3builtin_functions_exponentialTestCase.cpp diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3builtin_functions_exponentialTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3builtin_functions_exponentialTestCase.cpp new file mode 100644 index 000000000..560f676a9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3builtin_functions_exponentialTestCase.cpp @@ -0,0 +1,1534 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30020TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019718, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019718 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.pow_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019718 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019718 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019719, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019719 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.pow_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019719 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019719 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019720, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019720 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.pow_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019720 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019720 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019721, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019721 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.pow_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019721 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019721 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019722, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019722 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.pow_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019722 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019722 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019723, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019723 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.pow_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019723 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019723 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019724, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019724 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.pow_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019724 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019724 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019725, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019725 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.pow_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019725 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019725 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019726, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019726 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.exp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019726 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019726 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019727, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019727 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019727 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019727 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.exp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019728 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019729 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.exp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019730 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019731 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.exp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019732 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019733 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.log_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019734 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019735 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.log_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019736 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019737 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.log_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019738 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019739 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.log_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019740 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019741 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019742 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions" + ".builtin_functions.exponential.exp2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019743 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.exp2_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019744 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp2_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019745 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.exp2_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019746 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp2_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019747 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.exp2_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019748 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.exp2_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019749 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019750 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions" + ".builtin_functions.exponential.log2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019751 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019752, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019752 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.log2_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019752 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019752 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019753, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019753 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log2_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019753 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019753 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019754, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019754 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.log2_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019754 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019754 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019755, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019755 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log2_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019755 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019755 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019756, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019756 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.log2_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019756 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019756 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019757, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019757 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.log2_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019757 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019757 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019758, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019758 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.sqrt_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019758 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019758 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019759, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019759 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions" + ".builtin_functions.exponential.sqrt_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019759 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019759 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019760, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019760 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.sqrt_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019760 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019760 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019761, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019761 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.sqrt_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019761 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019761 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019762, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019762 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.sqrt_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019762 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019762 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019763, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019763 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.sqrt_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019763 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019763 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019764, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019764 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressio" + "ns.builtin_functions.exponential.sqrt_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019764 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019764 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019765, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019765 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expression" + "s.builtin_functions.exponential.sqrt_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019765 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019765 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019766, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019766 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.b" + "uiltin_functions.exponential.inversesqrt_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019766 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019766 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019767, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019767 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.bu" + "iltin_functions.exponential.inversesqrt_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019767 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019767 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019768, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019768 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.b" + "uiltin_functions.exponential.inversesqrt_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019768 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019768 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019769, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019769 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.bu" + "iltin_functions.exponential.inversesqrt_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019769 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019769 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019770, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019770 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.b" + "uiltin_functions.exponential.inversesqrt_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019770 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019770 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019771, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019771 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.bu" + "iltin_functions.exponential.inversesqrt_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019771 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019771 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019772, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019772 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.b" + "uiltin_functions.exponential.inversesqrt_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019772 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019772 end"; +} + +static HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019773, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_019773 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.constant_expressions.bu" + "iltin_functions.exponential.inversesqrt_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30020TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30020TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30020TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30020TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30020TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_019773 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_019773 end"; +} -- GitLab