Merge lp:~brendan-donegan/checkbox/bug1093718 into lp:checkbox

Proposed by Brendan Donegan
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 2100
Merged at revision: 2100
Proposed branch: lp:~brendan-donegan/checkbox/bug1093718
Merge into: lp:checkbox
Diff against target: 42 lines (+8/-2)
3 files modified
debian/changelog (+6/-0)
jobs/rendercheck.txt.in (+1/-1)
scripts/rendercheck_test (+1/-1)
To merge this branch: bzr merge lp:~brendan-donegan/checkbox/bug1093718
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Review via email: mp+162325@code.launchpad.net

Description of the change

Based on https://bugs.launchpad.net/checkbox/+bug/1093718/comments/4 from Brian Sullivan and also the feedback from Alberto Milone on the same, the rendercheck gradients test generates false positives. This merge proposal fixes the rendercheck_test script so that multiple tests can be blacklisted, and adds gradients to the list of blacklisted tests in the rendercheck job.

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-05-02 22:35:51 +0000
3+++ debian/changelog 2013-05-03 10:49:26 +0000
4@@ -16,6 +16,12 @@
5 with the root user, restore the workspaces switch and the HTML5 video
6 playback ; remove the extra suspend/resume (LP: #1172851)
7
8+ [ Brendan Donegan ]
9+ * scripts/rendercheck_test - change nargs='+' to action='append' for blacklist
10+ option so it works as expected.
11+ jobs/rendercheck.txt.in - blacklist gradients test as it is known to produce
12+ false positives. (LP: #1093718)
13+
14 -- Brendan Donegan <brendan.donegan@canonical.com> Fri, 26 Apr 2013 18:23:03 +0100
15
16 checkbox (0.16) raring; urgency=low
17
18=== modified file 'jobs/rendercheck.txt.in'
19--- jobs/rendercheck.txt.in 2013-04-04 16:06:42 +0000
20+++ jobs/rendercheck.txt.in 2013-05-03 10:49:26 +0000
21@@ -2,7 +2,7 @@
22 name: rendercheck/tests
23 requires:
24 package.name == 'x11-apps'
25-command: ( rendercheck_test -b repeat -d -o $CHECKBOX_DATA/rendercheck-results && echo "Rendercheck tests completed successfully" ) || ( echo "Error running rendercheck. Please see the log $CHECKBOX_DATA/rendercheck-results for details" >&2 && false )
26+command: ( rendercheck_test -b repeat -b gradients -d -o $CHECKBOX_DATA/rendercheck-results && echo "Rendercheck tests completed successfully" ) || ( echo "Error running rendercheck. Please see the log $CHECKBOX_DATA/rendercheck-results for details" >&2 && false )
27 _description:
28 Runs all of the rendercheck test suites. This test can take a few minutes.
29
30
31=== modified file 'scripts/rendercheck_test'
32--- scripts/rendercheck_test 2013-04-04 16:06:42 +0000
33+++ scripts/rendercheck_test 2013-05-03 10:49:26 +0000
34@@ -178,7 +178,7 @@
35 %s. \
36 Default is all' % (', '.join(all_tests)))
37 parser.add_argument('-b', '--blacklist',
38- nargs='+',
39+ action='append',
40 help='The name of a test which should not be run.')
41 parser.add_argument('-d', '--debug',
42 action='store_true',

Subscribers

People subscribed via source and target branches