diff options
Diffstat (limited to 'linker/Tests/TestCasesRunner/LinkerArgumentBuilder.cs')
-rw-r--r-- | linker/Tests/TestCasesRunner/LinkerArgumentBuilder.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linker/Tests/TestCasesRunner/LinkerArgumentBuilder.cs b/linker/Tests/TestCasesRunner/LinkerArgumentBuilder.cs index 09c728e03..4c2a4e5a5 100644 --- a/linker/Tests/TestCasesRunner/LinkerArgumentBuilder.cs +++ b/linker/Tests/TestCasesRunner/LinkerArgumentBuilder.cs @@ -50,5 +50,19 @@ namespace Mono.Linker.Tests.TestCasesRunner { { _arguments.Add (arg); } + + public virtual void ProcessOptions (TestCaseLinkerOptions options) + { + AddCoreLink (options.CoreLink); + + // Running the blacklist step causes a ton of stuff to be preserved. That's good for normal use cases, but for + // our test cases that pollutes the results + if (!string.IsNullOrEmpty (options.IncludeBlacklistStep)) + IncludeBlacklist (options.IncludeBlacklistStep); + + // Internationalization assemblies pollute our test case results as well so disable them + if (!string.IsNullOrEmpty (options.Il8n)) + AddIl8n (options.Il8n); + } } }
\ No newline at end of file |