~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to test_on_merge.py

  • Committer: Bjorn Tillenius
  • Date: 2010-01-05 09:57:47 UTC
  • mto: This revision was merged to the branch mainline in revision 10132.
  • Revision ID: bjorn@canonical.com-20100105095747-kuv90xvkpxgprlyc
Run xvfb-run inside test_on_merge.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
 
138
138
    print 'Running tests.'
139
139
    os.chdir(here)
140
 
    cmd = [os.path.join(here, 'bin', 'test')] + sys.argv[1:]
 
140
    cmd = [
 
141
        'xvfb-run',
 
142
        '-s',
 
143
        "'-screen 0 1024x768x24'",
 
144
        os.path.join(here, 'bin', 'test')] + sys.argv[1:]
141
145
    print ' '.join(cmd)
142
146
 
143
147
    # Run the test suite and return the error code