[odoo] tests of webkit reports

Bug #1323234 reported by Georges Racinet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP buildbot configurator
Fix Committed
Undecided
Unassigned

Bug Description

Some addons (account) have tests that involve actual rendering of webkit based reports.
These require a working wkhtmltopdf (preferably >= 0.12) and the setting the DISPLAY environment variable to point on an available X server (the typical buildslave being headleass, this will be a xvfb instance in most setups).

We'll need a new capability to indicate the availability of wkhtmltopdf, with a 'display' option to indicate the X server, if different from the default :0

Example:

    wkhtmpltopdf 0.12 display=:1

Note for Debian: wkhtmltopdf 0.12 landed in wheezy-backports a week ago.

Changed in anybox.buildbot.openerp:
milestone: none → 1.0
Revision history for this message
Georges Racinet (gracinet) wrote :

Done, the version number is mandatory to have the DISPLAY environment variable correctly set.
Examples:

   wkhtmltopdf 0.12
   wkhtmltopdf 0.12 display=:1

Changed in anybox.buildbot.openerp:
status: New → Fix Committed
Revision history for this message
Georges Racinet (gracinet) wrote :

And also, the wkhtmltopdf capability must be explicitely declared in build-requires to trigger the environment variable setting.

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.