Skip to content

pub run test -p dartium looks for the dartium binary; the binary is actually named chrome #24616

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

Closed
jiridanek opened this issue Oct 17, 2015 · 1 comment

Comments

@jiridanek
Copy link

I'm running dart test using the test package..

pub run test -p dartium

When I execute the command above, I get the following error.

Failed to run Dartium: No such file or directory
    Command: dartium --user-data-dir=/tmp/dart_test_pLppGJ http://localhost:59531/nI6HuPYC2TYNlxlFC2UiMNf4eBs9I0iJ/packages/test/src/runner/browser/static/index.html?managerUrl=ws%3A%2F%2Flocalhost%3A59531%2FnI6HuPYC2TYNlxlFC2UiMNf4eBs9I0iJ%2F0 --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate.
dart:isolate  _RawReceivePortImpl._handleMessage

I have both dartium and dart.sdk downloaded and in PATH.
The version is 1.13.0-dev.7.0 (Wed Oct 14 06:04:50 2015) on "linux_x64"

The same issue was discussed four months ago at https://stackoverflow.com/questions/30675583/failed-to-load-dartium-when-running-test
The solution described there, ln -s chrome dartium in the directory where I unpacked Dartium works for me.

I would expect pub run test to work without me having to create any symlinks.

@kevmoo
Copy link
Member

kevmoo commented Oct 18, 2015

This issue was moved to dart-lang/test#353

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

No branches or pull requests

2 participants