提交 51e238d5 编写于 作者: S shenchunping

优化代码,删除之前的

Signed-off-by: Nshenchunping <shenchunping@kaihongdigi.com>
上级 4a033304

要显示的变更太多。

To preserve performance only 1000 of 1000+ files are displayed.
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20001TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20002TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20003TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20004TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20005TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20006TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20007TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20008TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20009TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20010TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20011TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20012TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20013TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20014TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20015TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20016TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles20017TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 <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()
{
}
// Cleanup action of the test case
void ActsDeqpgles2TestSuite::TearDown()
{
}
}
\ 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();
// Cleanup action of the test case
virtual void TearDown();
};
} // 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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.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 "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);
}
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, 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
# 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/vkglcts/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",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
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/vkglcts/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",
"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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20011TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010611, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010611 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipm"
"ap.2d.affine.nearest_nearest_clamp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010611 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010611 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010612, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010612 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipm"
"ap.2d.affine.nearest_nearest_repeat",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010612 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010612 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010613, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010613 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipm"
"ap.2d.affine.nearest_nearest_mirror",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010613 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010613 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010614, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010614 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mip"
"map.2d.affine.linear_nearest_clamp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010614 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010614 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010615, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010615 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipm"
"ap.2d.affine.linear_nearest_repeat",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010615 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010615 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010616, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010616 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipm"
"ap.2d.affine.linear_nearest_mirror",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010616 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010616 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010617, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010617 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mip"
"map.2d.affine.nearest_linear_clamp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010617 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010617 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010618, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010618 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipm"
"ap.2d.affine.nearest_linear_repeat",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010618 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010618 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010619, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010619 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipm"
"ap.2d.affine.nearest_linear_mirror",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010619 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010619 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010620, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010620 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mip"
"map.2d.affine.linear_linear_repeat",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010620 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010620 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20011TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010603, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010603 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mip"
"map.2d.basic.nearest_linear_clamp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010603 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010603 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010604, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010604 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipmap.2"
"d.basic.nearest_linear_clamp_non_square",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010604 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010604 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010605, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010605 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mip"
"map.2d.basic.nearest_linear_repeat",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010605 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010605 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010606, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010606 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipmap.2d"
".basic.nearest_linear_repeat_non_square",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010606 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010606 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010607, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010607 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mip"
"map.2d.basic.nearest_linear_mirror",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010607 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010607 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010608, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010608 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipmap.2d"
".basic.nearest_linear_mirror_non_square",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010608 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010608 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010609, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010609 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mip"
"map.2d.basic.linear_linear_repeat",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010609 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010609 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010610, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010610 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.mipmap.2"
"d.basic.linear_linear_repeat_non_square",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010610 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010610 end";
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册