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

Allows executing the tests with a runner #92

Closed
malbarbo opened this issue Dec 22, 2017 · 2 comments
Closed

Allows executing the tests with a runner #92

malbarbo opened this issue Dec 22, 2017 · 2 comments

Comments

@malbarbo
Copy link
Contributor

Consider reading the cargo runner parameter or adding an alternative way to specify the test runner. This would allows testing cross compiled tests (for now, one must rely on binfmt).

@laumann
Copy link
Collaborator

laumann commented Dec 27, 2017

If I understand the runner thing right, specifying something like "bash" or "python" would make cargo run those with the compiled program as first parameter?

I'm not sure what this should look like in compiletest, maybe a configuration parameter or something?

@malbarbo
Copy link
Contributor Author

If I understand the runner thing right, specifying something like "bash" or "python" would make cargo run those with the compiled program as first parameter?

Yes. But guess what? The Config::runtool options does exactly that! It is used to run valgrind, but I was able to it to run qemu.

Thanks!

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