Skip to content

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Feb 16, 2023

Test-only changes

Run tests using a copy of the Dart SDK directory so we don't pollute the default one with generated assets.

  • Pass a TestSdkConfigurationProvider toTestContext contsructor.
  • Make tests create and dispose of the SDK configuration provider as needed.
  • Make sure all commands run from tests use dart executable from the SDK copy.

Closes: #1985
Towards: #1878

@annagrin annagrin changed the title Run tests in a copy of the sdk directory Run dwds tests in a copy of the sdk directory Feb 23, 2023
@annagrin annagrin closed this Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run tests in a copy of the sdk directory
1 participant