Differences From Artifact [5857cdc712]:
- File
tests/OFSystemInfoTests.m
— part of check-in
[dc0c6c34ab]
at
2019-02-17 22:44:23
on branch trunk
— tests: Only import ObjFW.h
This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. (user: js, size: 2711) [annotate] [blame] [check-ins using]
To Artifact [98cec1ab7b]:
- File tests/OFSystemInfoTests.m — part of check-in [2447bb2967] at 2019-04-23 00:12:17 on branch trunk — OFSystemInfo: Add +[CPUModel] (user: js, size: 2770) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
60 61 62 63 64 65 66 67 68 69 70 71 72 73 | } @catch (OFNotImplementedException *e) { userDataPath = @"Not implemented"; } PRINT(GREEN, @"User data path: %@", userDataPath); #endif PRINT(GREEN, @"CPU vendor: %@", [OFSystemInfo CPUVendor]); #if defined(OF_X86_64) || defined(OF_X86) PRINT(GREEN, @"Supports MMX: %d", [OFSystemInfo supportsMMX]); PRINT(GREEN, @"Supports SSE: %d", [OFSystemInfo supportsSSE]); PRINT(GREEN, @"Supports SSE2: %d", [OFSystemInfo supportsSSE2]); | > > | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | } @catch (OFNotImplementedException *e) { userDataPath = @"Not implemented"; } PRINT(GREEN, @"User data path: %@", userDataPath); #endif PRINT(GREEN, @"CPU vendor: %@", [OFSystemInfo CPUVendor]); PRINT(GREEN, @"CPU model: %@", [OFSystemInfo CPUModel]); #if defined(OF_X86_64) || defined(OF_X86) PRINT(GREEN, @"Supports MMX: %d", [OFSystemInfo supportsMMX]); PRINT(GREEN, @"Supports SSE: %d", [OFSystemInfo supportsSSE]); PRINT(GREEN, @"Supports SSE2: %d", [OFSystemInfo supportsSSE2]); |
︙ | ︙ |