Fix flags_tests for older platforms

Older platforms might not be able to properly set the properties
we need for test (e.g. due to length limitations), so update the
tests to skip the checks that rely on property setting.

Test: gtest
Bug: 188655918
Change-Id: Ibdaf80b45c0a3a6529bfd2714c17df2dc83478b2
1 file changed