FFE: new binary package for automatically setting up phonesim

Bug #1236708 reported by Martin Pitt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono-phonesim (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

I am currently writing automatic tests for dialer-app (lp:~canonical-platform-qa/dialer-app/call-tests), and soon for messaging-app. To run these in our CI machinery without depending on particular hardware we need to run ofono with phonesim. That's a non-trivial thing to set up, and requires root. We figured that the best thing was to create a new binary package "ofono-phonesim-autostart" or similar which would ship an upstart job that sets up ofono and phonesim on installation and tears it down again on removal (or "sudo stop ofono-phonesim"). With that, the actual tests would not need to run anything as root and just need to specify that new package as a test dependency. That way it is equally easy to add autopkgtests to packages which want to test some phone-y bits.

I ask for an FFE to put a new "with-ofono-phonesim" shell script into ofono-phonesim (http://bazaar.launchpad.net/~canonical-platform-qa/dialer-app/call-tests/view/head:/tests/with-ofono-phonesim) and create above new binary package with just the upstart job. This is *not* meant to be installed by default on any image of course, it should just be available in universe.

Martin Pitt (pitti)
Changed in ofono-phonesim (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
milestone: none → ubuntu-13.10
Revision history for this message
Adam Conrad (adconrad) wrote :

Approved, go nuts.

Martin Pitt (pitti)
Changed in ofono-phonesim (Ubuntu):
status: New → In Progress
Martin Pitt (pitti)
Changed in ofono-phonesim (Ubuntu):
status: In Progress → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono-phonesim - 1.19-0ubuntu2

---------------
ofono-phonesim (1.19-0ubuntu2) saucy; urgency=low

  * Add debian/local/with-ofono-phonesim: Script to set up ofono to run with
    the phone simulator. The script can either be invoked without arguments
    and run until Control-C, or run a program (with arguments), in which case
    everything will be restored when the program ends.
  * Add ofono-phonesim-autostart package with an upstart job that runs
    with-ofono-phonesim automatically on package install and boot. Continuous
    integration testing of ofono consumers can use this as a test dependency.
    (LP: #1236708)
  * Add autopkgtest for ofono-phonesim-autostart package.
 -- Martin Pitt <email address hidden> Tue, 08 Oct 2013 11:08:20 +0200

Changed in ofono-phonesim (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.