提交 f0f3fffe 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 9c16d02c
# 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册