Autopackage tests will not signal failure when failing
Bug #1265853 reported by
Zygmunt Krynicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Critical
|
Zygmunt Krynicki |
Bug Description
As discovered by Michael Terry the DEP8 tests are not going to fail when actual problem is encountered:
"""
2) The dep8 test will never fail, because the test run is inside an if condition. You should change the following lines:
if plainbox self-test -u >/dev/null 2>&1; then
echo "unit-tests: OK"
fi
to just (which works as intended because of the set -e):
plainbox self-test -u >/dev/null 2>&1
echo "unit-tests: OK"
"""
Changed in checkbox: | |
status: | New → In Progress |
assignee: | nobody → Zygmunt Krynicki (zkrynicki) |
importance: | Undecided → Critical |
tags: | added: debian plainbox |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Committed a fix in Debian SVN: http:// anonscm. debian. org/viewvc/ python- modules? view=revision& revision= 26981