提交 0539b1bd 编写于 作者: F fengying

add test

Signed-off-by: Nfengying <fengying@kaihongdigi.com>
上级 d579641f
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000140, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000140 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_sha"
"der.api.createShaderProgramv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000140 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000140 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000141, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000141 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometr"
"y_shader.api.shader_type",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000141 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000141 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000142, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000142 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry"
"_shader.api.getProgramiv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000142 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000142 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000143, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000143 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry"
"_shader.api.getProgramiv2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000143 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000143 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000144, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000144 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry"
"_shader.api.getProgramiv3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000144 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000144 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000145, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000145 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_"
"shader.api.fs_gs_draw_call",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000145 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000145 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000146, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000146 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_sh"
"ader.api.max_image_uniforms",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000146 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000146 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000147, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000147 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shade"
"r.api.max_shader_storage_blocks",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000147 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000147 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000148, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000148 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_sh"
"ader.api.max_atomic_counters",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000148 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000148 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000149, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000149 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader"
".api.max_atomic_counter_buffers",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000149 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000149 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000150, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000150 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.api"
".pipeline_program_without_active_vs",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000150 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000150 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000151, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000151 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader"
".api.incompatible_draw_call_mode",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000151 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000151 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000152, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000152 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader."
"api.insufficient_emitted_vertices",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000152 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000152 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000153, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000153 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.a"
"pi.program_pipeline_vs_gs_capture",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000153 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000153 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000154, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000154 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.api.draw_"
"primitives_do_not_match_output_primitives",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000154 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000154 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000155, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000155 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader."
"api.draw_calls_while_tf_is_paused",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000155 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000155 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000127, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000127 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.l"
"inking.incomplete_program_objects",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000127 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000127 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000128, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000128 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_s"
"hader.linking.incomplete_gs",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000128 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000128 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000129, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000129 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.lin"
"king.invalid_arrayed_input_variables",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000129 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000129 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000130, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000130 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.li"
"nking.vs_gs_variable_type_mismatch",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000130 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000130 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000131, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000131 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.link"
"ing.vs_gs_variable_qualifier_mismatch",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000131 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000131 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000132, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000132 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.linkin"
"g.vs_gs_arrayed_variable_size_mismatch",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000132 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000132 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000133, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000133 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader"
".linking.fragcoord_redeclaration",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000133 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000133 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000134, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000134 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_sha"
"der.linking.location_aliasing",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000134 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000134 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000135, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000135 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.li"
"nking.more_ACs_in_GS_than_supported",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000135 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000135 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000136, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000136 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.lin"
"king.more_ACBs_in_GS_than_supported",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000136 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000136 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000137, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000137 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.link"
"ing.geometry_shader_compilation_fail",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000137 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000137 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000138, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000138 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.linking."
"more_input_vertices_in_GS_than_available",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000138 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000138 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000139, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000139 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.linki"
"ng.tf_capture_from_gs_and_vs_variables",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000139 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000139 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册