xref: /third_party/mindspore/test/BUILD.gn (revision be168c0d)
1be168c0dSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
2be168c0dSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3be168c0dSopenharmony_ci# you may not use this file except in compliance with the License.
4be168c0dSopenharmony_ci# You may obtain a copy of the License at
5be168c0dSopenharmony_ci#
6be168c0dSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7be168c0dSopenharmony_ci#
8be168c0dSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9be168c0dSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10be168c0dSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11be168c0dSopenharmony_ci# See the License for the specific language governing permissions and
12be168c0dSopenharmony_ci# limitations under the License.
13be168c0dSopenharmony_ci
14be168c0dSopenharmony_ciimport("//build/ohos.gni")
15be168c0dSopenharmony_ci
16be168c0dSopenharmony_cigroup("mindspore_unit_test") {
17be168c0dSopenharmony_ci  testonly = true
18be168c0dSopenharmony_ci  deps = [ "unittest:unit_test" ]
19be168c0dSopenharmony_ci}
20be168c0dSopenharmony_ci
21be168c0dSopenharmony_cigroup("mindspore_system_test") {
22be168c0dSopenharmony_ci  testonly = true
23be168c0dSopenharmony_ci  deps = [ "systemtest:system_test" ]
24be168c0dSopenharmony_ci}
25be168c0dSopenharmony_ci
26be168c0dSopenharmony_cigroup("mindspore_fuzz_test") {
27be168c0dSopenharmony_ci  testonly = true
28be168c0dSopenharmony_ci  deps = [ "fuzztest:fuzz_test" ]
29be168c0dSopenharmony_ci}
30be168c0dSopenharmony_ci
31be168c0dSopenharmony_cigroup("mindspore_test_target") {
32be168c0dSopenharmony_ci  testonly = true
33be168c0dSopenharmony_ci  deps = []
34be168c0dSopenharmony_ci
35be168c0dSopenharmony_ci  deps += [ ":mindspore_unit_test" ]
36be168c0dSopenharmony_ci  deps += [ ":mindspore_system_test" ]
37be168c0dSopenharmony_ci  deps += [ ":mindspore_fuzz_test" ]
38be168c0dSopenharmony_ci}
39