未验证 提交 9804e888 编写于 作者: O openharmony_ci 提交者: Gitee

!4284 增加优化后的deqpgles2,khrgles2,3,31,32,ext

Merge pull request !4284 from zhaoxudong/master

要显示的变更太多。

To preserve performance only 1000 of 1000+ files are displayed.
......@@ -12,207 +12,118 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "ActsApp.h"
#include <iostream>
#include "tcuPlatform.hpp"
#include "tcuTestContext.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "tcuTestHierarchyUtil.hpp"
#include "tcuCommandLine.hpp"
#include "tcuTestLog.hpp"
#include "qpInfo.h"
#include "qpDebugOut.h"
#include "deMath.h"
#include "ActsApp.h"
namespace tcu {
using std::string;
/*--------------------------------------------------------------------****!
* Writes all packages found stdout without any
* separations. Recommended to be used with a single package
* only. It's possible to use test selectors for limiting the export
* to one package in a multipackage binary.
*--------------------------------------------------------------------*/
static void writeCaselistsToStdout (TestPackageRoot& root, TestContext& testCtx)
{
DefaultHierarchyInflater inflater(testCtx);
de::MovePtr<const CaseListFilter> caseListFilter(
testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive()));
TestHierarchyIterator iter(root, inflater, *caseListFilter);
using std::string;
while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) {
iter.next();
tcu::TestNode* testNode = iter.getNode();
while (testNode->getNodeType() != NODETYPE_PACKAGE) {
if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE)
std::cout << (isTestNodeTypeExecutable(testNode->getNodeType()) ? "TEST" : "GROUP")
<< ": " << iter.getNodePath() << "\n";
iter.next();
}
DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE &&
testNode->getNodeType() == NODETYPE_PACKAGE);
iter.next();
};
/*
* \brief Construct test application
*
* If a fatal error occurs during initialization constructor will call
* die() with debug information.
*
* \param platform Reference to platform implementation.
*/
ActsApp::ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine)
: m_platform(platform),
m_watchDog(DE_NULL),
m_crashHandler(DE_NULL),
m_crashed(false),
m_testCtx(DE_NULL),
m_testRoot(DE_NULL),
m_sessionExecutor(DE_NULL)
{
print("dEQP Core %s (0x%08x) starting..\n", qpGetReleaseName(), qpGetReleaseId());
print(" target implementation = '%s'\n", qpGetTargetName());
if (!deSetRoundingMode(DE_ROUNDINGMODE_TO_NEAREST_EVEN)) {
qpPrintf("WARNING: Failed to set floating-point rounding mode!\n");
}
/*--------------------------------------------------------------------****!
* Verifies that amber capability requirements in the .amber files
* match with capabilities defined on the CTS C code.
****--------------------------------------------------------------------*/
static void verifyAmberCapabilityCoherency (TestPackageRoot& root, TestContext& testCtx)
{
DefaultHierarchyInflater inflater(testCtx);
de::MovePtr<const CaseListFilter> caseListFilter(
testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive()));
TestHierarchyIterator iter(root, inflater, *caseListFilter);
int count = 0;
int errorCount = 0;
bool ok = true;
while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) {
iter.next();
tcu::TestNode* testNode = iter.getNode();
while (testNode->getNodeType() != NODETYPE_PACKAGE) {
if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE &&
isTestNodeTypeExecutable(testNode->getNodeType())) {
std::cout << iter.getNodePath() << "\n";
testCtx.getLog() << tcu::TestLog::Message << iter.getNodePath() << tcu::TestLog::EndMessage;
count++;
};
iter.next();
};
DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE &&
testNode->getNodeType() == NODETYPE_PACKAGE);
iter.next();
};
std::cout << count << " amber tests, " << errorCount << " errors.\n";
if (!ok) {
TCU_THROW(InternalError, "One or more CTS&Amber test requirements do not match; check log for details");
};
try {
const RunMode runMode = cmdLine.getRunMode();
// Create test context
m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog);
// Create root from registry
m_testRoot = new TestPackageRoot(*m_testCtx, TestPackageRegistry::getSingleton());
// \note No executor is created if runmode is not EXECUTE
if (runMode == RUNMODE_EXECUTE) {
m_sessionExecutor = new TestSessionExecutor(*m_testRoot, *m_testCtx);
} else {
DE_ASSERT(false);
}
} catch (const std::exception& e) {
cleanup();
die("Failed to initialize dEQP: %s", e.what());
}
}
/*--------------------------------------------------------------------****!
* \brief Construct test application
*
* If a fatal error occurs during initialization constructor will call
* die() with debug information.
*
* \param platform Reference to platform implementation.
*--------------------------------------------------------------------*/
ActsApp::ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine)
: m_platform(platform),
m_watchDog(DE_NULL),
m_crashHandler(DE_NULL),
m_crashed(false),
m_testCtx(DE_NULL),
m_testRoot(DE_NULL),
m_testExecutor(DE_NULL)
{
print("dEQP Core %s (0x%08x) starting..\n", qpGetReleaseName(), qpGetReleaseId());
print(" target implementation = '%s'\n", qpGetTargetName());
ActsApp::~ActsApp (void)
{
cleanup();
}
if (!deSetRoundingMode(DE_ROUNDINGMODE_TO_NEAREST_EVEN)) {
qpPrintf("WARNING: Failed to set floating-point rounding mode!\n");
};
void ActsApp::cleanup (void)
{
delete m_sessionExecutor;
delete m_testRoot;
delete m_testCtx;
try {
const RunMode runMode = cmdLine.getRunMode();
m_sessionExecutor = DE_NULL;
m_testRoot = DE_NULL;
m_testCtx = DE_NULL;
// Initialize watchdog
if (cmdLine.isWatchDogEnabled()) {
TCU_CHECK_INTERNAL(m_watchDog = qpWatchDog_create(onWatchdogTimeout, this,
WATCHDOG_TOTAL_TIME_LIMIT_SECS, WATCHDOG_INTERVAL_TIME_LIMIT_SECS));
};
// Initialize crash handler.
if (cmdLine.isCrashHandlingEnabled()) {
TCU_CHECK_INTERNAL(m_crashHandler = qpCrashHandler_create(onCrash, this));
};
// Create test context
m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog);
// Create root from registry
m_testRoot = new TestPackageRoot(*m_testCtx, TestPackageRegistry::getSingleton());
// \note No executor is created if runmode is not EXECUTE
if (runMode == RUNMODE_EXECUTE) {
m_testExecutor = new TestSessionExecutor(*m_testRoot, *m_testCtx);
} else if (runMode == RUNMODE_DUMP_STDOUT_CASELIST) {
writeCaselistsToStdout(*m_testRoot, *m_testCtx);
} else if (runMode == RUNMODE_DUMP_XML_CASELIST) {
writeXmlCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine);
} else if (runMode == RUNMODE_DUMP_TEXT_CASELIST) {
writeTxtCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine);
} else if (runMode == RUNMODE_VERIFY_AMBER_COHERENCY) {
verifyAmberCapabilityCoherency(*m_testRoot, *m_testCtx);
} else {
DE_ASSERT(false);
};
} catch (const std::exception& e) {
cleanup();
die("Failed to initialize dEQP: %s", e.what());
};
if (m_crashHandler) {
qpCrashHandler_destroy(m_crashHandler);
}
ActsApp::~ActsApp (void)
{
cleanup();
if (m_watchDog) {
qpWatchDog_destroy(m_watchDog);
}
}
void ActsApp::cleanup (void)
{
delete m_testExecutor;
delete m_testRoot;
delete m_testCtx;
m_testExecutor = DE_NULL
m_testRoot = DE_NULL
m_testCtx = DE_NULL
if (m_crashHandler) {
qpCrashHandler_destroy(m_crashHandler);
};
if (m_watchDog) {
qpWatchDog_destroy(m_watchDog);
};
/*
* \brief Step forward test execution
* \return true if application should call iterate() again and false
* if test execution session is complete.
*/
bool ActsApp::iterate (void)
{
if (!m_sessionExecutor) {
DE_ASSERT(m_testCtx->getCommandLine().getRunMode() != RUNMODE_EXECUTE);
return false;
}
/*--------------------------------------------------------------------****!
* \brief Step forward test execution
* \return true if application should call iterate() again and false
* if test execution session is complete.
****--------------------------------------------------------------------*/
bool ActsApp::iterate (void)
{
if (!m_testExecutor) {
DE_ASSERT(m_testCtx->getCommandLine().getRunMode() != RUNMODE_EXECUTE);
return false;
};
// Poll platform events
const bool platformOk = m_platform.processEvents();
// Iterate a step.
bool testExecOk = false;
if (platformOk) {
try {
testExecOk = m_testExecutor->iterate();
} catch (const std::exception& e) {
die("%s", e.what());
};
};
// Poll platform events
const bool platformOk = m_platform.processEvents();
return platformOk && testExecOk;
// Iterate a step.
bool testExecOk = false;
if (platformOk) {
try {
testExecOk = m_sessionExecutor->iterate();
} catch (const std::exception& e) {
die("%s", e.what());
}
}
const TestRunStatus& ActsApp::getResult (void) const
{
return m_testExecutor->getStatus();
}
} // tcu
\ No newline at end of file
return platformOk && testExecOk;
}
const TestRunStatus& ActsApp::getResult (void) const
{
return m_sessionExecutor->getStatus();
}
} // tcu
......@@ -4,7 +4,7 @@
* 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
* 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,
......@@ -13,49 +13,42 @@
* limitations under the License.
*/
#ifndef _ActsApp_HPP
#define _ActsApp_HPP
#ifndef _ACTSAPP_HPP
#define _ACTSAPP_HPP
#include "tcuDefs.hpp"
#include "qpWatchDog.h"
#include "qpCrashHandler.h"
#include "deMutex.hpp"
#include "tcuResource.hpp"
#include "tcuPlatform.hpp"
#include "tcuTestContext.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "tcuCommandLine.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestPackageRoot.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "tcuTestPackage.hpp"
namespace tcu {
enum class EWATCHDOG {
WATCHDOG_TOTAL_TIME_LIMIT_SECS = 300,
WATCHDOG_INTERVAL_TIME_LIMIT_SECS = 30
};
class ActsApp {
public:
ActsApp(Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine);
virtual ~ActsApp(void);
bool iterate(void);
const TestRunStatus& getResult (void) const;
protected:
void cleanup (void);
Platform& m_platform;
qpWatchDog* m_watchDog;
qpCrashHandler* m_crashHandler;
de::Mutex m_crashLock;
bool m_crashed;
TestContext* m_testCtx;
TestPackageRoot* m_testRoot;
TestSessionExecutor* m_testExecutor;
};
enum class EWATCHDOG {
WATCHDOG_TOTAL_TIME_LIMIT_SECS = 300,
WATCHDOG_INTERVAL_TIME_LIMIT_SECS = 30
};
class ActsApp {
public:
ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine);
virtual ~ActsApp (void);
bool iterate (void);
const TestRunStatus& getResult (void) const;
protected:
void cleanup (void);
Platform& m_platform;
qpWatchDog* m_watchDog;
qpCrashHandler* m_crashHandler;
de::Mutex m_crashLock;
bool m_crashed;
TestContext* m_testCtx;
TestPackageRoot* m_testRoot;
TestSessionExecutor* m_sessionExecutor;
};
} // tcu
#endif // _ActsApp_HPP
\ No newline at end of file
#endif // _ACTSAPP_HPP
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20001TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20001TestSuite::startTime;
time_t ActsDeqpgles20001TestSuite::endTime;
FuncRunResult ActsDeqpgles20001TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20001TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20001TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20001TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20001TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20001TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20002TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20002TestSuite::startTime;
time_t ActsDeqpgles20002TestSuite::endTime;
FuncRunResult ActsDeqpgles20002TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20002TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20002TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20002TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20002TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20002TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20003TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20003TestSuite::startTime;
time_t ActsDeqpgles20003TestSuite::endTime;
FuncRunResult ActsDeqpgles20003TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20003TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20003TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20003TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20003TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20003TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20004TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20004TestSuite::startTime;
time_t ActsDeqpgles20004TestSuite::endTime;
FuncRunResult ActsDeqpgles20004TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20004TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20004TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20004TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20004TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20004TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20005TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20005TestSuite::startTime;
time_t ActsDeqpgles20005TestSuite::endTime;
FuncRunResult ActsDeqpgles20005TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20005TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20005TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20005TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20005TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20005TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20006TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20006TestSuite::startTime;
time_t ActsDeqpgles20006TestSuite::endTime;
FuncRunResult ActsDeqpgles20006TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20006TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20006TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20006TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20006TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20006TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20007TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20007TestSuite::startTime;
time_t ActsDeqpgles20007TestSuite::endTime;
FuncRunResult ActsDeqpgles20007TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20007TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20007TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20007TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20007TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20007TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20008TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20008TestSuite::startTime;
time_t ActsDeqpgles20008TestSuite::endTime;
FuncRunResult ActsDeqpgles20008TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20008TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20008TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20008TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20008TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20008TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20009TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20009TestSuite::startTime;
time_t ActsDeqpgles20009TestSuite::endTime;
FuncRunResult ActsDeqpgles20009TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20009TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20009TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20009TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20009TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20009TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20010TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20010TestSuite::startTime;
time_t ActsDeqpgles20010TestSuite::endTime;
FuncRunResult ActsDeqpgles20010TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20010TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20010TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20010TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20010TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20010TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20011TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20011TestSuite::startTime;
time_t ActsDeqpgles20011TestSuite::endTime;
FuncRunResult ActsDeqpgles20011TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20011TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20011TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20011TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20011TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20011TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20012TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20012TestSuite::startTime;
time_t ActsDeqpgles20012TestSuite::endTime;
FuncRunResult ActsDeqpgles20012TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20012TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20012TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20012TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20012TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20012TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20013TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20013TestSuite::startTime;
time_t ActsDeqpgles20013TestSuite::endTime;
FuncRunResult ActsDeqpgles20013TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20013TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20013TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20013TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20013TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20013TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20014TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20014TestSuite::startTime;
time_t ActsDeqpgles20014TestSuite::endTime;
FuncRunResult ActsDeqpgles20014TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20014TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20014TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20014TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20014TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20014TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20015TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20015TestSuite::startTime;
time_t ActsDeqpgles20015TestSuite::endTime;
FuncRunResult ActsDeqpgles20015TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20015TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20015TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20015TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20015TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20015TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20016TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20016TestSuite::startTime;
time_t ActsDeqpgles20016TestSuite::endTime;
FuncRunResult ActsDeqpgles20016TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20016TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20016TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20016TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20016TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20016TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles20017TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles20017TestSuite::startTime;
time_t ActsDeqpgles20017TestSuite::endTime;
FuncRunResult ActsDeqpgles20017TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20017TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles20017TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles20017TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20017TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles20017TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Deqpgles2BaseFunc.h"
#include "ActsDeqpgles2TestSuite.h"
namespace OHOS {
using namespace std;
using namespace testing::ext;
time_t ActsDeqpgles2TestSuite::startTime;
time_t ActsDeqpgles2TestSuite::endTime;
FuncRunResult ActsDeqpgles2TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles2TestSuite::SetUpTestCase(void)
{
time(&startTime);
RegistPackage();
runResult.numPassed = 0;
runResult.numFailed = 0;
runResult.numNotSupported = 0;
runResult.numWarnings = 0;
runResult.numWaived = 0;
}
// Test suite cleanup action, which is executed after the last test case
void ActsDeqpgles2TestSuite::TearDownTestCase(void)
{
time(&endTime);
printf("Test run totals --- Passed[%d]\n", runResult.numPassed);
printf("Test run totals --- Failed[%d]\n", runResult.numFailed);
printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported);
printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings);
printf("Test run totals --- Waved[%d]\n", runResult.numWaived);
printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime));
}
// Preset action of the test case
void ActsDeqpgles2TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles2TestSuite::TearDown(void)
{
}
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_TESTCASE_H
#define DEQPGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h"
namespace OHOS {
class ActsDeqpgles2TestSuite : public testing::Test {
public:
static time_t startTime;
static time_t endTime;
static FuncRunResult runResult;
protected:
// Preset action of the test suite, which is executed before the first test case
static void SetUpTestCase(void);
// Test suite cleanup action, which is executed after the last test case
static void TearDownTestCase(void);
// Preset action of the test case
virtual void SetUp(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
/*
* 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 <cstdio>
#include "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
#include "tcuOhosPlatform.hpp"
#include "external/openglcts/modules/common/glcConfigPackage.hpp"
#include "external/openglcts/modules/common/glcTestPackage.hpp"
#include "external/openglcts/modules/gles2/es2cTestPackage.hpp"
#include "external/openglcts/modules/gles32/es32cTestPackage.hpp"
#include "external/openglcts/modules/gles31/es31cTestPackage.hpp"
#include "external/openglcts/modules/gles3/es3cTestPackage.hpp"
#include "external/openglcts/modules/glesext/esextcTestPackage.hpp"
#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp"
#include "modules/gles2/tes2TestPackage.hpp"
#include "modules/gles3/tes3TestPackage.hpp"
#include "modules/gles31/tes31TestPackage.hpp"
#include "ohos_context_i.h"
#include "logdefine.h"
#include "Deqpgles2BaseFunc.h"
static tcu::TestPackage* createDeqpgles2Package(tcu::TestContext& testCtx)
{
return new deqp::gles2::TestPackage(testCtx);
}
void RegistPackage(void)
{
tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton();
registry->registerPackage("dEQP-GLES2", createDeqpgles2Package);
}
// extern tcu::TestLog tcutestlog;
FuncRunResult RunTestKHRGLES(int argc, const char** argv)
{
FuncRunResult runResult;
try {
tcu::CommandLine cmdLine(argc, argv);
tcu::DirArchive archive(cmdLine.getArchiveDir());
de::UniquePtr<tcu::Platform> platform(createOhosPlatform());
de::UniquePtr<tcu::ActsApp> app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine));
for (;;) {
if (!app->iterate()) {
break;
};
};
runResult.isComplete = app->getResult().isComplete;
runResult.numPassed = app->getResult().numPassed;
runResult.numExecuted = app->getResult().numExecuted;
runResult.numFailed = app->getResult().numFailed;
runResult.numNotSupported = app->getResult().numNotSupported;
runResult.numWarnings = app->getResult().numWarnings;
runResult.numWaived = app->getResult().numWaived;
} catch (const std::exception &e) {
tcu::die("%s", e.what());
};
return runResult;
}
\ No newline at end of file
/*
* 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.
*/
#ifndef DEQPGLES2_FUNC_H
#define DEQPGLES2_FUNC_H
struct FuncRunResult {
int numExecuted; // !< Total number of cases executed.
int numPassed; // !< Number of cases passed.
int numFailed; // !< Number of cases failed.
int numNotSupported; // !< Number of cases not supported.
int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results.
int numWaived; // !< Number of waived tests.
bool isComplete; // !< Is run complete.
};
void RegistPackage(void);
FuncRunResult RunTestKHRGLES(int argc, const char** argv);
#endif // DEQPGLES2_FUNC_H
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0001") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0001") {
sources = [
"../ActsDeqpgles20001TestSuite.cpp",
"../functional/Deqpgles2conversions_scalar_to_scalarTestCase.cpp",
"../functional/Deqpgles2conversions_scalar_to_vectorTestCase.cpp",
"../functional/Deqpgles2conversions_vector_illegalTestCase.cpp",
"../functional/Deqpgles2conversions_vector_to_scalarTestCase.cpp",
"../functional/Deqpgles2conversions_vector_to_vectorTestCase.cpp",
"../functional/Deqpgles2functional_clip_controlTestCase.cpp",
"../functional/Deqpgles2functional_color_clearTestCase.cpp",
"../functional/Deqpgles2functional_depth_stencil_clearTestCase.cpp",
"../functional/Deqpgles2functional_implementation_limitsTestCase.cpp",
"../functional/Deqpgles2functional_light_amountTestCase.cpp",
"../functional/Deqpgles2functional_multisampled_render_to_textureTestCase.cpp",
"../functional/Deqpgles2functional_prerequisiteTestCase.cpp",
"../functional/Deqpgles2preprocessor_basicTestCase.cpp",
"../functional/Deqpgles2preprocessor_builtinTestCase.cpp",
"../functional/Deqpgles2preprocessor_commentsTestCase.cpp",
"../functional/Deqpgles2preprocessor_conditional_inclusionTestCase.cpp",
"../functional/Deqpgles2preprocessor_conditionalsTestCase.cpp",
"../functional/Deqpgles2preprocessor_definitionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_directiveTestCase.cpp",
"../functional/Deqpgles2preprocessor_expressionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_extensionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_function_definitionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_function_redefinitionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_invalid_conditionalsTestCase.cpp",
"../functional/Deqpgles2preprocessor_invalid_definitionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_invalid_expressionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_invalid_function_definitionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_invalid_opsTestCase.cpp",
"../functional/Deqpgles2preprocessor_object_redefinitionsTestCase.cpp",
"../functional/Deqpgles2preprocessor_operator_precedenceTestCase.cpp",
"../functional/Deqpgles2preprocessor_pragmasTestCase.cpp",
"../functional/Deqpgles2preprocessor_predefined_macrosTestCase.cpp",
"../functional/Deqpgles2preprocessor_recursionTestCase.cpp",
"../functional/Deqpgles2preprocessor_semanticTestCase.cpp",
"../functional/Deqpgles2preprocessor_undefined_identifiersTestCase.cpp",
"../functional/Deqpgles2shaders_constantsTestCase.cpp",
"../functional/Deqpgles2shaders_linkageTestCase.cpp",
"../functional/Deqpgles2use_index_arrayTestCase.cpp",
"../functional/Deqpgles2use_vertex_arrayTestCase.cpp",
"../functional/Deqpgles2write_basicTestCase.cpp",
"../functional/Deqpgles2write_basic_subdataTestCase.cpp",
"../functional/Deqpgles2write_partial_specifyTestCase.cpp",
"../functional/Deqpgles2write_randomTestCase.cpp",
"../functional/Deqpgles2write_recreate_storeTestCase.cpp",
"../info/Deqpgles2dEQP-GLES2_infoTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0001" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0001 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0001",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0001->/data/local/tmp/ActsDeqpgles2TestSuite0001",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0001.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0002") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0002") {
sources = [
"../ActsDeqpgles20002TestSuite.cpp",
"../functional/Deqpgles2conditionals_ifTestCase.cpp",
"../functional/Deqpgles2conditionals_invalid_ifTestCase.cpp",
"../functional/Deqpgles2conversions_matrix_combineTestCase.cpp",
"../functional/Deqpgles2conversions_matrix_to_matrixTestCase.cpp",
"../functional/Deqpgles2conversions_scalar_to_matrixTestCase.cpp",
"../functional/Deqpgles2conversions_vector_combineTestCase.cpp",
"../functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp",
"../functional/Deqpgles2functions_datatypesTestCase.cpp",
"../functional/Deqpgles2swizzles_vector_swizzlesTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0002" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0002 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0002",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0002->/data/local/tmp/ActsDeqpgles2TestSuite0002",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0002.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0003") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0003") {
sources = [
"../ActsDeqpgles20003TestSuite.cpp",
"../functional/Deqpgles2functions_array_argumentsTestCase.cpp",
"../functional/Deqpgles2functions_control_flowTestCase.cpp",
"../functional/Deqpgles2functions_declarationsTestCase.cpp",
"../functional/Deqpgles2functions_invalidTestCase.cpp",
"../functional/Deqpgles2functions_miscTestCase.cpp",
"../functional/Deqpgles2functions_overloadingTestCase.cpp",
"../functional/Deqpgles2functions_qualifiersTestCase.cpp",
"../functional/Deqpgles2indexing_tmp_arrayTestCase.cpp",
"../functional/Deqpgles2indexing_uniform_arrayTestCase.cpp",
"../functional/Deqpgles2indexing_varying_arrayTestCase.cpp",
"../functional/Deqpgles2indexing_vector_subscriptTestCase.cpp",
"../functional/Deqpgles2invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp",
"../functional/Deqpgles2keywords_invalid_identifiersTestCase.cpp",
"../functional/Deqpgles2keywords_keywordsTestCase.cpp",
"../functional/Deqpgles2keywords_reserved_keywordsTestCase.cpp",
"../functional/Deqpgles2misc_compound_assignmentTestCase.cpp",
"../functional/Deqpgles2parameters_invalidTestCase.cpp",
"../functional/Deqpgles2parameters_validTestCase.cpp",
"../functional/Deqpgles2scoping_invalidTestCase.cpp",
"../functional/Deqpgles2scoping_validTestCase.cpp",
"../functional/Deqpgles2shaders_reserved_operatorsTestCase.cpp",
"../functional/Deqpgles2variables_invalidTestCase.cpp",
"../functional/Deqpgles2variables_validTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0003" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0003 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0003",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0003->/data/local/tmp/ActsDeqpgles2TestSuite0003",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0003.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0004") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0004") {
sources = [
"../ActsDeqpgles20004TestSuite.cpp",
"../functional/Deqpgles2indexing_matrix_subscriptTestCase.cpp",
"../functional/Deqpgles2loops_customTestCase.cpp",
"../functional/Deqpgles2loops_do_while_constant_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_do_while_dynamic_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_do_while_uniform_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_for_constant_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_for_dynamic_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_for_uniform_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_while_constant_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_while_dynamic_iterationsTestCase.cpp",
"../functional/Deqpgles2loops_while_uniform_iterationsTestCase.cpp",
"../functional/Deqpgles2unary_operator_minusTestCase.cpp",
"../functional/Deqpgles2unary_operator_plusTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0004" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0004 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0004",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0004->/data/local/tmp/ActsDeqpgles2TestSuite0004",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0004.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0005") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0005") {
sources = [
"../ActsDeqpgles20005TestSuite.cpp",
"../functional/Deqpgles2binary_operator_addTestCase.cpp",
"../functional/Deqpgles2binary_operator_add_assign_effectTestCase.cpp",
"../functional/Deqpgles2binary_operator_divTestCase.cpp",
"../functional/Deqpgles2binary_operator_mulTestCase.cpp",
"../functional/Deqpgles2binary_operator_subTestCase.cpp",
"../functional/Deqpgles2binary_operator_sub_assign_effectTestCase.cpp",
"../functional/Deqpgles2unary_operator_notTestCase.cpp",
"../functional/Deqpgles2unary_operator_post_decrement_effectTestCase.cpp",
"../functional/Deqpgles2unary_operator_post_decrement_resultTestCase.cpp",
"../functional/Deqpgles2unary_operator_post_increment_effectTestCase.cpp",
"../functional/Deqpgles2unary_operator_post_increment_resultTestCase.cpp",
"../functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp",
"../functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp",
"../functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp",
"../functional/Deqpgles2unary_operator_pre_increment_resultTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0005" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0005 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0005",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0005->/data/local/tmp/ActsDeqpgles2TestSuite0005",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0005.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0006") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0006") {
sources = [
"../ActsDeqpgles20006TestSuite.cpp",
"../functional/Deqpgles2angle_and_trigonometry_acosTestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_asinTestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_atan2TestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_atanTestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_cosTestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_degreesTestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_radiansTestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_sinTestCase.cpp",
"../functional/Deqpgles2angle_and_trigonometry_tanTestCase.cpp",
"../functional/Deqpgles2binary_operator_add_assign_resultTestCase.cpp",
"../functional/Deqpgles2binary_operator_div_assign_effectTestCase.cpp",
"../functional/Deqpgles2binary_operator_div_assign_resultTestCase.cpp",
"../functional/Deqpgles2binary_operator_equalTestCase.cpp",
"../functional/Deqpgles2binary_operator_greaterTestCase.cpp",
"../functional/Deqpgles2binary_operator_greater_or_equalTestCase.cpp",
"../functional/Deqpgles2binary_operator_lessTestCase.cpp",
"../functional/Deqpgles2binary_operator_less_or_equalTestCase.cpp",
"../functional/Deqpgles2binary_operator_logical_andTestCase.cpp",
"../functional/Deqpgles2binary_operator_logical_orTestCase.cpp",
"../functional/Deqpgles2binary_operator_logical_xorTestCase.cpp",
"../functional/Deqpgles2binary_operator_mul_assign_effectTestCase.cpp",
"../functional/Deqpgles2binary_operator_mul_assign_resultTestCase.cpp",
"../functional/Deqpgles2binary_operator_not_equalTestCase.cpp",
"../functional/Deqpgles2binary_operator_sub_assign_resultTestCase.cpp",
"../functional/Deqpgles2exponential_exp2TestCase.cpp",
"../functional/Deqpgles2exponential_expTestCase.cpp",
"../functional/Deqpgles2exponential_inversesqrtTestCase.cpp",
"../functional/Deqpgles2exponential_log2TestCase.cpp",
"../functional/Deqpgles2exponential_logTestCase.cpp",
"../functional/Deqpgles2exponential_powTestCase.cpp",
"../functional/Deqpgles2exponential_sqrtTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0006" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0006 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0006",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0006->/data/local/tmp/ActsDeqpgles2TestSuite0006",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0006.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0007") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0007") {
sources = [
"../ActsDeqpgles20007TestSuite.cpp",
"../functional/Deqpgles2bool_compare_allTestCase.cpp",
"../functional/Deqpgles2bool_compare_anyTestCase.cpp",
"../functional/Deqpgles2bool_compare_equalTestCase.cpp",
"../functional/Deqpgles2bool_compare_notEqualTestCase.cpp",
"../functional/Deqpgles2bool_compare_notTestCase.cpp",
"../functional/Deqpgles2common_functions_absTestCase.cpp",
"../functional/Deqpgles2common_functions_ceilTestCase.cpp",
"../functional/Deqpgles2common_functions_clampTestCase.cpp",
"../functional/Deqpgles2common_functions_floorTestCase.cpp",
"../functional/Deqpgles2common_functions_fractTestCase.cpp",
"../functional/Deqpgles2common_functions_maxTestCase.cpp",
"../functional/Deqpgles2common_functions_minTestCase.cpp",
"../functional/Deqpgles2common_functions_mixTestCase.cpp",
"../functional/Deqpgles2common_functions_modTestCase.cpp",
"../functional/Deqpgles2common_functions_signTestCase.cpp",
"../functional/Deqpgles2common_functions_smoothstepTestCase.cpp",
"../functional/Deqpgles2common_functions_stepTestCase.cpp",
"../functional/Deqpgles2float_compare_equalTestCase.cpp",
"../functional/Deqpgles2float_compare_greaterThanEqualTestCase.cpp",
"../functional/Deqpgles2float_compare_greaterThanTestCase.cpp",
"../functional/Deqpgles2float_compare_lessThanEqualTestCase.cpp",
"../functional/Deqpgles2float_compare_lessThanTestCase.cpp",
"../functional/Deqpgles2float_compare_notEqualTestCase.cpp",
"../functional/Deqpgles2geometric_crossTestCase.cpp",
"../functional/Deqpgles2geometric_distanceTestCase.cpp",
"../functional/Deqpgles2geometric_dotTestCase.cpp",
"../functional/Deqpgles2geometric_faceforwardTestCase.cpp",
"../functional/Deqpgles2geometric_lengthTestCase.cpp",
"../functional/Deqpgles2geometric_normalizeTestCase.cpp",
"../functional/Deqpgles2geometric_reflectTestCase.cpp",
"../functional/Deqpgles2geometric_refractTestCase.cpp",
"../functional/Deqpgles2int_compare_equalTestCase.cpp",
"../functional/Deqpgles2int_compare_greaterThanEqualTestCase.cpp",
"../functional/Deqpgles2int_compare_greaterThanTestCase.cpp",
"../functional/Deqpgles2int_compare_lessThanEqualTestCase.cpp",
"../functional/Deqpgles2int_compare_lessThanTestCase.cpp",
"../functional/Deqpgles2int_compare_notEqualTestCase.cpp",
"../functional/Deqpgles2matrix_addTestCase.cpp",
"../functional/Deqpgles2matrix_subTestCase.cpp",
"../functional/Deqpgles2operator_selectionTestCase.cpp",
"../functional/Deqpgles2sequence_no_side_effectsTestCase.cpp",
"../functional/Deqpgles2sequence_side_effectsTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0007" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0007 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0007",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0007->/data/local/tmp/ActsDeqpgles2TestSuite0007",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0007.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0008") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0008") {
sources = [
"../ActsDeqpgles20008TestSuite.cpp",
"../functional/Deqpgles2builtin_functions_exponentialTestCase.cpp",
"../functional/Deqpgles2builtin_functions_trigonometryTestCase.cpp",
"../functional/Deqpgles2constant_expressions_complex_typesTestCase.cpp",
"../functional/Deqpgles2constant_expressions_operatorsTestCase.cpp",
"../functional/Deqpgles2constant_expressions_trivialTestCase.cpp",
"../functional/Deqpgles2invariance_highpTestCase.cpp",
"../functional/Deqpgles2invariance_lowpTestCase.cpp",
"../functional/Deqpgles2invariance_mediumpTestCase.cpp",
"../functional/Deqpgles2matrix_add_assignTestCase.cpp",
"../functional/Deqpgles2matrix_divTestCase.cpp",
"../functional/Deqpgles2matrix_div_assignTestCase.cpp",
"../functional/Deqpgles2matrix_matrixcompmultTestCase.cpp",
"../functional/Deqpgles2matrix_mulTestCase.cpp",
"../functional/Deqpgles2matrix_mul_assignTestCase.cpp",
"../functional/Deqpgles2matrix_negationTestCase.cpp",
"../functional/Deqpgles2matrix_post_decrementTestCase.cpp",
"../functional/Deqpgles2matrix_post_incrementTestCase.cpp",
"../functional/Deqpgles2matrix_pre_decrementTestCase.cpp",
"../functional/Deqpgles2matrix_pre_incrementTestCase.cpp",
"../functional/Deqpgles2matrix_sub_assignTestCase.cpp",
"../functional/Deqpgles2matrix_unary_additionTestCase.cpp",
"../functional/Deqpgles2shaders_algorithmTestCase.cpp",
"../functional/Deqpgles2shaders_builtin_variableTestCase.cpp",
"../functional/Deqpgles2shaders_discardTestCase.cpp",
"../functional/Deqpgles2shaders_fragdataTestCase.cpp",
"../functional/Deqpgles2shaders_returnTestCase.cpp",
"../functional/Deqpgles2struct_localTestCase.cpp",
"../functional/Deqpgles2struct_uniformTestCase.cpp",
"../functional/Deqpgles2texture_functions_fragmentTestCase.cpp",
"../functional/Deqpgles2texture_functions_invalidTestCase.cpp",
"../functional/Deqpgles2texture_functions_vertexTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0008" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0008 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0008",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0008->/data/local/tmp/ActsDeqpgles2TestSuite0008",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0008.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0009") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0009") {
sources = [
"../ActsDeqpgles20009TestSuite.cpp",
"../functional/Deqpgles2basic_expression_combinedTestCase.cpp",
"../functional/Deqpgles2basic_expression_fragmentTestCase.cpp",
"../functional/Deqpgles2basic_expression_vertexTestCase.cpp",
"../functional/Deqpgles2builtin_functions_commonTestCase.cpp",
"../functional/Deqpgles2builtin_functions_geometricTestCase.cpp",
"../functional/Deqpgles2builtin_functions_matrixTestCase.cpp",
"../functional/Deqpgles2builtin_functions_vector_relationalTestCase.cpp",
"../functional/Deqpgles2scalar_conversion_combinedTestCase.cpp",
"../functional/Deqpgles2scalar_conversion_fragmentTestCase.cpp",
"../functional/Deqpgles2scalar_conversion_vertexTestCase.cpp",
"../functional/Deqpgles2swizzle_fragmentTestCase.cpp",
"../functional/Deqpgles2swizzle_vertexTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0009" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0009 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0009",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0009->/data/local/tmp/ActsDeqpgles2TestSuite0009",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0009.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0010") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0010") {
sources = [
"../ActsDeqpgles20010TestSuite.cpp",
"../functional/Deqpgles2comparison_ops_fragmentTestCase.cpp",
"../functional/Deqpgles2comparison_ops_vertexTestCase.cpp",
"../functional/Deqpgles2conditionals_combinedTestCase.cpp",
"../functional/Deqpgles2conditionals_fragmentTestCase.cpp",
"../functional/Deqpgles2conditionals_vertexTestCase.cpp",
"../functional/Deqpgles2exponential_fragmentTestCase.cpp",
"../functional/Deqpgles2exponential_vertexTestCase.cpp",
"../functional/Deqpgles2texture_fragmentTestCase.cpp",
"../functional/Deqpgles2texture_vertexTestCase.cpp",
"../functional/Deqpgles2trigonometric_fragmentTestCase.cpp",
"../functional/Deqpgles2trigonometric_vertexTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0010" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0010 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0010",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0010->/data/local/tmp/ActsDeqpgles2TestSuite0010",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0010.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0011") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0011") {
sources = [
"../ActsDeqpgles20011TestSuite.cpp",
"../functional/Deqpgles22d_affineTestCase.cpp",
"../functional/Deqpgles22d_basicTestCase.cpp",
"../functional/Deqpgles22d_filteringTestCase.cpp",
"../functional/Deqpgles22d_generateTestCase.cpp",
"../functional/Deqpgles22d_projectedTestCase.cpp",
"../functional/Deqpgles22d_wrapTestCase.cpp",
"../functional/Deqpgles2all_features_fragmentTestCase.cpp",
"../functional/Deqpgles2all_features_vertexTestCase.cpp",
"../functional/Deqpgles2completeness_2dTestCase.cpp",
"../functional/Deqpgles2completeness_cubeTestCase.cpp",
"../functional/Deqpgles2cube_basicTestCase.cpp",
"../functional/Deqpgles2cube_biasTestCase.cpp",
"../functional/Deqpgles2cube_filteringTestCase.cpp",
"../functional/Deqpgles2cube_generateTestCase.cpp",
"../functional/Deqpgles2cube_projectedTestCase.cpp",
"../functional/Deqpgles2cube_wrapTestCase.cpp",
"../functional/Deqpgles2filtering_2dTestCase.cpp",
"../functional/Deqpgles2filtering_cubeTestCase.cpp",
"../functional/Deqpgles2size_2dTestCase.cpp",
"../functional/Deqpgles2size_cubeTestCase.cpp",
"../functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp",
"../functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp",
"../functional/Deqpgles2specification_basic_teximage2dTestCase.cpp",
"../functional/Deqpgles2specification_basic_texsubimage2dTestCase.cpp",
"../functional/Deqpgles2specification_random_teximage2dTestCase.cpp",
"../functional/Deqpgles2specification_teximage2d_alignTestCase.cpp",
"../functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp",
"../functional/Deqpgles2specification_texsubimage2d_empty_texTestCase.cpp",
"../functional/Deqpgles2texture_formatTestCase.cpp",
"../functional/Deqpgles2texture_wrapTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0011" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0011 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0011",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0011->/data/local/tmp/ActsDeqpgles2TestSuite0011",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0011.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0012") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0012") {
sources = [
"../ActsDeqpgles20012TestSuite.cpp",
"../functional/Deqpgles2blend_equation_src_func_dst_funcTestCase.cpp",
"../functional/Deqpgles2depth_stencil_randomTestCase.cpp",
"../functional/Deqpgles2depth_stencil_stencil_depth_funcsTestCase.cpp",
"../functional/Deqpgles2depth_stencil_write_maskTestCase.cpp",
"../functional/Deqpgles2fragment_ops_depthTestCase.cpp",
"../functional/Deqpgles2fragment_ops_scissorTestCase.cpp",
"../functional/Deqpgles2fragment_ops_stencilTestCase.cpp",
"../functional/Deqpgles2rgb_func_alpha_func_srcTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0012" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0012 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0012",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0012->/data/local/tmp/ActsDeqpgles2TestSuite0012",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0012.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0013") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0013") {
sources = [
"../ActsDeqpgles20013TestSuite.cpp",
"../functional/Deqpgles2blend_rgb_equation_alpha_equationTestCase.cpp",
"../functional/Deqpgles2completeness_attachment_combinationsTestCase.cpp",
"../functional/Deqpgles2fbo_apiTestCase.cpp",
"../functional/Deqpgles2fragment_ops_randomTestCase.cpp",
"../functional/Deqpgles2interaction_basic_shaderTestCase.cpp",
"../functional/Deqpgles2render_colorTestCase.cpp",
"../functional/Deqpgles2render_color_clearTestCase.cpp",
"../functional/Deqpgles2render_depthTestCase.cpp",
"../functional/Deqpgles2render_recreate_colorbufferTestCase.cpp",
"../functional/Deqpgles2render_recreate_depthbufferTestCase.cpp",
"../functional/Deqpgles2render_recreate_stencilbufferTestCase.cpp",
"../functional/Deqpgles2render_repeated_clearTestCase.cpp",
"../functional/Deqpgles2render_resizeTestCase.cpp",
"../functional/Deqpgles2render_shared_colorbufferTestCase.cpp",
"../functional/Deqpgles2render_shared_colorbuffer_clearTestCase.cpp",
"../functional/Deqpgles2render_shared_depthbufferTestCase.cpp",
"../functional/Deqpgles2render_stencilTestCase.cpp",
"../functional/Deqpgles2render_stencil_clearTestCase.cpp",
"../functional/Deqpgles2render_texsubimageTestCase.cpp",
"../functional/Deqpgles2renderbuffer_color0TestCase.cpp",
"../functional/Deqpgles2renderbuffer_depthTestCase.cpp",
"../functional/Deqpgles2renderbuffer_stencilTestCase.cpp",
"../functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp",
"../functional/Deqpgles2texture_color0TestCase.cpp",
"../functional/Deqpgles2texture_depthTestCase.cpp",
"../functional/Deqpgles2texture_stencilTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0013" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0013 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0013",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0013->/data/local/tmp/ActsDeqpgles2TestSuite0013",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0013.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0014") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0014") {
sources = [
"../ActsDeqpgles20014TestSuite.cpp",
"../functional/Deqpgles2attribute_location_bindTestCase.cpp",
"../functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp",
"../functional/Deqpgles2attribute_location_bind_holeTestCase.cpp",
"../functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp",
"../functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp",
"../functional/Deqpgles2attribute_location_bind_timeTestCase.cpp",
"../functional/Deqpgles2completeness_sizeTestCase.cpp",
"../functional/Deqpgles2functional_multisampleTestCase.cpp",
"../functional/Deqpgles2info_query_basicTestCase.cpp",
"../functional/Deqpgles2interpolation_basicTestCase.cpp",
"../functional/Deqpgles2interpolation_projectedTestCase.cpp",
"../functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp",
"../functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp",
"../functional/Deqpgles2multiple_attributes_storageTestCase.cpp",
"../functional/Deqpgles2multiple_attributes_strideTestCase.cpp",
"../functional/Deqpgles2negative_api_bufferTestCase.cpp",
"../functional/Deqpgles2negative_api_fragmentTestCase.cpp",
"../functional/Deqpgles2negative_api_shaderTestCase.cpp",
"../functional/Deqpgles2negative_api_stateTestCase.cpp",
"../functional/Deqpgles2negative_api_textureTestCase.cpp",
"../functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp",
"../functional/Deqpgles2rasterization_cullingTestCase.cpp",
"../functional/Deqpgles2rasterization_fill_rulesTestCase.cpp",
"../functional/Deqpgles2rasterization_limitsTestCase.cpp",
"../functional/Deqpgles2rasterization_primitivesTestCase.cpp",
"../functional/Deqpgles2shader_api_compile_linkTestCase.cpp",
"../functional/Deqpgles2shader_api_create_deleteTestCase.cpp",
"../functional/Deqpgles2shader_api_program_stateTestCase.cpp",
"../functional/Deqpgles2shader_api_shader_sourceTestCase.cpp",
"../functional/Deqpgles2single_attribute_firstTestCase.cpp",
"../functional/Deqpgles2single_attribute_normalizeTestCase.cpp",
"../functional/Deqpgles2single_attribute_offsetTestCase.cpp",
"../functional/Deqpgles2single_attribute_output_typesTestCase.cpp",
"../functional/Deqpgles2single_attribute_stridesTestCase.cpp",
"../functional/Deqpgles2single_attribute_usagesTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0014" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0014 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0014",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0014->/data/local/tmp/ActsDeqpgles2TestSuite0014",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0014.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0015") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0015") {
sources = [
"../ActsDeqpgles20015TestSuite.cpp",
"../functional/Deqpgles2get_uniform_array_in_structTestCase.cpp",
"../functional/Deqpgles2get_uniform_basicTestCase.cpp",
"../functional/Deqpgles2get_uniform_basic_arrayTestCase.cpp",
"../functional/Deqpgles2get_uniform_basic_array_first_elem_without_bracketsTestCase.cpp",
"../functional/Deqpgles2get_uniform_basic_structTestCase.cpp",
"../functional/Deqpgles2get_uniform_multiple_basicTestCase.cpp",
"../functional/Deqpgles2get_uniform_multiple_basic_arrayTestCase.cpp",
"../functional/Deqpgles2get_uniform_multiple_nested_structs_arraysTestCase.cpp",
"../functional/Deqpgles2get_uniform_nested_structs_arraysTestCase.cpp",
"../functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp",
"../functional/Deqpgles2info_query_array_in_structTestCase.cpp",
"../functional/Deqpgles2info_query_basic_arrayTestCase.cpp",
"../functional/Deqpgles2info_query_basic_structTestCase.cpp",
"../functional/Deqpgles2info_query_multiple_basicTestCase.cpp",
"../functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp",
"../functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp",
"../functional/Deqpgles2info_query_nested_structs_arraysTestCase.cpp",
"../functional/Deqpgles2info_query_struct_in_arrayTestCase.cpp",
"../functional/Deqpgles2info_query_unused_uniformsTestCase.cpp",
"../functional/Deqpgles2render_array_in_structTestCase.cpp",
"../functional/Deqpgles2render_basicTestCase.cpp",
"../functional/Deqpgles2render_basic_arrayTestCase.cpp",
"../functional/Deqpgles2render_basic_structTestCase.cpp",
"../functional/Deqpgles2render_multiple_basicTestCase.cpp",
"../functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp",
"../functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp",
"../functional/Deqpgles2render_nested_structs_arraysTestCase.cpp",
"../functional/Deqpgles2render_struct_in_arrayTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0015" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0015 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0015",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0015->/data/local/tmp/ActsDeqpgles2TestSuite0015",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0015.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0016") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0016") {
sources = [
"../ActsDeqpgles20016TestSuite.cpp",
"../functional/Deqpgles2assigned_unused_uniformsTestCase.cpp",
"../functional/Deqpgles2basic_array_assign_full_array_in_structTestCase.cpp",
"../functional/Deqpgles2basic_array_assign_full_basic_arrayTestCase.cpp",
"../functional/Deqpgles2basic_array_assign_full_multiple_basic_arrayTestCase.cpp",
"../functional/Deqpgles2basic_array_assign_partial_array_in_structTestCase.cpp",
"../functional/Deqpgles2basic_array_assign_partial_basic_arrayTestCase.cpp",
"../functional/Deqpgles2basic_array_assign_partial_multiple_basic_arrayTestCase.cpp",
"../functional/Deqpgles2clipping_lineTestCase.cpp",
"../functional/Deqpgles2clipping_pointTestCase.cpp",
"../functional/Deqpgles2clipping_polygonTestCase.cpp",
"../functional/Deqpgles2clipping_polygon_edgeTestCase.cpp",
"../functional/Deqpgles2depth_range_compareTestCase.cpp",
"../functional/Deqpgles2depth_range_writeTestCase.cpp",
"../functional/Deqpgles2dither_disabledTestCase.cpp",
"../functional/Deqpgles2dither_enabledTestCase.cpp",
"../functional/Deqpgles2functional_read_pixelsTestCase.cpp",
"../functional/Deqpgles2state_query_booleanTestCase.cpp",
"../functional/Deqpgles2state_query_buffer_objectTestCase.cpp",
"../functional/Deqpgles2state_query_fboTestCase.cpp",
"../functional/Deqpgles2state_query_floatsTestCase.cpp",
"../functional/Deqpgles2state_query_integersTestCase.cpp",
"../functional/Deqpgles2state_query_rboTestCase.cpp",
"../functional/Deqpgles2state_query_shaderTestCase.cpp",
"../functional/Deqpgles2state_query_stringTestCase.cpp",
"../functional/Deqpgles2state_query_textureTestCase.cpp",
"../functional/Deqpgles2triangle_vertex_clip_oneTestCase.cpp",
"../functional/Deqpgles2triangle_vertex_clip_twoTestCase.cpp",
"../functional/Deqpgles2uniform_api_randomTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0016" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0016 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0016",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0016->/data/local/tmp/ActsDeqpgles2TestSuite0016",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0016.qpa", 0);
} // OHOS
\ No newline at end of file
# 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.
import("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libdeqpgles2func0017") {
sources = common_src
sources += [ "../Deqpgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsDeqpgles2TestSuite0017") {
sources = [
"../ActsDeqpgles20017TestSuite.cpp",
"../functional/Deqpgles2attach_deleted_inputTestCase.cpp",
"../functional/Deqpgles2attach_deleted_nameTestCase.cpp",
"../functional/Deqpgles2attach_deleted_outputTestCase.cpp",
"../functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp",
"../functional/Deqpgles2default_vertex_attrib_mat2TestCase.cpp",
"../functional/Deqpgles2default_vertex_attrib_mat3TestCase.cpp",
"../functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp",
"../functional/Deqpgles2default_vertex_attrib_vec2TestCase.cpp",
"../functional/Deqpgles2default_vertex_attrib_vec3TestCase.cpp",
"../functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp",
"../functional/Deqpgles2draw_arrays_firstTestCase.cpp",
"../functional/Deqpgles2draw_arrays_line_loopTestCase.cpp",
"../functional/Deqpgles2draw_arrays_line_stripTestCase.cpp",
"../functional/Deqpgles2draw_arrays_linesTestCase.cpp",
"../functional/Deqpgles2draw_arrays_pointsTestCase.cpp",
"../functional/Deqpgles2draw_arrays_triangle_fanTestCase.cpp",
"../functional/Deqpgles2draw_arrays_triangle_stripTestCase.cpp",
"../functional/Deqpgles2draw_arrays_trianglesTestCase.cpp",
"../functional/Deqpgles2draw_elements_line_loopTestCase.cpp",
"../functional/Deqpgles2draw_elements_line_stripTestCase.cpp",
"../functional/Deqpgles2draw_elements_linesTestCase.cpp",
"../functional/Deqpgles2draw_elements_pointsTestCase.cpp",
"../functional/Deqpgles2draw_elements_triangle_fanTestCase.cpp",
"../functional/Deqpgles2draw_elements_triangle_stripTestCase.cpp",
"../functional/Deqpgles2draw_elements_trianglesTestCase.cpp",
"../functional/Deqpgles2draw_randomTestCase.cpp",
"../functional/Deqpgles2functional_debug_markerTestCase.cpp",
"../functional/Deqpgles2functional_flush_finishTestCase.cpp",
"../functional/Deqpgles2functional_polygon_offsetTestCase.cpp",
"../functional/Deqpgles2indices_bufferTestCase.cpp",
"../functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp",
"../functional/Deqpgles2indices_user_ptrTestCase.cpp",
"../functional/Deqpgles2lifetime_bindTestCase.cpp",
"../functional/Deqpgles2lifetime_bind_no_genTestCase.cpp",
"../functional/Deqpgles2lifetime_deleteTestCase.cpp",
"../functional/Deqpgles2lifetime_delete_boundTestCase.cpp",
"../functional/Deqpgles2lifetime_delete_usedTestCase.cpp",
"../functional/Deqpgles2lifetime_genTestCase.cpp",
"../functional/Deqpgles2triangle_vertex_clip_threeTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libdeqpgles2func0017" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsDeqpgles2TestSuite0017 test cases",
"driver": {
"module-name": "ActsDeqpgles2TestSuite0017",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsDeqpgles2TestSuite0017->/data/local/tmp/ActsDeqpgles2TestSuite0017",
"../../../common/common/librosen_context.z.so->/system/lib",
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
/*
* 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 "logdefine.h"
namespace OHOS {
tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0017.qpa", 0);
} // OHOS
\ No newline at end of file
/*
* 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 <climits>
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20011TestSuite.h"
#include "shrinkdefine.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010611,
"dEQP-GLES2.functional.texture.mipm",
"ap.2d.affine.nearest_nearest_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010612,
"dEQP-GLES2.functional.texture.mipm",
"ap.2d.affine.nearest_nearest_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010613,
"dEQP-GLES2.functional.texture.mipm",
"ap.2d.affine.nearest_nearest_mirror");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010614,
"dEQP-GLES2.functional.texture.mip",
"map.2d.affine.linear_nearest_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010615,
"dEQP-GLES2.functional.texture.mipm",
"ap.2d.affine.linear_nearest_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010616,
"dEQP-GLES2.functional.texture.mipm",
"ap.2d.affine.linear_nearest_mirror");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010617,
"dEQP-GLES2.functional.texture.mip",
"map.2d.affine.nearest_linear_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010618,
"dEQP-GLES2.functional.texture.mipm",
"ap.2d.affine.nearest_linear_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010619,
"dEQP-GLES2.functional.texture.mipm",
"ap.2d.affine.nearest_linear_mirror");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010620,
"dEQP-GLES2.functional.texture.mip",
"map.2d.affine.linear_linear_repeat");
/*
* 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 <climits>
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20011TestSuite.h"
#include "shrinkdefine.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010603,
"dEQP-GLES2.functional.texture.mip",
"map.2d.basic.nearest_linear_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010604,
"dEQP-GLES2.functional.texture.mipmap.2",
"d.basic.nearest_linear_clamp_non_square");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010605,
"dEQP-GLES2.functional.texture.mip",
"map.2d.basic.nearest_linear_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010606,
"dEQP-GLES2.functional.texture.mipmap.2d",
".basic.nearest_linear_repeat_non_square");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010607,
"dEQP-GLES2.functional.texture.mip",
"map.2d.basic.nearest_linear_mirror");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010608,
"dEQP-GLES2.functional.texture.mipmap.2d",
".basic.nearest_linear_mirror_non_square");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010609,
"dEQP-GLES2.functional.texture.mip",
"map.2d.basic.linear_linear_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010610,
"dEQP-GLES2.functional.texture.mipmap.2",
"d.basic.linear_linear_repeat_non_square");
/*
* 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 <climits>
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20011TestSuite.h"
#include "shrinkdefine.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010621,
"dEQP-GLES2.functional.texture.mipma",
"p.2d.projected.nearest_linear_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010622,
"dEQP-GLES2.functional.texture.mipma",
"p.2d.projected.nearest_linear_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010623,
"dEQP-GLES2.functional.texture.mipma",
"p.2d.projected.nearest_linear_mirror");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010624,
"dEQP-GLES2.functional.texture.mipma",
"p.2d.projected.linear_linear_repeat");
/*
* 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 <climits>
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20011TestSuite.h"
#include "shrinkdefine.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010947,
"dEQP-GLES2.functional.textur",
"e.vertex.2d.wrap.clamp_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010948,
"dEQP-GLES2.functional.textur",
"e.vertex.2d.wrap.clamp_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010949,
"dEQP-GLES2.functional.textur",
"e.vertex.2d.wrap.clamp_mirror");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010950,
"dEQP-GLES2.functional.textur",
"e.vertex.2d.wrap.repeat_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010951,
"dEQP-GLES2.functional.texture",
".vertex.2d.wrap.repeat_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010952,
"dEQP-GLES2.functional.texture",
".vertex.2d.wrap.repeat_mirror");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010953,
"dEQP-GLES2.functional.textur",
"e.vertex.2d.wrap.mirror_clamp");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010954,
"dEQP-GLES2.functional.texture",
".vertex.2d.wrap.mirror_repeat");
static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010955,
"dEQP-GLES2.functional.texture",
".vertex.2d.wrap.mirror_mirror");
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册