xref: /aosp_15_r20/cts/tools/cts-tradefed/tests/run_cts_tests.sh (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker#!/bin/bash
2*b7c941bbSAndroid Build Coastguard Worker
3*b7c941bbSAndroid Build Coastguard Worker# Copyright (C) 2018 The Android Open Source Project
4*b7c941bbSAndroid Build Coastguard Worker#
5*b7c941bbSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
6*b7c941bbSAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
7*b7c941bbSAndroid Build Coastguard Worker# You may obtain a copy of the License at
8*b7c941bbSAndroid Build Coastguard Worker#
9*b7c941bbSAndroid Build Coastguard Worker#      http://www.apache.org/licenses/LICENSE-2.0
10*b7c941bbSAndroid Build Coastguard Worker#
11*b7c941bbSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
12*b7c941bbSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
13*b7c941bbSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*b7c941bbSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
15*b7c941bbSAndroid Build Coastguard Worker# limitations under the License.
16*b7c941bbSAndroid Build Coastguard Worker
17*b7c941bbSAndroid Build Coastguard Worker# A simple helper script that runs the CTS harness unit tests
18*b7c941bbSAndroid Build Coastguard Worker
19*b7c941bbSAndroid Build Coastguard WorkerCTS_DIR=`dirname $0`/../etc
20*b7c941bbSAndroid Build Coastguard Worker
21*b7c941bbSAndroid Build Coastguard Worker${CTS_DIR}/cts-tradefed run singleCommand host -n \
22*b7c941bbSAndroid Build Coastguard Worker  --console-result-reporter:suppress-passed-tests \
23*b7c941bbSAndroid Build Coastguard Worker  --class com.android.compatibility.common.tradefed.UnitTests \
24*b7c941bbSAndroid Build Coastguard Worker  --class com.android.compatibility.common.util.HostUnitTests \
25*b7c941bbSAndroid Build Coastguard Worker  --class com.android.compatibility.common.util.UnitTests \
26*b7c941bbSAndroid Build Coastguard Worker  --class com.android.compatibility.tradefed.CtsTradefedTest \
27*b7c941bbSAndroid Build Coastguard Worker  --class com.drawelements.deqp.runner.DeqpTestRunnerTest \
28*b7c941bbSAndroid Build Coastguard Worker  "$@"
29