1# Copyright (c) 2021-2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/test.gni") 15import("../powermgr.gni") 16 17group("apitest") { 18 testonly = true 19 deps = [ 20 "apitest/inner_api/ffrt:apitest", 21 "apitest/inner_api/hookmgr:apitest", 22 ] 23} 24 25group("systemtest") { 26 testonly = true 27 deps = [ "systemtest:systemtest_powermgr" ] 28} 29 30group("fuzztest") { 31 testonly = true 32 deps = [ "fuzztest:fuzztest" ] 33} 34 35group("unittest") { 36 testonly = true 37 deps = [ 38 "apitest/inner_api/ffrt:apitest", 39 "apitest/inner_api/hookmgr:apitest", 40 "apitest/inner_api/shutdown:unittest", 41 "unittest:unittest", 42 "unittest:unittest_ex", 43 "unittest/src/servicetest:unittest", 44 ] 45} 46