commit | 230e96521d90e9fa2abfe4be83382c3f5b286246 | [log] [tgz] |
---|---|---|
author | Blair Prescott <Blair.Prescott@broadcom.com> | Wed Oct 07 10:52:32 2020 -0700 |
committer | Blair Prescott <blair.prescott@broadcom.com> | Wed Oct 07 19:54:39 2020 +0000 |
tree | ae2381786329b11d2fd3a1a3f1f87b5d128c7907 | |
parent | f77f02bf50f7cfb398bcbc893b1bd0e362d0f457 [diff] |
wifi: Fix VTS error for non-p2p devices Fix VtsHalWifiSupplicantP2pV1_0TargetTest to skip tests in such a way that VTS reports the module as complete on devices that don't support Wifi Direct. Bug: 170326147 Test: run vts -m VtsHalWifiSupplicantP2pV1_0TargetTest Change-Id: Ia418c4bb72f4772422d724636453395c4ba9fb2d
diff --git a/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp b/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp index 01840e2..b2bdaf1 100644 --- a/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp +++ b/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp
@@ -18,9 +18,6 @@ #include "supplicant_hidl_test_utils.h" int main(int argc, char** argv) { - if (!::testing::deviceSupportsFeature("android.hardware.wifi.direct")) - return 0; - ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }