Skip to content
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

fix(dart_test_adapter): use valid SDK executable for tests #18

Closed

Conversation

mrverdant13
Copy link

Details

Retrieve de default SDK executable by checking the available runnable files for both Dart and Flutter, keeping their priority order according to the environment, and filtering them as follows:

  • For Windows: Valid extensions are .exe and .bat.
  • For other platforms: Valid extensions are .sh and (no extension).

This filtering step is required since Dart and Flutter installation includes all possible executables (no matter the target platform) and the Process.start does not validate if they are actually runnable in the client platform.

Related Issues

@Salakar
Copy link
Contributor

Salakar commented Mar 21, 2022

@mrverdant13 great start on this, let me know when you think it's ready for review. I noticed some tests are still failing explicitly relating to these changes

@rrousselGit
Copy link
Contributor

👋

Do you still plan on working on this?

@rrousselGit
Copy link
Contributor

It appears that you have given-up on this PR, so I'll close this.

Feel free to open a new PR if you want to resume this :)

@rrousselGit rrousselGit closed this Mar 8, 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.

Error running spec on Windows
3 participants