mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-21 14:16:26 +00:00
edf6f2928b
Have pw_test_group create a *_run test group that runs all of the tests in that group and dependent groups. This allows, for example, using pw_module_tests_run to run all tests without rebuilding the docs. Change-Id: I5b37129e94c1cc0f44085e02b0093848f1f8d249
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Copyright 2019 The Pigweed Authors
|
|
#
|
|
# 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
|
|
#
|
|
# https://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("$dir_pw_unit_test/test.gni")
|
|
|
|
# All Pigweed modules that can be built using gn.
|
|
group("pw_modules") {
|
|
deps = [
|
|
"$dir_pigweed/docs",
|
|
"$dir_pw_bloat",
|
|
"$dir_pw_dumb_io",
|
|
"$dir_pw_preprocessor",
|
|
"$dir_pw_span",
|
|
"$dir_pw_status",
|
|
"$dir_pw_string",
|
|
"$dir_pw_unit_test",
|
|
"$dir_pw_varint",
|
|
]
|
|
}
|
|
|
|
# Targets for all module unit test groups.
|
|
pw_test_group("pw_module_tests") {
|
|
group_deps = [
|
|
"$dir_pw_preprocessor:tests",
|
|
"$dir_pw_span:tests",
|
|
"$dir_pw_status:tests",
|
|
"$dir_pw_string:tests",
|
|
"$dir_pw_varint:tests",
|
|
]
|
|
}
|