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
Merged-In: Ibdaf80b45c0a3a6529bfd2714c17df2dc83478b2
Change-Id: Ibdaf80b45c0a3a6529bfd2714c17df2dc83478b2
(cherry picked from commit b93aa6f49713f73822a2fa095f7aff1d9f7cfd01)
1 file changed