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?
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 :)
On Fri, Feb 5, 2010 at 3:42 PM, Tejas Shah <tejass...@chromium.org> wrote: > 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
The easiest way is to use the dev server http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/using... (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).
On Fri, Feb 5, 2010 at 5:06 PM, Robert Ginda <rgi...@chromium.org> wrote: > 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.
> On Fri, Feb 5, 2010 at 3:42 PM, Tejas Shah <tejass...@chromium.org> wrote: >> 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
The easiest way is to use the dev server http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/using... (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).
> On Fri, Feb 5, 2010 at 5:06 PM, Robert Ginda <rgi...@chromium.org> wrote: >> 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.
>> On Fri, Feb 5, 2010 at 3:42 PM, Tejas Shah <tejass...@chromium.org> wrote: >>> 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
On Fri, Feb 5, 2010 at 6:22 PM, Chris Sosa <s...@chromium.org> wrote: > The easiest way is to use the dev server
> http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/using... > (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
> > On Fri, Feb 5, 2010 at 5:06 PM, Robert Ginda <rgi...@chromium.org> > wrote: > >> 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.
> >> On Fri, Feb 5, 2010 at 3:42 PM, Tejas Shah <tejass...@chromium.org> > wrote: > >>> 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