Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/trusty/trusty/vendor/google/aosp/scripts/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 6 kB image not shown  

Quelle  test-map

  Sprache: Shell
 

# 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>),
# ]

[
    testmap(
        projects=[
            "qemu-generic-arm64-test-debug-release",
            "qemu-generic-arm32-test-debug-release",
        ],
        tests=[
            boottests([
                include("trusty/user/base/build-config-usertests-release"),
            ]),
        ],
    ),

    testmap(
        projects=[
            "generic-arm64-test-debug",
        ],
        tests=[
            hosttest("avb_test"),
            hosttest("cbor_test"),
            hosttests([
                include("trusty/kernel/build-config-kerneltests"),
                include("trusty/user/base/build-config-usertests"),
            ]),
        ],
    ),
    include("../../proprietary/scripts/build-config", optional=True),
    testmap(
        projects=[
            "qemu-generic-arm32-gicv3-test-debug",
            "qemu-generic-arm32-test-debug",
            "qemu-generic-arm64-fuzz-test-debug",
            "qemu-generic-arm64-gicv3-spd-ffa-test-debug",
            "qemu-generic-arm64-gicv3-spd-noffa-test-debug",
            "qemu-generic-arm64-gicv3-test-debug",
            "qemu-generic-arm64u32-test-debug",
        ],
        tests=[
            # Boot tests (test-runner + kernel only)
            boottests([
                include("trusty/kernel/build-config-kerneltests"),
                include("trusty/user/base/build-config-usertests"),
                include("trusty/user/app/sample/build-config-boottests"),
            ]),
        ],
    ),
    testmap(
        projects=[
            "qemu-generic-arm32-gicv3-test-debug",
            "qemu-generic-arm32-test-debug",
            "qemu-generic-arm64-fuzz-test-debug",
            "qemu-generic-arm64-gicv3-hafnium-test-debug",
            "qemu-generic-arm64-gicv3-spd-ffa-test-debug",
            "qemu-generic-arm64-gicv3-spd-noffa-test-debug",
            "qemu-generic-arm64-gicv3-test-debug",
            "qemu-generic-arm64u32-test-debug",
        ],
        tests=[
            # Android shell port tests - same as above, but triggered with
            # Linux + android userspace present
            androidtests(include("./build-config-android-tests")),
        ],
    ),
    testmap(
        projects=[
            "qemu-generic-arm64-test-debug",
        ],
        tests=[
            # Boot tests (test-runner + kernel only)
            boottests(
                [
                    include("trusty/kernel/build-config-kerneltests"),
                    include("trusty/user/base/build-config-usertests"),
                    include("trusty/user/app/sample/build-config-boottests"),
                ],
                provides=boottestflags(
                    storage_tp=False,
                    storage_boot=False,
                ),
            ),
            # Android shell port tests - same as above, but triggered with
            # Linux + android userspace present
            androidtests(
                include("./build-config-android-tests"),
                provides=androidtestflags(
                    storage_tp=False,
                    storage_staging=False,
                ),
            ),
        ],
    ),

    testmap(
        projects=[
            "qemu-desktop-arm64-test-debug",
        ],
        tests=[
            androidtests(
                include("trusty/user/desktop/build-config-usertests", optional=True))
        ],
    ),
]

Messung V0.5 in Prozent
C=89 H=93 G=90

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-06-27) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.