File tree Expand file tree Collapse file tree 2 files changed +7
-15
lines changed
tests/ImageSharp.Tests/Memory/Allocators Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 2
2
// Licensed under the Six Labors Split License.
3
3
4
4
using System . Runtime . CompilerServices ;
5
- #if NET7_0_OR_GREATER
6
5
using System . Runtime . InteropServices ;
7
- #endif
8
6
using Microsoft . DotNet . RemoteExecutor ;
9
7
using SixLabors . ImageSharp . Memory . Internals ;
10
8
@@ -69,13 +67,11 @@ public void MultiplePoolInstances_TrimPeriodElapsed_AllAreTrimmed()
69
67
return ;
70
68
}
71
69
72
- #if NET7_0_OR_GREATER
73
- if ( TestEnvironment . OSArchitecture == Architecture . Arm64 )
74
- {
75
- // Skip on .NET7 ARM64: https://github.com/SixLabors/ImageSharp/issues/2342
76
- return ;
77
- }
78
- #endif
70
+ if ( TestEnvironment . OSArchitecture == Architecture . Arm64 )
71
+ {
72
+ // Skip on ARM64: https://github.com/SixLabors/ImageSharp/issues/2342
73
+ return ;
74
+ }
79
75
80
76
RemoteExecutor . Invoke ( RunTest ) . Dispose ( ) ;
81
77
Original file line number Diff line number Diff line change @@ -261,13 +261,11 @@ public void AllocateMemoryGroup_Finalization_ReturnsToPool(int length)
261
261
return ;
262
262
}
263
263
264
- #if NET7_0_OR_GREATER
265
264
if ( TestEnvironment . OSArchitecture == Architecture . Arm64 )
266
265
{
267
- // Skip on .NET7 ARM64: https://github.com/SixLabors/ImageSharp/issues/2342
266
+ // Skip on ARM64: https://github.com/SixLabors/ImageSharp/issues/2342
268
267
return ;
269
268
}
270
- #endif
271
269
272
270
if ( ! TestEnvironment . RunsOnCI )
273
271
{
@@ -331,13 +329,11 @@ public void AllocateSingleMemoryOwner_Finalization_ReturnsToPool(int length)
331
329
return ;
332
330
}
333
331
334
- #if NET7_0_OR_GREATER
335
332
if ( TestEnvironment . OSArchitecture == Architecture . Arm64 )
336
333
{
337
- // Skip on .NET7 ARM64: https://github.com/SixLabors/ImageSharp/issues/2342
334
+ // Skip on ARM64: https://github.com/SixLabors/ImageSharp/issues/2342
338
335
return ;
339
336
}
340
- #endif
341
337
342
338
if ( ! TestEnvironment . RunsOnCI )
343
339
{
You can’t perform that action at this time.
0 commit comments