Differences From Artifact [f271eb5ab9]:
- File tests/OFSystemInfoTests.m — part of check-in [79c5eeefcc] at 2023-05-20 20:54:17 on branch trunk — OFSocketAddressString: Add AppleTalk support (user: js, size: 5439) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
17 18 19 20 21 22 23 | #import "TestsAppDelegate.h" @implementation TestsAppDelegate (OFSystemInfoTests) - (void)systemInfoTests { void *pool = objc_autoreleasePoolPush(); | < < < < | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #import "TestsAppDelegate.h" @implementation TestsAppDelegate (OFSystemInfoTests) - (void)systemInfoTests { void *pool = objc_autoreleasePoolPush(); [OFStdOut setForegroundColor: [OFColor lime]]; [OFStdOut writeFormat: @"[OFSystemInfo] Page size: %zd\n", [OFSystemInfo pageSize]]; [OFStdOut writeFormat: @"[OFSystemInfo] Number of CPUs: %zd\n", |
︙ | ︙ | |||
107 108 109 110 111 112 113 | #endif #ifdef OF_POWERPC [OFStdOut writeFormat: @"[OFSystemInfo] Supports AltiVec: %d\n", [OFSystemInfo supportsAltiVec]]; #endif | | | | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | #endif #ifdef OF_POWERPC [OFStdOut writeFormat: @"[OFSystemInfo] Supports AltiVec: %d\n", [OFSystemInfo supportsAltiVec]]; #endif #ifdef OF_HAVE_SOCKETS [OFStdOut writeFormat: @"[OFSystemInfo] Network interfaces: %@\n", [[OFSystemInfo networkInterfaces] componentsJoinedByString: @", "]]; #endif objc_autoreleasePoolPop(pool); } @end |