Merge lp:~hggdh2/qa-regression-testing/qrt-checkbox into lp:qa-regression-testing

Proposed by C de-Avillez
Status: Merged
Merged at revision: 944
Proposed branch: lp:~hggdh2/qa-regression-testing/qrt-checkbox
Merge into: lp:qa-regression-testing
Diff against target: 530 lines (+441/-3)
13 files modified
scripts/test-apache2-mpm-event.py (+47/-0)
scripts/test-apache2-mpm-itk.py (+47/-0)
scripts/test-apache2-mpm-perchild.py (+47/-0)
scripts/test-apache2-mpm-prefork.py (+47/-0)
scripts/test-apache2-mpm-worker.py (+47/-0)
scripts/test-apache2.py (+2/-2)
scripts/test-freeradius.py (+2/-1)
scripts/test-python2.4.py (+42/-0)
scripts/test-python2.5.py (+42/-0)
scripts/test-python2.6.py (+42/-0)
scripts/test-ruby.py (+2/-0)
scripts/test-ruby1.8.py (+37/-0)
scripts/test-ruby1.9.py (+37/-0)
To merge this branch: bzr merge lp:~hggdh2/qa-regression-testing/qrt-checkbox
Reviewer Review Type Date Requested Status
Marc Deslauriers Approve
Review via email: mp+35864@code.launchpad.net

Description of the change

Checkbox integration:

under ./scripts/:
1. added (wrappers scripts; all call on the corresponding base script, setting correct dependencies):
test-apache2-mpm-event.py
test-apache2-mpm-itk.py
test-apache2-mpm-perchild.py
test-apache2-mpm-prefork.py
test-apache2-mpm-worker.py
test-python2.4.py
test-python2.5.py
test-python2.6.py
test-ruby1.8.py
test-ruby1.9.py

2. Adjusted:

test-freeradius.py
test-ruby.py

These changes also require corresponding jobs for checkbox; a checkbox merge will be requested when this merge is approved.

To post a comment you must log in.
Revision history for this message
Marc Deslauriers (mdeslaur) :
review: Approve
944. By Marc Deslauriers

Merged: C de-Avillez 2010-09-17 checkbox integration

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'scripts/test-apache2-mpm-event.py'
2--- scripts/test-apache2-mpm-event.py 1970-01-01 00:00:00 +0000
3+++ scripts/test-apache2-mpm-event.py 2010-09-17 18:36:54 +0000
4@@ -0,0 +1,47 @@
5+#!/usr/bin/python
6+#
7+# test-apache2-mpm-event.py quality assurance test script
8+# script wrapper for usage under Checkbox
9+# Copyright (C) 2010 Canonical Ltd.
10+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
11+#
12+# This program is free software: you can redistribute it and/or modify
13+# it under the terms of the GNU General Public License version 2,
14+# as published by the Free Software Foundation.
15+#
16+# This program is distributed in the hope that it will be useful,
17+# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+# GNU General Public License for more details.
20+#
21+# You should have received a copy of the GNU General Public License
22+# along with this program. If not, see <http://www.gnu.org/licenses/>.
23+#
24+
25+'''
26+ *** IMPORTANT ***
27+ DO NOT RUN ON A PRODUCTION SERVER.
28+ *** IMPORTANT ***
29+
30+ How to run:
31+ $ sudo apt-get remove --purge apache2-*
32+ $ sudo apt-get install apache2-mpm-event
33+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
34+'''
35+
36+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
37+# QRT-Packages: apache2-mpm-event libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
38+# QRT-Privilege: root
39+
40+import subprocess
41+import sys
42+
43+if __name__ == '__main__':
44+ print 'apache-mpm-event regression tests'
45+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
46+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
47+ prc = subprocess.Popen([ 'python', './test-apache2.py'],
48+ stdout=sys.stdout,
49+ stderr=subprocess.STDOUT)
50+ prc.wait()
51+ sys.exit(prc.returncode)
52
53=== added file 'scripts/test-apache2-mpm-itk.py'
54--- scripts/test-apache2-mpm-itk.py 1970-01-01 00:00:00 +0000
55+++ scripts/test-apache2-mpm-itk.py 2010-09-17 18:36:54 +0000
56@@ -0,0 +1,47 @@
57+#!/usr/bin/python
58+#
59+# test-apache2-mpm-itk.py quality assurance test script
60+# script wrapper for usage under Checkbox
61+# Copyright (C) 2010 Canonical Ltd.
62+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
63+#
64+# This program is free software: you can redistribute it and/or modify
65+# it under the terms of the GNU General Public License version 2,
66+# as published by the Free Software Foundation.
67+#
68+# This program is distributed in the hope that it will be useful,
69+# but WITHOUT ANY WARRANTY; without even the implied warranty of
70+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71+# GNU General Public License for more details.
72+#
73+# You should have received a copy of the GNU General Public License
74+# along with this program. If not, see <http://www.gnu.org/licenses/>.
75+#
76+
77+'''
78+ *** IMPORTANT ***
79+ DO NOT RUN ON A PRODUCTION SERVER.
80+ *** IMPORTANT ***
81+
82+ How to run:
83+ $ sudo apt-get remove --purge apache2-*
84+ $ sudo apt-get install apache2-mpm-itk
85+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
86+'''
87+
88+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
89+# QRT-Packages: apache2-mpm-itk libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
90+# QRT-Privilege: root
91+
92+import subprocess
93+import sys
94+
95+if __name__ == '__main__':
96+ print 'apache-mpm-itk regression tests'
97+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
98+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
99+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
100+ stdout=sys.stdout,
101+ stderr=subprocess.STDOUT)
102+ prc.wait()
103+ sys.exit(prc.returncode)
104
105=== added file 'scripts/test-apache2-mpm-perchild.py'
106--- scripts/test-apache2-mpm-perchild.py 1970-01-01 00:00:00 +0000
107+++ scripts/test-apache2-mpm-perchild.py 2010-09-17 18:36:54 +0000
108@@ -0,0 +1,47 @@
109+#!/usr/bin/python
110+#
111+# test-apache2-mpm-perchild.py quality assurance test script
112+# script wrapper for usage under Checkbox
113+# Copyright (C) 2010 Canonical Ltd.
114+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
115+#
116+# This program is free software: you can redistribute it and/or modify
117+# it under the terms of the GNU General Public License version 2,
118+# as published by the Free Software Foundation.
119+#
120+# This program is distributed in the hope that it will be useful,
121+# but WITHOUT ANY WARRANTY; without even the implied warranty of
122+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
123+# GNU General Public License for more details.
124+#
125+# You should have received a copy of the GNU General Public License
126+# along with this program. If not, see <http://www.gnu.org/licenses/>.
127+#
128+
129+'''
130+ *** IMPORTANT ***
131+ DO NOT RUN ON A PRODUCTION SERVER.
132+ *** IMPORTANT ***
133+
134+ How to run:
135+ $ sudo apt-get remove --purge apache2-*
136+ $ sudo apt-get install apache2-mpm-perchild
137+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
138+'''
139+
140+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
141+# QRT-Packages: apache2-mpm-worker libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
142+# QRT-Privilege: root
143+
144+import subprocess
145+import sys
146+
147+if __name__ == '__main__':
148+ print 'apache-mpm-perchild regression tests'
149+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
150+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
151+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
152+ stdout=sys.stdout,
153+ stderr=subprocess.STDOUT)
154+ prc.wait()
155+ sys.exit(prc.returncode)
156
157=== added file 'scripts/test-apache2-mpm-prefork.py'
158--- scripts/test-apache2-mpm-prefork.py 1970-01-01 00:00:00 +0000
159+++ scripts/test-apache2-mpm-prefork.py 2010-09-17 18:36:54 +0000
160@@ -0,0 +1,47 @@
161+#!/usr/bin/python
162+#
163+# test-apache2-mpm-prefork.py quality assurance test script
164+# script wrapper for usage under Checkbox
165+# Copyright (C) 2010 Canonical Ltd.
166+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
167+#
168+# This program is free software: you can redistribute it and/or modify
169+# it under the terms of the GNU General Public License version 2,
170+# as published by the Free Software Foundation.
171+#
172+# This program is distributed in the hope that it will be useful,
173+# but WITHOUT ANY WARRANTY; without even the implied warranty of
174+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
175+# GNU General Public License for more details.
176+#
177+# You should have received a copy of the GNU General Public License
178+# along with this program. If not, see <http://www.gnu.org/licenses/>.
179+#
180+
181+'''
182+ *** IMPORTANT ***
183+ DO NOT RUN ON A PRODUCTION SERVER.
184+ *** IMPORTANT ***
185+
186+ How to run:
187+ $ sudo apt-get remove --purge apache2-*
188+ $ sudo apt-get install apache2-mpm-prefork
189+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
190+'''
191+
192+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
193+# QRT-Packages: apache2-mpm-prefork libapache2-svn subversion elinks ssl-cert openssl lsb-release libapache2-mod-php5 davfs2 python-pexpect
194+# QRT-Privilege: root
195+
196+import subprocess
197+import sys
198+
199+if __name__ == '__main__':
200+ print 'apache-mpm-prefork regression tests'
201+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
202+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
203+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
204+ stdout=sys.stdout,
205+ stderr=subprocess.STDOUT)
206+ prc.wait()
207+ sys.exit(prc.returncode)
208
209=== added file 'scripts/test-apache2-mpm-worker.py'
210--- scripts/test-apache2-mpm-worker.py 1970-01-01 00:00:00 +0000
211+++ scripts/test-apache2-mpm-worker.py 2010-09-17 18:36:54 +0000
212@@ -0,0 +1,47 @@
213+#!/usr/bin/python
214+#
215+# test-apache2-mpm-worker.py quality assurance test script
216+# script wrapper for usage under Checkbox
217+# Copyright (C) 2010 Canonical Ltd.
218+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
219+#
220+# This program is free software: you can redistribute it and/or modify
221+# it under the terms of the GNU General Public License version 2,
222+# as published by the Free Software Foundation.
223+#
224+# This program is distributed in the hope that it will be useful,
225+# but WITHOUT ANY WARRANTY; without even the implied warranty of
226+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
227+# GNU General Public License for more details.
228+#
229+# You should have received a copy of the GNU General Public License
230+# along with this program. If not, see <http://www.gnu.org/licenses/>.
231+#
232+
233+'''
234+ *** IMPORTANT ***
235+ DO NOT RUN ON A PRODUCTION SERVER.
236+ *** IMPORTANT ***
237+
238+ How to run:
239+ $ sudo apt-get remove --purge apache2-*
240+ $ sudo apt-get install apache2-mpm-worker
241+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
242+'''
243+
244+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
245+# QRT-Packages: apache2-mpm-worker libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
246+# QRT-Privilege: root
247+
248+import subprocess
249+import sys
250+
251+if __name__ == '__main__':
252+ print 'apache-mpm-worker regression tests'
253+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
254+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
255+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
256+ stdout=sys.stdout,
257+ stderr=subprocess.STDOUT)
258+ prc.wait()
259+ sys.exit(prc.returncode)
260
261=== modified file 'scripts/test-apache2.py'
262--- scripts/test-apache2.py 2010-08-03 19:13:17 +0000
263+++ scripts/test-apache2.py 2010-09-17 18:36:54 +0000
264@@ -36,8 +36,8 @@
265 ...
266 '''
267
268-# QRT-Depends: testlib_httpd.py testlib_ssl.py
269-# QRT-Packages: (apache2-mpm-worker | apache2-mpm-event | apache2-mpm-prefork | apache2-mpm-itk | apache2-mpm-perchild) libapache2-svn subversion elinks ssl-cert openssl lsb-release libapache2-mod-php5 davfs2 sudo python-pexpect
270+# xQRT-Depends: testlib_httpd.py testlib_ssl.py
271+# xQRT-Packages: (apache2-mpm-worker | apache2-mpm-event | apache2-mpm-prefork | apache2-mpm-itk | apache2-mpm-perchild) libapache2-svn subversion elinks ssl-cert openssl lsb-release libapache2-mod-php5 davfs2 sudo python-pexpect
272
273 import unittest, subprocess
274 import os
275
276=== modified file 'scripts/test-freeradius.py'
277--- scripts/test-freeradius.py 2010-01-15 01:11:32 +0000
278+++ scripts/test-freeradius.py 2010-09-17 18:36:54 +0000
279@@ -17,11 +17,12 @@
280 # along with this program. If not, see <http://www.gnu.org/licenses/>.
281 #
282 # packages required for test to run:
283-# QRT-Packages: freeradius
284+# QRT-Packages: freeradius python-unit
285 # packages where more than one package can satisfy a runtime requirement:
286 # QRT-Alternates:
287 # files and directories required for the test to run:
288 # QRT-Depends:
289+# QRT-Privilege: root
290
291 '''
292 How to run against a clean schroot named 'hardy':
293
294=== added file 'scripts/test-python2.4.py'
295--- scripts/test-python2.4.py 1970-01-01 00:00:00 +0000
296+++ scripts/test-python2.4.py 2010-09-17 18:36:54 +0000
297@@ -0,0 +1,42 @@
298+#!/usr/bin/python
299+#
300+# test-apache2-mpm-prefork.py quality assurance test script
301+# script wrapper for usage under Checkbox
302+# Copyright (C) 2010 Canonical Ltd.
303+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
304+#
305+# This program is free software: you can redistribute it and/or modify
306+# it under the terms of the GNU General Public License version 2,
307+# as published by the Free Software Foundation.
308+#
309+# This program is distributed in the hope that it will be useful,
310+# but WITHOUT ANY WARRANTY; without even the implied warranty of
311+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
312+# GNU General Public License for more details.
313+#
314+# You should have received a copy of the GNU General Public License
315+# along with this program. If not, see <http://www.gnu.org/licenses/>.
316+#
317+
318+'''
319+ *** IMPORTANT ***
320+ DO NOT RUN ON A PRODUCTION SERVER.
321+ *** IMPORTANT ***
322+
323+ How to run:
324+ $ sudo apt-get install python2.4 python-unit
325+'''
326+
327+# QRT-Depends: testlib_test-python.py data
328+# QRT-Packages: python2.4 python-unit
329+
330+import subprocess
331+import sys
332+
333+if __name__ == '__main__':
334+ print 'python2.4 regression tests'
335+ prc = subprocess.Popen([ 'python', 'test-python.py', 'python2.4'],
336+ stdout=sys.stdout,
337+ stderr=subprocess.STDOUT)
338+ prc.wait()
339+ sys.exit(prc.returncode)
340
341=== added file 'scripts/test-python2.5.py'
342--- scripts/test-python2.5.py 1970-01-01 00:00:00 +0000
343+++ scripts/test-python2.5.py 2010-09-17 18:36:54 +0000
344@@ -0,0 +1,42 @@
345+#!/usr/bin/python
346+#
347+# test-apache2-mpm-prefork.py quality assurance test script
348+# script wrapper for usage under Checkbox
349+# Copyright (C) 2010 Canonical Ltd.
350+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
351+#
352+# This program is free software: you can redistribute it and/or modify
353+# it under the terms of the GNU General Public License version 2,
354+# as published by the Free Software Foundation.
355+#
356+# This program is distributed in the hope that it will be useful,
357+# but WITHOUT ANY WARRANTY; without even the implied warranty of
358+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
359+# GNU General Public License for more details.
360+#
361+# You should have received a copy of the GNU General Public License
362+# along with this program. If not, see <http://www.gnu.org/licenses/>.
363+#
364+
365+'''
366+ *** IMPORTANT ***
367+ DO NOT RUN ON A PRODUCTION SERVER.
368+ *** IMPORTANT ***
369+
370+ How to run:
371+ $ sudo apt-get install python2.6
372+'''
373+
374+# QRT-Depends: testlib_test-python.py data
375+# QRT-Packages: python2.5 python-unit
376+
377+import subprocess
378+import sys
379+
380+if __name__ == '__main__':
381+ print 'python2.5 regression tests'
382+ prc = subprocess.Popen([ 'python', 'test-python.py', 'python2.5'],
383+ stdout=sys.stdout,
384+ stderr=subprocess.STDOUT)
385+ prc.wait()
386+ sys.exit(prc.returncode)
387
388=== added file 'scripts/test-python2.6.py'
389--- scripts/test-python2.6.py 1970-01-01 00:00:00 +0000
390+++ scripts/test-python2.6.py 2010-09-17 18:36:54 +0000
391@@ -0,0 +1,42 @@
392+#!/usr/bin/python
393+#
394+# test-apache2-mpm-prefork.py quality assurance test script
395+# script wrapper for usage under Checkbox
396+# Copyright (C) 2010 Canonical Ltd.
397+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
398+#
399+# This program is free software: you can redistribute it and/or modify
400+# it under the terms of the GNU General Public License version 2,
401+# as published by the Free Software Foundation.
402+#
403+# This program is distributed in the hope that it will be useful,
404+# but WITHOUT ANY WARRANTY; without even the implied warranty of
405+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
406+# GNU General Public License for more details.
407+#
408+# You should have received a copy of the GNU General Public License
409+# along with this program. If not, see <http://www.gnu.org/licenses/>.
410+#
411+
412+'''
413+ *** IMPORTANT ***
414+ DO NOT RUN ON A PRODUCTION SERVER.
415+ *** IMPORTANT ***
416+
417+ How to run:
418+ $ sudo apt-get install python2.6
419+'''
420+
421+# QRT-Depends: testlib_test-python.py data
422+# QRT-Packages: python2.6 python-unit
423+
424+import subprocess
425+import sys
426+
427+if __name__ == '__main__':
428+ print 'python2.6 regression tests'
429+ prc = subprocess.Popen([ 'python', 'test-python.py', 'python2.6'],
430+ stdout=sys.stdout,
431+ stderr=subprocess.STDOUT)
432+ prc.wait()
433+ sys.exit(prc.returncode)
434
435=== modified file 'scripts/test-ruby.py'
436--- scripts/test-ruby.py 2010-01-26 03:04:00 +0000
437+++ scripts/test-ruby.py 2010-09-17 18:36:54 +0000
438@@ -43,6 +43,8 @@
439 '''
440
441 # QRT-Depends: testlib_dovecot.py private/qrt/ruby.py
442+# QRT-Packages: dovecot-imapd dovecot-pop3d python-unit openssl ruby1.9 libopenssl-ruby1.9 openbsd-inetd libwww-perl
443+# QRT-Privileges: root
444
445 import unittest, subprocess, tempfile, os, socket, sys
446 import testlib, testlib_dovecot
447
448=== added file 'scripts/test-ruby1.8.py'
449--- scripts/test-ruby1.8.py 1970-01-01 00:00:00 +0000
450+++ scripts/test-ruby1.8.py 2010-09-17 18:36:54 +0000
451@@ -0,0 +1,37 @@
452+#!/usr/bin/python
453+#
454+# test-ruby1.8.py quality assurance test script
455+# script wrapper for usage under Checkbox
456+# Copyright (C) 2010 Canonical Ltd.
457+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
458+#
459+# This program is free software: you can redistribute it and/or modify
460+# it under the terms of the GNU General Public License version 2,
461+# as published by the Free Software Foundation.
462+#
463+# This program is distributed in the hope that it will be useful,
464+# but WITHOUT ANY WARRANTY; without even the implied warranty of
465+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
466+# GNU General Public License for more details.
467+#
468+# You should have received a copy of the GNU General Public License
469+# along with this program. If not, see <http://www.gnu.org/licenses/>.
470+#
471+
472+
473+# QRT-Depends: testlib_dovecot.py private/qrt/ruby.py test-ruby.py
474+# QRT-Packages: dovecot-imapd dovecot-pop3d python-unit openssl ruby1.8 libopenssl-ruby1.8 openbsd-inetd libwww-perl
475+# QRT-Privileges: root
476+
477+import subprocess
478+import sys
479+
480+if __name__ == '__main__':
481+ print 'ruby 1.8 regression tests'
482+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
483+ #subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
484+ prc = subprocess.Popen([ 'python', 'test-ruby.py', 'ruby1.8'],
485+ stdout=sys.stdout,
486+ stderr=subprocess.STDOUT)
487+ prc.wait()
488+ sys.exit(prc.returncode)
489
490=== added file 'scripts/test-ruby1.9.py'
491--- scripts/test-ruby1.9.py 1970-01-01 00:00:00 +0000
492+++ scripts/test-ruby1.9.py 2010-09-17 18:36:54 +0000
493@@ -0,0 +1,37 @@
494+#!/usr/bin/python
495+#
496+# test-ruby1.9.py quality assurance test script
497+# script wrapper for usage under Checkbox
498+# Copyright (C) 2010 Canonical Ltd.
499+# Author: C de-Avillez <carlos.de.avillez@canonical.com>
500+#
501+# This program is free software: you can redistribute it and/or modify
502+# it under the terms of the GNU General Public License version 2,
503+# as published by the Free Software Foundation.
504+#
505+# This program is distributed in the hope that it will be useful,
506+# but WITHOUT ANY WARRANTY; without even the implied warranty of
507+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
508+# GNU General Public License for more details.
509+#
510+# You should have received a copy of the GNU General Public License
511+# along with this program. If not, see <http://www.gnu.org/licenses/>.
512+#
513+
514+
515+# QRT-Depends: testlib_dovecot.py private/qrt/ruby.py test-ruby.py
516+# QRT-Packages: dovecot-imapd dovecot-pop3d python-unit openssl ruby1.9 libopenssl-ruby1.9 openbsd-inetd libwww-perl
517+# QRT-Privileges: root
518+
519+import subprocess
520+import sys
521+
522+if __name__ == '__main__':
523+ print 'ruby 1.9 regression tests'
524+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
525+ #subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
526+ prc = subprocess.Popen([ 'python', 'test-ruby.py', 'ruby1.9'],
527+ stdout=sys.stdout,
528+ stderr=subprocess.STDOUT)
529+ prc.wait()
530+ sys.exit(prc.returncode)

Subscribers

People subscribed via source and target branches