How to package and include Chrome Tests (e.g. UI_Tests) into ChromeOS Image

2 views
Skip to first unread message

Tejas Shah

unread,
Feb 5, 2010, 6:42:00 PM2/5/10
to chromiu...@chromium.org
Hi,

Recently, I was trying to port UI_Tests from Chrome to ChromeOS. I was able to build and run these test on linux.I am not sure on how to get these test packaged and included in ChromeOS Image. I started looking at scripts like build_platform_packages.sh and build_image.sh. Is anyone familiar with how to get those test packaged and included on ChromeOS Image.

Is anyone working or worked on porting these chrome UI_tests to ChromeOS ? Can someone familiar with build system help me get these test packages imported into ChromeOS image?

Thanks,
Tejas


Robert Ginda

unread,
Feb 5, 2010, 8:06:04 PM2/5/10
to Tejas Shah, chromiu...@chromium.org
I'm just getting started on this task myself. My plan was to try to
package the tests and their deps on a usb key, rather than bake them
in to the image. Not sure yet if the plan would be to copy the tests
on to the stateful partition, or run them right off the key.

I have no experience with chrome tests, so I expect it'll take me a
few days to get something running. Frankly, I'm still struggling with
getting a chromium-for-chromiumos build that doesn't crash on startup
:)


Rob.

Chris Sosa

unread,
Feb 5, 2010, 9:22:16 PM2/5/10
to Robert Ginda, Tejas Shah, chromiu...@chromium.org
The easiest way is to use the dev server
http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/using-the-dev-server
(check out devkit-install that is mentioned later). This will get
sshfs onto your system. What I do after that is I mount my Release
folder (for Chromium builds) onto a directory on my target machine.
This let's me run the tests from within the target (note you'll need
to run sudo /sbin/modprobe fuse before sshfs works for you).

Note, make sure you build the tests with the same flags that Chromium
is built with for Chromium OS (check out build_chrome.sh under
~/chromiumos/src/scripts).

-Sosa

--
Chris Sosa
Software Engineer
Chrome OS
Google

Chris Sosa

unread,
Feb 5, 2010, 9:22:57 PM2/5/10
to Robert Ginda, Tejas Shah, chromiu...@chromium.org

Tejas Shah

unread,
Feb 7, 2010, 3:13:28 AM2/7/10
to Chris Sosa, Robert Ginda, chromiu...@chromium.org
Thanks Chris ! I will try out as you suggested and will get back to you if any questions.

Thanks,
Tejas
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages