diff options
author | bohu <bohu@google.com> | 2017-05-17 14:18:59 -0700 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2017-05-18 23:09:28 +0000 |
commit | f515ad8fb5dac39b9e32f4cd06097ecaabb10fbd (patch) | |
tree | 01707d949ce6b19b64eaeecb48f0634956dfb747 /include/ScopedJavaUnicodeString.h | |
parent | 9347a14f6b34fd0becbd814439d57c1a3346a6fd (diff) |
Skip multicast test if it is not supported
DatagramChannelMulticastTest had some tests that
would not check the supportsMulticast flag to see
if they should execute before accessing fields that
are not initialized when supportsMulticast
is false.
supportsMulticast is set to false when the system
property "android.cts.device.multicast" is "false"
(normally provided by the CTS runner).
Thanks to bohu@ for the original fix.
BUG: 37719321
Test: vogar --vm-arg "-Dandroid.cts.device.multicast=false" \
luni/src/test/java/libcore/java/nio/channels/DatagramChannelMulticastTest.java
Change-Id: I0d3de3512b8f8ac300546f072eb98e760ccfbe66
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions