ObjFW  Check-in [8d5e62c432]

Overview
Comment:RuntimeARCTests: Limit Windows hack to x86_64
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8d5e62c4329debc8bcc1ebbf369f07168862143299845f6755b32b15ae79e12c
User & Date: js on 2022-10-02 21:04:24
Other Links: manifest | tags
Context
2022-10-03
00:39
OFURI: Rewrite parser to support URIs check-in: c75059a52f user: js tags: trunk
2022-10-02
21:04
RuntimeARCTests: Limit Windows hack to x86_64 check-in: 8d5e62c432 user: js tags: trunk
2022-09-29
22:08
Fix tests on Nintendo consoles & PSP check-in: 01199db504 user: js tags: trunk
Changes

Modified tests/RuntimeARCTests.m from [3a41eba7d4] to [62782bae47].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@end

@implementation RuntimeARCTest
- (instancetype)init
{
	self = [super init];

#ifdef OF_WINDOWS
	/*
	 * Clang has a bug on Windows where it creates an invalid call into
	 * objc_retainAutoreleasedReturnValue(). Work around it by not using an
	 * autoreleased exception.
	 */
	@throw [[OFException alloc] init];
#else







|







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@end

@implementation RuntimeARCTest
- (instancetype)init
{
	self = [super init];

#if defined(OF_WINDOWS) && defined(OF_X86_64)
	/*
	 * Clang has a bug on Windows where it creates an invalid call into
	 * objc_retainAutoreleasedReturnValue(). Work around it by not using an
	 * autoreleased exception.
	 */
	@throw [[OFException alloc] init];
#else