Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882 Change-Id: Iba6f9e413f5f49cf0bc09ec70339e982dc669ed2
This commit is contained in:
commit
f44059b065
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ class SupplicantP2pIfaceHidlTest : public SupplicantHidlTestBaseV1_4 {
|
|||
public:
|
||||
virtual void SetUp() override {
|
||||
SupplicantHidlTestBaseV1_4::SetUp();
|
||||
if (!isP2pOn_) {
|
||||
GTEST_SKIP() << "Wi-Fi Direct is not supported, skip this test.";
|
||||
}
|
||||
p2p_iface_ = getSupplicantP2pIface_1_4(supplicant_);
|
||||
ASSERT_NE(p2p_iface_.get(), nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue