Skip to content

Conversation

@nfraprado
Copy link

This new parameter can be used as:

  virtme-run --kdir ~/repos/builds/virtme-x86_64 --script-dir test/

And virtme will run any *.sh script in ./test dir in the guest.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>

I'd like to upstream this patch from @ezequielgarcia (ezequielgarcia@c7760c7). I'm aware of --script-sh, but it only allows a single command, and, more importantly, it cannot be used together with --graphics. So, for the use case of automatically running tests on a graphical environment, --script-dir is a must.

Signed-off-by: Nícolas F. R. A. Prado nfraprado@collabora.com

This new parameter can be used as:

  virtme-run --kdir ~/repos/builds/virtme-x86_64 --script-dir test/

And virtme will run any *.sh script in ./test dir in the guest.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
@fooishbar
Copy link

FWIW we've been using this within Weston and it's been really helpful to us.

@musamaanjum
Copy link

I've just tested it and it works. Thanks.

@marcosps
Copy link
Contributor

@amluto can you please check?

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.

5 participants