fix(dart_test_adapter): use valid SDK executable for tests
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
.exeand.bat. - For other platforms: Valid extensions are
.shand(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
- Closes #14
@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
:wave:
Do you still plan on working on this?
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 :)