← Back to team overview

ubuntu-phone team mailing list archive

Re: camera-app vs. webbrowser-app autopilot dependencies

 

On Thu, Oct 24, 2013 at 8:41 PM, Leo Arias <leo.arias@xxxxxxxxxxxxx> wrote:

> We get this error on the devices:
>
> qmlscene: could not find a Qt installation of ''
>
>
And locally here...

$ phablet-test-run
ubuntu_terminal_app.tests.test_terminal.TestMainWindow.test_circle_menu_shows
adbd is already running as root
Loading tests from: /home/phablet/autopilot

Tests running...
initctl: Unknown instance: com.ubuntu.terminal_terminal_0.5.27

Ran 1 test in 11.627s
OK
sergiusens@chrubuntu:~$ phablet-test-run
ubuntu_terminal_app.tests.test_terminal.TestMainWindow.test_circle_menu_shows
adbd is already running as root
Loading tests from: /home/phablet/autopilot

Tests running...
qt5
initctl: Unknown instance: com.ubuntu.terminal_terminal_0.5.27

Ran 1 test in 11.609s
OK


==

The qt5 line in that output is a print os.environ['QT_SELECT'] inside the
def launch_, so phablet-test-run and autopilot themselves are not eating up
the var.

Same for webbrowser, for this one, I'm testing on the readonly image, so to
remove doubt:
-bash: dpkg-architecture: command not found

$ phablet-test-run
webbrowser_app.tests.test_activity.TestActivity.test_validating_url_hides_activity_view
adbd is already running as root
Loading tests from: /home/phablet/autopilot

Tests running...
now serving on port 12345
qt5
127.0.0.1 - - [25/Oct/2013 00:19:03] "GET /loremipsum HTTP/1.1" 200 -
127.0.0.1 - - [25/Oct/2013 00:19:03] "GET /loremipsum HTTP/1.1" 200 -
----------------------------------------
127.0.0.1 - - [25/Oct/2013 00:19:20] "GET /aleaiactaest HTTP/1.1" 200 -
127.0.0.1 - - [25/Oct/2013 00:19:20] "GET /aleaiactaest HTTP/1.1" 200 -

Ran 1 test in 21.524s
OK

I see that the jenkins job uses a specific job/test script wrapping
phablet-test-run here[1], I'll look into that and the uitoolkit specific
tests on the morrow.

Cheers
Sergio

[1]
http://bazaar.launchpad.net/~canonical-ci-engineering/jenkins-launchpad-plugin/autopilot-testrunner-touch-saucy/view/head:/mediumtests-runner-touch.sh

Follow ups

References