Overview
Comment: | Test if compiler supports properties and if so run property tests. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
df5b90cf6aa5bd0f6878a6a2ca14169e |
User & Date: | js on 2010-01-16 13:37:43 |
Other Links: | manifest | tags |
Context
2010-01-16
| ||
13:38 | Add missing file to Xcode project. check-in: 632e991fba user: js tags: trunk | |
13:37 | Test if compiler supports properties and if so run property tests. check-in: df5b90cf6a user: js tags: trunk | |
13:20 | Make properties behave like with the Apple runtime. check-in: aac3aaf9cc user: js tags: trunk | |
Changes
Modified configure.ac from [ebbb31ec3b] to [37277c7aeb].
︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | - + + + + + + + + + + + + + + + + + + + + + + + + | AC_MSG_CHECKING(whether Objective C compiler supports fast enumeration) AC_TRY_COMPILE([ #import <objc/objc.h> ], [ id n = nil; for (id i in n); ], [ |
︙ |
Modified extra.mk.in from [5cf2a3c0d7] to [8ecacc23d3].
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 | + | ASPRINTF_M = @ASPRINTF_M@ OBJC_PROPERTIES_M = @OBJC_PROPERTIES_M@ OBJC_SYNC_M = @OBJC_SYNC_M@ OFPLUGIN_M = @OFPLUGIN_M@ OFTHREAD_M = @OFTHREAD_M@ PROPERTIES_M = @PROPERTIES_M@ TESTPLUGIN = @TESTPLUGIN@ TESTS = @TESTS@ TEST_LAUNCHER = @TEST_LAUNCHER@ THREADING_H = @THREADING_H@ |
Modified tests/Makefile from [e320f93bcd] to [115dc5e677].
︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | - + + | OFObject.m \ ${OFPLUGIN_M} \ OFString.m \ OFTCPSocket.m \ ${OFTHREAD_M} \ OFXMLElement.m \ OFXMLParser.m \ |
︙ |
Modified tests/main.m from [7efaf05c3f] to [6d0cbb749a].
︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + + | extern void dictionary_tests(); extern void hashes_tests(); extern void list_tests(); extern void object_tests(); #ifdef OF_PLUGINS extern void plugin_tests(); #endif #ifdef OF_HAVE_PROPERTIES extern void properties_tests(); #endif extern void string_tests(); extern void tcpsocket_tests(); #ifdef OF_THREADS extern void thread_tests(); #endif extern void xmlelement_tests(); extern void xmlparser_tests(); |
︙ | |||
110 111 112 113 114 115 116 117 118 119 120 | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | + + + | #ifdef OF_THREADS thread_tests(); #endif xmlelement_tests(); xmlparser_tests(); #ifdef OF_PLUGINS plugin_tests(); #endif #ifdef OF_HAVE_PROPERTIES properties_tests(); #endif return fails; } |
Added tests/properties.m version [42cc65144e].
|