xref: /aosp_15_r20/hardware/interfaces/wifi/aidl/default/tests/README.md (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1*4d7e907cSAndroid Build Coastguard Worker# Vendor HAL gTest Suite
2*4d7e907cSAndroid Build Coastguard Worker
3*4d7e907cSAndroid Build Coastguard Worker## Overview
4*4d7e907cSAndroid Build Coastguard WorkerRather than testing an active instance of the service like the VTS tests,
5*4d7e907cSAndroid Build Coastguard Workerthis test suite will test individual files from the Vendor HAL.
6*4d7e907cSAndroid Build Coastguard WorkerThis is especially useful for testing conversion methods (see `aidl_struct_util_unit_tests.cpp`),
7*4d7e907cSAndroid Build Coastguard Workerbut can also be used to test things like `wifi_chip`.
8*4d7e907cSAndroid Build Coastguard Worker
9*4d7e907cSAndroid Build Coastguard Worker## Usage
10*4d7e907cSAndroid Build Coastguard WorkerRun the test script with a device connected:
11*4d7e907cSAndroid Build Coastguard Worker
12*4d7e907cSAndroid Build Coastguard Worker```
13*4d7e907cSAndroid Build Coastguard Worker./runtests.sh
14*4d7e907cSAndroid Build Coastguard Worker```
15