未验证 提交 7ef712fe 编写于 作者: O openharmony_ci 提交者: Gitee

!4061 add deqpgles2 testcase pr4

Merge pull request !4061 from wshikh/master
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20016TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015712, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015712 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.c"
"lipping.line.line_z_clip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015712 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015712 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015713, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015713 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping."
"line.line_z_clip_viewport_center",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015713 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015713 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015714, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015714 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping."
"line.line_z_clip_viewport_corner",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015714 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015714 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015715, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015715 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping"
".line.line_clip_viewport_center",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015715 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015715 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015716, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015716 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping"
".line.line_clip_viewport_corner",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015716 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015716 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015717, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015717 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clip"
"ping.line.wide_line_z_clip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015717 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015717 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015718, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015718 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping.lin"
"e.wide_line_z_clip_viewport_center",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015718 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015718 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015719, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015719 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping.lin"
"e.wide_line_z_clip_viewport_corner",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015719 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015719 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015720, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015720 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.cli"
"pping.line.wide_line_clip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015720 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015720 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015721, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015721 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping.li"
"ne.wide_line_clip_viewport_center",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015721 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015721 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015722, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015722 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipping.li"
"ne.wide_line_clip_viewport_corner",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015722 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015722 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015723, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015723 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.cli"
"pping.line.long_line_clip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015723 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015723 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015724, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015724 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clipp"
"ing.line.long_wide_line_clip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015724 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015724 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015725, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015725 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clip"
"ping.line.line_attrib_clip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015725 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015725 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015726, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015726 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.clippi"
"ng.line.wide_line_attrib_clip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015726 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015726 end";
}
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20002TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001247, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001247 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversions"
".vector_combine.float_bool_to_ivec2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001247 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001247 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001248, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001248 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversions."
"vector_combine.float_bool_to_ivec2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001248 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001248 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001249, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001249 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversions"
".vector_combine.float_bool_to_bvec2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001249 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001249 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001250, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001250 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversions."
"vector_combine.float_bool_to_bvec2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001250 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001250 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001251, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001251 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversion"
"s.vector_combine.int_bool_to_vec2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001251 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001251 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001252, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001252 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversions"
".vector_combine.int_bool_to_vec2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001252 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001252 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001253, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001253 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversion"
"s.vector_combine.int_bool_to_ivec2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001253 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001253 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001254, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001254 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversions"
".vector_combine.int_bool_to_ivec2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001254 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001254 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001255, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001255 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversion"
"s.vector_combine.int_bool_to_bvec2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001255 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001255 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001256, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001256 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.conversions"
".vector_combine.int_bool_to_bvec2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001256 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001256 end";
}
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002981, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002981 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_arr"
"ay.vec4_dynamic_loop_write_dynamic_read_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002981 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002981 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002982, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002982 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_arra"
"y.vec4_dynamic_loop_write_dynamic_read_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002982 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002982 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002983, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002983 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_array"
".vec4_dynamic_loop_write_static_loop_read_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002983 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002983 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002984, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002984 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_array."
"vec4_dynamic_loop_write_static_loop_read_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002984 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002984 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002985, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002985 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_array"
".vec4_dynamic_loop_write_dynamic_loop_read_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002985 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002985 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002986, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002986 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_array."
"vec4_dynamic_loop_write_dynamic_loop_read_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002986 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002986 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002987, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002987 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp"
"_array.vec4_const_write_static_read_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002987 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002987 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002988, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002988 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_"
"array.vec4_const_write_static_read_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002988 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002988 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002989, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002989 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp"
"_array.vec4_const_write_dynamic_read_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002989 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002989 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002990, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002990 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_"
"array.vec4_const_write_dynamic_read_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002990 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002990 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002991, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002991 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_a"
"rray.vec4_const_write_static_loop_read_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002991 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002991 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002992, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002992 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_ar"
"ray.vec4_const_write_static_loop_read_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002992 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002992 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002993, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002993 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_ar"
"ray.vec4_const_write_dynamic_loop_read_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002993 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002993 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002994, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002994 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.indexing.tmp_arr"
"ay.vec4_const_write_dynamic_loop_read_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002994 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002994 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册