cpvkgl.sh 1.3 KB
Newer Older
W
wangshi 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/bash

# Copyright (C) 2021 Huawei Device 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.

set -e
J
jiyong 已提交
17
root_vkgl_path=$1
W
wangshi 已提交
18
mkdir -p  "suites/acts/testcases/vkgldata"
J
jiyong 已提交
19 20
cp -rf "$root_vkgl_path/third_party/vk-gl-cts/data" "suites/acts/testcases/vkgldata"
cp -rf "$root_vkgl_path/third_party/vk-gl-cts/external/openglcts/data" "suites/acts/testcases/vkgldata"
21 22
tar czvf "vkgldata.tar.gz" -C "suites/acts/testcases/vkgldata" "."
mv "vkgldata.tar.gz" "suites/acts/testcases/vkgldata"
W
wangshi 已提交
23 24
cp -rf "common/common/libdeqp_ohos_platform.z.so" "suites/acts/testcases/vkgldata"
cp -rf "common/common/librosen_context.z.so" "suites/acts/testcases/vkgldata"
Z
zhangbirong 已提交
25 26
cp -rf "graphic/graphic_2d/libdeqp_spirv.z.so" "suites/acts/testcases/vkgldata"
cp -rf "graphic/graphic_2d/libdeqp_spvremapper.z.so" "suites/acts/testcases/vkgldata"