Status: | Merged |
---|---|
Merged at revision: | 1148 |
Proposed branch: | lp:~cr3/checkbox/sru |
Merge into: | lp:checkbox |
Diff against target: |
267 lines (+117/-6) 15 files modified
.bzrignore (+2/-0) bin/checkbox-cli (+1/-1) bin/checkbox-gtk (+1/-1) bin/checkbox-sru (+18/-0) bin/checkbox-urwid (+1/-1) data/whitelists/sru.whitelist (+28/-0) debian/checkbox-sru.install (+2/-0) debian/checkbox-sru.links (+1/-0) debian/checkbox-sru.postinst (+7/-0) debian/control (+9/-0) debian/rules (+3/-1) examples/checkbox-sru.ini (+5/-0) jobs/sru.txt.in (+4/-0) scripts/sru_suspend (+33/-0) setup.py (+2/-2) |
To merge this branch: | bzr merge lp:~cr3/checkbox/sru |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brendan Donegan (community) | Approve | ||
Marc Tardif (community) | Needs Resubmitting | ||
Review via email: mp+84771@code.launchpad.net |
Commit message
Description of the change
This is an initial proposal for introducing SRU testing by the community. Until we clearly define how checkbox will be called, the current implementation is non-interactive and assumes being called like this:
checkbox-sru --<email address hidden>
Also note that the sru job is defined as remote because the current assumption is that there would be one script that would result in many test results. For example, the sru_suspend test results in both suspend and hibernate tests. This needs to be remote instead of local so that the test is performed during the run phase rather than the gathering phase. This might change in the future but that seems to make the most sense for now.
Brendan Donegan (brendan-donegan) wrote : | # |
To try and be constructive, rather than just poo-pooing your names, how about, e.g:
sru_suspend -> suspend/
and put it in the suspend job file rather than a separate SRU one?
- 1142. By Marc Tardif
-
Renamed sru tests and improved description.
Marc Tardif (cr3) wrote : | # |
Thanks for the suggestion, I agree that the naming could be better. I have chosen:
sru/suspend_
sru/hibernate
I have also taken the opportunity of improving the descriptions to be more useful. I have specifically chosen the sru/ namespace because these tests might eventually validate that you're effectively running a proposed kernel. I would like this side effect to be clearly delineated from the other tests.
As for the conflict with the checkbox-
- 1143. By Marc Tardif
-
Updated whitelist for sru tests.
Marc Tardif (cr3) wrote : | # |
Forgot to update the whitelist, good catch brd!
Daniel Manrique (roadmr) wrote : | # |
Looks fine to me, but what about the sru.whitelist? does it clobber something in checkbox-cert that we need to worry about? do we need to rename something?
Marc Tardif (cr3) wrote : | # |
The same sru.whitelist file name can be used in both checkbox and checkbox-
--whitelist-
Brendan Donegan (brendan-donegan) wrote : | # |
Sorry I didn't pick these things up yesterday, but I just got the chance to actually run the thing today and I first noticed that checkbox-sru had not been given permissions. Secondly I noticed that the checkbox-sru script doesn't define a whitelist to CHECKBOX_OPTIONS, meaning it would need to be defined on the command line. I personally think it makes more sense to encode the whitelist in the script itself, just like we do with checkbox-
- 1144. By Marc Tardif
-
Moved whitelist-file option from setup.py directly in scripts.
Marc Tardif (cr3) wrote : | # |
Brendan, good catch! I added the execute bit to checkbox-sru. As for the whitelist, I decided to specify the whitelist in each script instead of having setup.py do it. So, when running checkbox-* from the source tree, it will behave pretty much the same way as when running them from an installed package.
Brendan Donegan (brendan-donegan) wrote : | # |
I was about to merge this, as I got it to work after setting the execute bit on scripts/
Some chatting with cking shows that while there is not a 100% reliable method there are ways to detect that suspend/hibernate failed.
Marc Tardif (cr3) wrote : | # |
There are indeed ways to detect whether suspend/hibernate failed. If you look at the source of fwts, this is done by attempting to match one of 26 regular expressions over strings output by pm-utils in /var/log/pm-*.log. If these strings change, even by one character, then the attempt to detect a failure misses which is where reliability goes out the window. Instead, the current tests only checks for one success string which increases reliability by 26 times and also happens to reduce maintenance by as many times in the event pm-utils changes a string.
If you are concerned about detecting failure, I would propose that we check for two strings: one when suspend/hibernate started and another for success. If none is detected: untested. If one is detected: fail. If two are detected: pass. However, I think improvements to tests should be discussed in a bug rather than in this merge request.
Please note that the intent of this merge request is simply to put in place the necessary infrastructure for SRU testing, hence the name of this branch. The suspend/hibernate test was mostly intended to demonstrate that the infrastructure works.
Brendan Donegan (brendan-donegan) wrote : | # |
Ok. I am going to raise a bug for the test and merge this now.
Preview Diff
1 | === modified file '.bzrignore' | |||
2 | --- .bzrignore 2011-06-29 13:34:45 +0000 | |||
3 | +++ .bzrignore 2011-12-10 14:32:35 +0000 | |||
4 | @@ -4,6 +4,7 @@ | |||
5 | 4 | debian/checkbox | 4 | debian/checkbox |
6 | 5 | debian/checkbox-cli | 5 | debian/checkbox-cli |
7 | 6 | debian/checkbox-gtk | 6 | debian/checkbox-gtk |
8 | 7 | debian/checkbox-sru | ||
9 | 7 | debian/checkbox-urwid | 8 | debian/checkbox-urwid |
10 | 8 | debian/*-cli.postrm | 9 | debian/*-cli.postrm |
11 | 9 | debian/*.debhelper | 10 | debian/*.debhelper |
12 | @@ -16,6 +17,7 @@ | |||
13 | 16 | debian/stamp-patched | 17 | debian/stamp-patched |
14 | 17 | debian/*.substvars | 18 | debian/*.substvars |
15 | 18 | debian/tmp | 19 | debian/tmp |
16 | 20 | debian/*-sru.postrm | ||
17 | 19 | debian/*-urwid.postrm | 21 | debian/*-urwid.postrm |
18 | 20 | gtk/checkbox-gtk.glade.bak | 22 | gtk/checkbox-gtk.glade.bak |
19 | 21 | gtk/checkbox-gtk.gladep | 23 | gtk/checkbox-gtk.gladep |
20 | 22 | 24 | ||
21 | === modified file 'bin/checkbox-cli' | |||
22 | --- bin/checkbox-cli 2011-06-29 09:46:26 +0000 | |||
23 | +++ bin/checkbox-cli 2011-12-10 14:32:35 +0000 | |||
24 | @@ -3,7 +3,7 @@ | |||
25 | 3 | export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} | 3 | export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} |
26 | 4 | export CHECKBOX_DATA=${CHECKBOX_DATA:-.} | 4 | export CHECKBOX_DATA=${CHECKBOX_DATA:-.} |
27 | 5 | export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.} | 5 | export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.} |
29 | 6 | export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:-} | 6 | export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:---whitelist-file=$CHECKBOX_SHARE/data/whitelists/default.whitelist} |
30 | 7 | export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE | 7 | export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE |
31 | 8 | 8 | ||
32 | 9 | if [ $CHECKBOX_DATA != '.' ] | 9 | if [ $CHECKBOX_DATA != '.' ] |
33 | 10 | 10 | ||
34 | === modified file 'bin/checkbox-gtk' | |||
35 | --- bin/checkbox-gtk 2011-06-29 09:46:26 +0000 | |||
36 | +++ bin/checkbox-gtk 2011-12-10 14:32:35 +0000 | |||
37 | @@ -3,7 +3,7 @@ | |||
38 | 3 | export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} | 3 | export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} |
39 | 4 | export CHECKBOX_DATA=${CHECKBOX_DATA:-.} | 4 | export CHECKBOX_DATA=${CHECKBOX_DATA:-.} |
40 | 5 | export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.} | 5 | export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.} |
42 | 6 | export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:-} | 6 | export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:---whitelist-file=$CHECKBOX_SHARE/data/whitelists/default.whitelist} |
43 | 7 | export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE | 7 | export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE |
44 | 8 | 8 | ||
45 | 9 | if [ $CHECKBOX_DATA != '.' ] | 9 | if [ $CHECKBOX_DATA != '.' ] |
46 | 10 | 10 | ||
47 | === added file 'bin/checkbox-sru' | |||
48 | --- bin/checkbox-sru 1970-01-01 00:00:00 +0000 | |||
49 | +++ bin/checkbox-sru 2011-12-10 14:32:35 +0000 | |||
50 | @@ -0,0 +1,18 @@ | |||
51 | 1 | #!/bin/bash | ||
52 | 2 | |||
53 | 3 | export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} | ||
54 | 4 | export CHECKBOX_DATA=${CHECKBOX_DATA:-.} | ||
55 | 5 | export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.} | ||
56 | 6 | export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:---whitelist-file=$CHECKBOX_SHARE/data/whitelists/sru.whitelist} | ||
57 | 7 | export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE | ||
58 | 8 | |||
59 | 9 | if [ $CHECKBOX_DATA != '.' ] | ||
60 | 10 | then | ||
61 | 11 | old_data=$HOME/.checkbox | ||
62 | 12 | if [ -d $old_data ] && [ ! -d $CHECKBOX_DATA ] | ||
63 | 13 | then | ||
64 | 14 | mv -f $old_data $CHECKBOX_DATA | ||
65 | 15 | fi | ||
66 | 16 | fi | ||
67 | 17 | |||
68 | 18 | python $CHECKBOX_SHARE/run "$@" $CHECKBOX_SHARE/configs/$(basename $0).ini | ||
69 | 0 | 19 | ||
70 | === modified file 'bin/checkbox-urwid' | |||
71 | --- bin/checkbox-urwid 2011-06-29 09:46:26 +0000 | |||
72 | +++ bin/checkbox-urwid 2011-12-10 14:32:35 +0000 | |||
73 | @@ -3,7 +3,7 @@ | |||
74 | 3 | export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} | 3 | export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} |
75 | 4 | export CHECKBOX_DATA=${CHECKBOX_DATA:-.} | 4 | export CHECKBOX_DATA=${CHECKBOX_DATA:-.} |
76 | 5 | export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.} | 5 | export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.} |
78 | 6 | export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:-} | 6 | export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:---whitelist-file=$CHECKBOX_SHARE/data/whitelists/default.whitelist} |
79 | 7 | export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE | 7 | export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE |
80 | 8 | 8 | ||
81 | 9 | if [ $CHECKBOX_DATA != '.' ] | 9 | if [ $CHECKBOX_DATA != '.' ] |
82 | 10 | 10 | ||
83 | === added file 'data/whitelists/sru.whitelist' | |||
84 | --- data/whitelists/sru.whitelist 1970-01-01 00:00:00 +0000 | |||
85 | +++ data/whitelists/sru.whitelist 2011-12-10 14:32:35 +0000 | |||
86 | @@ -0,0 +1,28 @@ | |||
87 | 1 | cdimage | ||
88 | 2 | cpuinfo | ||
89 | 3 | device | ||
90 | 4 | dmi | ||
91 | 5 | dpkg | ||
92 | 6 | gconf | ||
93 | 7 | lsb | ||
94 | 8 | meminfo | ||
95 | 9 | module | ||
96 | 10 | package | ||
97 | 11 | uname | ||
98 | 12 | __info__ | ||
99 | 13 | codecs_attachment | ||
100 | 14 | cpuinfo_attachment | ||
101 | 15 | dmesg_attachment | ||
102 | 16 | dmi_attachment | ||
103 | 17 | dmidecode_attachment | ||
104 | 18 | lsmod_attachment | ||
105 | 19 | lspci_attachment | ||
106 | 20 | gcov_attachment | ||
107 | 21 | modprobe_attachment | ||
108 | 22 | modules_attachment | ||
109 | 23 | sysfs_attachment | ||
110 | 24 | sysctl_attachment | ||
111 | 25 | udev_attachment | ||
112 | 26 | __sru__ | ||
113 | 27 | sru/suspend_success | ||
114 | 28 | sru/hibernate_success | ||
115 | 0 | 29 | ||
116 | === added file 'debian/checkbox-sru.install' | |||
117 | --- debian/checkbox-sru.install 1970-01-01 00:00:00 +0000 | |||
118 | +++ debian/checkbox-sru.install 2011-12-10 14:32:35 +0000 | |||
119 | @@ -0,0 +1,2 @@ | |||
120 | 1 | usr/bin/checkbox-sru | ||
121 | 2 | usr/share/checkbox/examples/checkbox-sru.ini | ||
122 | 0 | 3 | ||
123 | === added file 'debian/checkbox-sru.links' | |||
124 | --- debian/checkbox-sru.links 1970-01-01 00:00:00 +0000 | |||
125 | +++ debian/checkbox-sru.links 2011-12-10 14:32:35 +0000 | |||
126 | @@ -0,0 +1,1 @@ | |||
127 | 1 | usr/share/man/man1/checkbox.1.gz usr/share/man/man1/checkbox-sru.1.gz | ||
128 | 0 | 2 | ||
129 | === added file 'debian/checkbox-sru.postinst' | |||
130 | --- debian/checkbox-sru.postinst 1970-01-01 00:00:00 +0000 | |||
131 | +++ debian/checkbox-sru.postinst 2011-12-10 14:32:35 +0000 | |||
132 | @@ -0,0 +1,7 @@ | |||
133 | 1 | #! /bin/sh -e | ||
134 | 2 | |||
135 | 3 | base_package="checkbox" | ||
136 | 4 | . /usr/share/debconf/confmodule | ||
137 | 5 | . /usr/share/checkbox/install/postinst | ||
138 | 6 | |||
139 | 7 | #DEBHELPER# | ||
140 | 0 | 8 | ||
141 | === modified file 'debian/control' | |||
142 | --- debian/control 2011-12-06 21:32:26 +0000 | |||
143 | +++ debian/control 2011-12-10 14:32:35 +0000 | |||
144 | @@ -56,6 +56,15 @@ | |||
145 | 56 | . | 56 | . |
146 | 57 | This package provides a GTK interface for answering tests. | 57 | This package provides a GTK interface for answering tests. |
147 | 58 | 58 | ||
148 | 59 | Package: checkbox-sru | ||
149 | 60 | Architecture: all | ||
150 | 61 | Depends: checkbox (>= ${source:Version}), ${misc:Depends} | ||
151 | 62 | Description: SRU interface for checkbox | ||
152 | 63 | This project provides an extensible interface for system testing. The | ||
153 | 64 | results can then be sent to Launchpad. | ||
154 | 65 | . | ||
155 | 66 | This package provides a non-interactive interface for SRU testing. | ||
156 | 67 | |||
157 | 59 | Package: hwtest | 68 | Package: hwtest |
158 | 60 | Section: python | 69 | Section: python |
159 | 61 | Architecture: all | 70 | Architecture: all |
160 | 62 | 71 | ||
161 | === modified file 'debian/rules' | |||
162 | --- debian/rules 2011-06-23 21:45:46 +0000 | |||
163 | +++ debian/rules 2011-12-10 14:32:35 +0000 | |||
164 | @@ -7,6 +7,7 @@ | |||
165 | 7 | cp debian/checkbox.postrm debian/checkbox-cli.postrm | 7 | cp debian/checkbox.postrm debian/checkbox-cli.postrm |
166 | 8 | cp debian/checkbox.postrm debian/checkbox-urwid.postrm | 8 | cp debian/checkbox.postrm debian/checkbox-urwid.postrm |
167 | 9 | cp debian/checkbox.postrm debian/checkbox-gtk.postrm | 9 | cp debian/checkbox.postrm debian/checkbox-gtk.postrm |
168 | 10 | cp debian/checkbox.postrm debian/checkbox-sru.postrm | ||
169 | 10 | cp debian/hwtest.postrm debian/hwtest-cli.postrm | 11 | cp debian/hwtest.postrm debian/hwtest-cli.postrm |
170 | 11 | cp debian/hwtest.postrm debian/hwtest-gtk.postrm | 12 | cp debian/hwtest.postrm debian/hwtest-gtk.postrm |
171 | 12 | dh_installdeb | 13 | dh_installdeb |
172 | @@ -16,6 +17,7 @@ | |||
173 | 16 | dh_installdocs -pcheckbox-cli ./README | 17 | dh_installdocs -pcheckbox-cli ./README |
174 | 17 | dh_installdocs -pcheckbox-urwid ./README | 18 | dh_installdocs -pcheckbox-urwid ./README |
175 | 18 | dh_installdocs -pcheckbox-gtk ./README | 19 | dh_installdocs -pcheckbox-gtk ./README |
176 | 20 | dh_installdocs -pcheckbox-sru ./README | ||
177 | 19 | dh_installdocs -phwtest ./README | 21 | dh_installdocs -phwtest ./README |
178 | 20 | dh_installdocs -phwtest-cli ./README | 22 | dh_installdocs -phwtest-cli ./README |
179 | 21 | dh_installdocs -phwtest-gtk ./README | 23 | dh_installdocs -phwtest-gtk ./README |
180 | @@ -23,7 +25,7 @@ | |||
181 | 23 | 25 | ||
182 | 24 | override_dh_clean: | 26 | override_dh_clean: |
183 | 25 | -find . -name \*.mo -exec rm {} \; | 27 | -find . -name \*.mo -exec rm {} \; |
185 | 26 | -rm -f debian/checkbox-cli.postrm debian/checkbox-urwid.postrm debian/checkbox-gtk.postrm | 28 | -rm -f debian/checkbox-cli.postrm debian/checkbox-urwid.postrm debian/checkbox-gtk.postrm debian/checkbox-sru.postrm |
186 | 27 | -rm -f debian/hwtest-cli.postrm debian/hwtest-gtk.postrm | 29 | -rm -f debian/hwtest-cli.postrm debian/hwtest-gtk.postrm |
187 | 28 | debconf-updatepo | 30 | debconf-updatepo |
188 | 29 | dh_clean | 31 | dh_clean |
189 | 30 | 32 | ||
190 | === added file 'examples/checkbox-sru.ini' | |||
191 | --- examples/checkbox-sru.ini 1970-01-01 00:00:00 +0000 | |||
192 | +++ examples/checkbox-sru.ini 2011-12-10 14:32:35 +0000 | |||
193 | @@ -0,0 +1,5 @@ | |||
194 | 1 | [DEFAULT] | ||
195 | 2 | |||
196 | 3 | # Space separated list of files to include as a dependency for the | ||
197 | 4 | # SRU interface. | ||
198 | 5 | includes = %(checkbox_share)s/configs/checkbox.ini | ||
199 | 0 | 6 | ||
200 | === added file 'jobs/sru.txt.in' | |||
201 | --- jobs/sru.txt.in 1970-01-01 00:00:00 +0000 | |||
202 | +++ jobs/sru.txt.in 2011-12-10 14:32:35 +0000 | |||
203 | @@ -0,0 +1,4 @@ | |||
204 | 1 | name: __sru__ | ||
205 | 2 | plugin: remote | ||
206 | 3 | _description: SRU tests. | ||
207 | 4 | command: sru_suspend | ||
208 | 0 | 5 | ||
209 | === added file 'scripts/sru_suspend' | |||
210 | --- scripts/sru_suspend 1970-01-01 00:00:00 +0000 | |||
211 | +++ scripts/sru_suspend 2011-12-10 14:32:35 +0000 | |||
212 | @@ -0,0 +1,33 @@ | |||
213 | 1 | #!/bin/bash | ||
214 | 2 | # | ||
215 | 3 | # Simplistic test to determine whether the system successfully resumed | ||
216 | 4 | # from suspend and thawed from hibernate. | ||
217 | 5 | |||
218 | 6 | if zgrep -q '/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.' /var/log/pm-suspend.log*; then | ||
219 | 7 | suspend_status="pass" | ||
220 | 8 | else | ||
221 | 9 | suspend_status="untested" | ||
222 | 10 | fi | ||
223 | 11 | |||
224 | 12 | if zgrep -q '/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: success.' /var/log/pm-suspend.log*; then | ||
225 | 13 | hibernate_status="pass" | ||
226 | 14 | else | ||
227 | 15 | hibernate_status="untested" | ||
228 | 16 | fi | ||
229 | 17 | |||
230 | 18 | cat <<EOF | ||
231 | 19 | plugin: shell | ||
232 | 20 | name: sru/suspend_success | ||
233 | 21 | status: $suspend_status | ||
234 | 22 | description: | ||
235 | 23 | Check that /var/log/pm-suspend.log contains the string: | ||
236 | 24 | resume suspend: success. | ||
237 | 25 | |||
238 | 26 | plugin: shell | ||
239 | 27 | name: sru/hibernate_success | ||
240 | 28 | status: $hibernate_status | ||
241 | 29 | description: | ||
242 | 30 | Check that /var/log/pm-suspend.log contains the string: | ||
243 | 31 | thaw hibernate: success. | ||
244 | 32 | |||
245 | 33 | EOF | ||
246 | 0 | 34 | ||
247 | === modified file 'setup.py' | |||
248 | --- setup.py 2011-10-11 20:15:01 +0000 | |||
249 | +++ setup.py 2011-12-10 14:32:35 +0000 | |||
250 | @@ -188,7 +188,6 @@ | |||
251 | 188 | for outfile in self.outfiles: | 188 | for outfile in self.outfiles: |
252 | 189 | infile = posixpath.join("bin", posixpath.basename(outfile)) | 189 | infile = posixpath.join("bin", posixpath.basename(outfile)) |
253 | 190 | substitute_variables(infile, outfile, { | 190 | substitute_variables(infile, outfile, { |
254 | 191 | "CHECKBOX_OPTIONS:-": "CHECKBOX_OPTIONS:---whitelist-file=$CHECKBOX_SHARE/data/whitelists/default.whitelist", | ||
255 | 192 | "CHECKBOX_SHARE:-.": "CHECKBOX_SHARE:-/usr/share/checkbox", | 191 | "CHECKBOX_SHARE:-.": "CHECKBOX_SHARE:-/usr/share/checkbox", |
256 | 193 | "CHECKBOX_DATA:-.": "CHECKBOX_DATA:-$XDG_CACHE_HOME/checkbox"}) | 192 | "CHECKBOX_DATA:-.": "CHECKBOX_DATA:-$XDG_CACHE_HOME/checkbox"}) |
257 | 194 | 193 | ||
258 | @@ -230,7 +229,8 @@ | |||
259 | 230 | ("share/checkbox/gtk/", ["gtk/checkbox-gtk.ui", "gtk/*.png"]), | 229 | ("share/checkbox/gtk/", ["gtk/checkbox-gtk.ui", "gtk/*.png"]), |
260 | 231 | ("share/apport/package-hooks/", ["apport/source_checkbox.py"]), | 230 | ("share/apport/package-hooks/", ["apport/source_checkbox.py"]), |
261 | 232 | ("share/apport/general-hooks/", ["apport/checkbox.py"])], | 231 | ("share/apport/general-hooks/", ["apport/checkbox.py"])], |
263 | 233 | scripts = ["bin/checkbox-cli", "bin/checkbox-gtk", "bin/checkbox-urwid"], | 232 | scripts = ["bin/checkbox-cli", "bin/checkbox-gtk", "bin/checkbox-sru", |
264 | 233 | "bin/checkbox-urwid"], | ||
265 | 234 | packages = ["checkbox", "checkbox.contrib", "checkbox.lib", "checkbox.parsers", | 234 | packages = ["checkbox", "checkbox.contrib", "checkbox.lib", "checkbox.parsers", |
266 | 235 | "checkbox.reports", "checkbox_cli", "checkbox_gtk", "checkbox_urwid"], | 235 | "checkbox.reports", "checkbox_cli", "checkbox_gtk", "checkbox_urwid"], |
267 | 236 | package_data = { | 236 | package_data = { |
I have a comment about the naming. It seems like it might be wise to generalise the names of the test to describe what they do, rather than under what circumstances they're run. Also, you're clobbering my whitelist name! Thankfully it's in checkbox- certification at the moment but we did plan to move the whitelists out of checkbox- certification and into base checkbox.