-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Reduce specific test executions times #48405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ public void ILLink_runs_and_creates_linked_app(string targetFramework, bool refe | |
} | ||
|
||
[RequiresMSBuildVersionTheory("17.0.0.32901")] | ||
[MemberData(nameof(SupportedTfms), MemberType = typeof(PublishTestUtils))] | ||
[MemberData(nameof(Net8Plus), MemberType = typeof(PublishTestUtils))] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe just remove the unsupported TFMs from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @agocke I interpreted "SupprotedTfms" as being supported for the feature, not in support as it goes back to netcoreapp3.1 and has been for a while. These are your tests so happy to change what supported means here to be the same as net8plus for the moment. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When I added that I actually meant it as "the SDK is in support", but I can clean this up later |
||
public void ILLink_links_simple_app_without_analysis_warnings_and_it_runs(string targetFramework) | ||
{ | ||
foreach (var trimMode in new[] { "copyused", "link" }) | ||
|
@@ -248,7 +248,7 @@ public void ILLink_can_use_latest_with_unsupported_target_framework(string targe | |
} | ||
|
||
[RequiresMSBuildVersionTheory("17.0.0.32901")] | ||
[MemberData(nameof(SupportedTfms), MemberType = typeof(PublishTestUtils))] | ||
[MemberData(nameof(Net8Plus), MemberType = typeof(PublishTestUtils))] | ||
public void PrepareForILLink_can_set_IsTrimmable(string targetFramework) | ||
{ | ||
var projectName = "HelloWorld"; | ||
|
@@ -1192,7 +1192,7 @@ public void ILLink_ignores_host_config_settings_with_link_false() | |
} | ||
|
||
[RequiresMSBuildVersionTheory("17.0.0.32901")] | ||
[MemberData(nameof(SupportedTfms), MemberType = typeof(PublishTestUtils))] | ||
[MemberData(nameof(Net8Plus), MemberType = typeof(PublishTestUtils))] | ||
public void ILLink_runs_incrementally(string targetFramework) | ||
{ | ||
var projectName = "HelloWorld"; | ||
|
@@ -1295,7 +1295,7 @@ public void ILLink_net7_defaults_trim_nonframework() | |
} | ||
|
||
[RequiresMSBuildVersionTheory("17.0.0.32901")] | ||
[MemberData(nameof(SupportedTfms), MemberType = typeof(PublishTestUtils))] | ||
[MemberData(nameof(Net8Plus), MemberType = typeof(PublishTestUtils))] | ||
public void ILLink_does_not_include_leftover_artifacts_on_second_run(string targetFramework) | ||
{ | ||
var projectName = "HelloWorld"; | ||
|
@@ -1381,7 +1381,7 @@ public void ILLink_keeps_symbols_by_default(string targetFramework) | |
} | ||
|
||
[RequiresMSBuildVersionTheory("17.0.0.32901")] | ||
[MemberData(nameof(SupportedTfms), MemberType = typeof(PublishTestUtils))] | ||
[MemberData(nameof(Net8Plus), MemberType = typeof(PublishTestUtils))] | ||
public void ILLink_removes_symbols_when_debugger_support_is_disabled(string targetFramework) | ||
{ | ||
var projectName = "HelloWorld"; | ||
|
@@ -1409,7 +1409,7 @@ public void ILLink_removes_symbols_when_debugger_support_is_disabled(string targ | |
} | ||
|
||
[RequiresMSBuildVersionTheory("17.0.0.32901")] | ||
[MemberData(nameof(SupportedTfms), MemberType = typeof(PublishTestUtils))] | ||
[MemberData(nameof(Net8Plus), MemberType = typeof(PublishTestUtils))] | ||
public void ILLink_accepts_option_to_remove_symbols(string targetFramework) | ||
{ | ||
var projectName = "HelloWorld"; | ||
|
@@ -1660,7 +1660,7 @@ public void ILLink_dont_display_informational_warning_by_default_on_net6plus(str | |
} | ||
|
||
[RequiresMSBuildVersionTheory("17.0.0.32901")] | ||
[MemberData(nameof(SupportedTfms), MemberType = typeof(PublishTestUtils))] | ||
[MemberData(nameof(Net8Plus), MemberType = typeof(PublishTestUtils))] | ||
public void ILLink_dont_display_time_awareness_message_on_incremental_build(string targetFramework) | ||
{ | ||
var projectName = "HelloWorld"; | ||
|
Uh oh!
There was an error while loading. Please reload this page.