Overview
Comment: | tests: Print network interface addresses |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f902c447edf92885230cedac19fe06b6 |
User & Date: | js on 2023-04-23 19:49:47 |
Other Links: | manifest | tags |
Context
2023-04-24
| ||
17:21 | OFSystemInfo: Get MAC address on BSD-like systems check-in: 285c76be40 user: js tags: trunk | |
2023-04-23
| ||
19:49 | tests: Print network interface addresses check-in: f902c447ed user: js tags: trunk | |
12:00 | PLATFORMS.md: Update Solaris check-in: 6b8ce15d4d user: js tags: trunk | |
Changes
Modified tests/OFSystemInfoTests.m from [79a55a5faf] to [646021bd53].
︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + + + + | #import "TestsAppDelegate.h" @implementation TestsAppDelegate (OFSystemInfoTests) - (void)systemInfoTests { void *pool = objc_autoreleasePoolPush(); #ifdef OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES OFDictionary *networkInterfaces; bool firstInterface = true; #endif [OFStdOut setForegroundColor: [OFColor lime]]; [OFStdOut writeFormat: @"[OFSystemInfo] Page size: %zd\n", [OFSystemInfo pageSize]]; [OFStdOut writeFormat: @"[OFSystemInfo] Number of CPUs: %zd\n", |
︙ | |||
104 105 106 107 108 109 110 | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | #ifdef OF_POWERPC [OFStdOut writeFormat: @"[OFSystemInfo] Supports AltiVec: %d\n", [OFSystemInfo supportsAltiVec]]; #endif #ifdef OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES |