mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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
This commit is contained in:
committed by
Blair Prescott
parent
f77f02bf50
commit
230e96521d
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user