# Copyright (C) 2018 The Android Open Source Project # # 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.
# This file lists projects with optional hosttests and unittests to run for # those projects in the following format: # [ # # Add projects to, or remove projects from, list of projects to build. # # Does not affect builds where the project list is passed on the command # # line. # build( # # List of projects that this build entry applies to. Required. # projects=[ # "<project>", # ... # ] # # If enabled is set to True or ommitted, add projects to list of # # projects to build. If enabled is set to False, remove projects from # # list of projects to build. # enabled=<True|False> # ), # ... # # Specify tests to run for specific projects. # testmap( # # List of projects that this testmap entry applies to. Required. # projects=[ # "<project>", # ... # ] # # List of host-tests to run. Optional # tests=[ # # Run a program on the host # hosttest("some_host_binary"), # # Run test on device or in emulator. Porttests run in one of two # # contexts: # # 1. In a minimal # # bootloader environment (when porttest is nested within # # in a boottests element), or # # 2. with a full Android userspace present (when nested within an # # androidporttests element). # porttest("port.under.test"), # # Run a shell command inside Android # androidtest(name="test_name", command="command to run"), # # Run a sequence of test and commands in the given order # # Ensure that test environment is rebooted before second port test # compositetest(name="testname", sequence=[ # hosttest("some_host_binary"), # porttest("port.under.test"), # # a reboot may only be requested inside composite tests # reboot(), # porttest("another.port.under.test"), # ... # ] # ... # ], # ), # ... # # Include another configuration file. If optional is True, and the file # # does not exist, the include statement is ignored. # include(<file>, optional=<True|False>), # ]
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.