未验证 提交 9ddfdb44 编写于 作者: O openharmony_ci 提交者: Gitee

!4006 add deqpgles2 testcase

Merge pull request !4006 from Nicklaus/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 "../ActsDeqpgles20003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002305, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002305 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.key"
"words.reserved_keywords.asm_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_002305 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002305 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002306, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002306 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyw"
"ords.reserved_keywords.asm_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_002306 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002306 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002307, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002307 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyw"
"ords.reserved_keywords.class_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_002307 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002307 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002308, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002308 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.class_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_002308 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002308 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002309, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002309 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.typedef_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_002309 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002309 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002310, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002310 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.typedef_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_002310 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002310 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002311, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002311 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.template_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_002311 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002311 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002312, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002312 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyword"
"s.reserved_keywords.template_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_002312 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002312 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002313, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002313 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyw"
"ords.reserved_keywords.this_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_002313 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002313 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002314, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002314 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.this_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_002314 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002314 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002315, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002315 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyw"
"ords.reserved_keywords.goto_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_002315 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002315 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002316, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002316 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.goto_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_002316 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002316 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002317, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002317 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.switch_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_002317 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002317 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002318, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002318 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.switch_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_002318 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002318 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002319, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002319 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.default_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_002319 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002319 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002320, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002320 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.default_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_002320 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002320 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002321, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002321 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.inline_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_002321 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002321 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002322, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002322 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.inline_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_002322 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002322 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002323, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002323 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.volatile_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_002323 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002323 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002324, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002324 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyword"
"s.reserved_keywords.volatile_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_002324 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002324 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002325, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002325 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.static_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_002325 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002325 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002326, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002326 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.static_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_002326 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002326 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002327, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002327 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.extern_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_002327 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002327 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002328, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002328 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.extern_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_002328 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002328 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002329, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002329 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.interface_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_002329 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002329 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002330, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002330 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyword"
"s.reserved_keywords.interface_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_002330 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002330 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002331, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002331 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyw"
"ords.reserved_keywords.flat_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_002331 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002331 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002332, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002332 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.flat_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_002332 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002332 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002333, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002333 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyw"
"ords.reserved_keywords.short_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_002333 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002333 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002334, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002334 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.short_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_002334 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002334 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002335, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002335 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.unsigned_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_002335 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002335 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002336, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002336 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyword"
"s.reserved_keywords.unsigned_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_002336 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002336 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002337, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002337 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.reserved_keywords.superp_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_002337 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002337 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002338, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002338 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.superp_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_002338 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002338 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002339, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002339 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.reserved_keywords.namespace_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_002339 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002339 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002340, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002340 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyword"
"s.reserved_keywords.namespace_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_002340 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002340 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册