Differences From Artifact [bc94edf915]:
- File
tests/OFSystemInfoTests.m
— part of check-in
[43c80a7593]
at
2023-05-21 17:47:10
on branch trunk
— Change how +[OFSystemInfo networkInterfaces] works
This removes functionality which will be restored later. (user: js, size: 3745) [annotate] [blame] [check-ins using]
To Artifact [4c99d3ac50]:
- File tests/OFSystemInfoTests.m — part of check-in [ef03831928] at 2023-06-04 15:33:55 on branch trunk — Improve API for +[OFSystemInfo networkInterfaces] (user: js, size: 4013) [annotate] [blame] [check-ins using]
︙ | |||
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_HAVE_SOCKETS 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 | + - - + + + + + + + + + + | #ifdef OF_POWERPC [OFStdOut writeFormat: @"[OFSystemInfo] Supports AltiVec: %d\n", [OFSystemInfo supportsAltiVec]]; #endif #ifdef OF_HAVE_SOCKETS networkInterfaces = [OFSystemInfo networkInterfaces]; |