@@ -40,25 +40,7 @@ public void NativeAot_hw_runs_with_no_warnings_when_PublishAot_is_enabled(string
40
40
{
41
41
testProject . AdditionalProperties [ "StripSymbols" ] = "true" ;
42
42
}
43
- var testAsset = _testAssetsManager . CreateTestProject ( testProject , identifier : targetFramework ) ;
44
-
45
- string [ ] ignoredPatterns = null ;
46
-
47
- if ( RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) )
48
- {
49
- ignoredPatterns = new string [ ]
50
- {
51
- // Both these exclusions can be removed once the min tested version is .NET 10 and the min supported
52
- // XCode version is XCode 16.
53
-
54
- // -ld_classic option is required to workaround bugs in XCode 15 and .NET 9 and older runtimes.
55
- // See https://github.com/dotnet/runtime/issues/97745 for details.
56
- "ld: warning: -ld_classic is deprecated and will be removed in a future release" ,
57
- // These warnings show up when dotnet/runtime compiled using Apple clang 15+ is used
58
- // with classic linker (either Apple clang 14 or clang 15+ with -ld_classic).
59
- "ld: warning: __LD,__compact_unwind entries for" ,
60
- } ;
61
- }
43
+ var testAsset = _testAssetsManager . CreateTestProject ( testProject ) ;
62
44
63
45
var publishCommand = new PublishCommand ( Log , Path . Combine ( testAsset . TestRoot , testProject . Name ) ) ;
64
46
publishCommand
@@ -67,7 +49,7 @@ public void NativeAot_hw_runs_with_no_warnings_when_PublishAot_is_enabled(string
67
49
. And . NotHaveStdOutContaining ( "IL2026" )
68
50
. And . NotHaveStdErrContaining ( "NETSDK1179" )
69
51
. And . NotHaveStdErrContaining ( "warning" )
70
- . And . NotHaveStdOutContaining ( "warning" , ignoredPatterns ) ;
52
+ . And . NotHaveStdOutContaining ( "warning" ) ;
71
53
72
54
var buildProperties = testProject . GetPropertyValues ( testAsset . TestRoot , targetFramework ) ;
73
55
var rid = buildProperties [ "NETCoreSdkPortableRuntimeIdentifier" ] ;
0 commit comments