11 Commits (9206f48bce61478c6fb845a0e30d7dd68930175e)

Author SHA1 Message Date
David Chisnall 375018a933 Fix upgrading legacy properties with qualifiers.
This fixes PropertyIntrospectionTest2_arc with the 1.x ABI and enables
the test that was disabled in this mode.
7 years ago
Frederik Seiffert 5aa82d059a Disabled atomic property tests on legacy ABI versions. 7 years ago
Frederik Seiffert fb32780698 Extended property introspection test with atomic-type property. 7 years ago
David Chisnall 9a2f43ca7d Work around the fact that clang 3.4 and earlier emit broken metadata.
This is mostly important because Travis-CI uses an archaic version of
clang for the CI runs.
10 years ago
David Chisnall 8c35e72655 Add missing properties and don’t make a runtime-specific test conditional on OS. 10 years ago
David Chisnall 81ef7a9816 Don’t fail the test if we get more attributes than we expect.
Attribute lists are not null-terminated, so this would previously have gone off into memory that it was not meant to access.
10 years ago
David Chisnall 8583fc7f61 Explicitly make char signed in the property introspection test. The C spec allows char to be either signed or unsigned. If it’s unsigned (as it is on ARM), then the test will fail with the wrong encoding. 10 years ago
David Chisnall 57858add6e Silence warning in test. 10 years ago
David Chisnall dbdc26523c Fix the property introspection test some more. 10 years ago
David Chisnall 5c21e73f26 Fix the property introspection test. 10 years ago
David Chisnall b5e12e914c Make PropertyIntrospectionTest2 use arc.
Recent versions of clang object to weak properties in non-ARC mode.
10 years ago