No logs for qml tests implementing their own Python object
Bug #1476237 reported by
Sylvain Pineau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Converged |
Fix Released
|
High
|
Maciej Kisielewski |
Bug Description
Some qml tests implement their own access to pyotherside thus preventing the main logger of checkbox-touch to log errors coming from those python calls.
We should share the main Python component currently available in checkbox-touch.qml with all the qml native tests to get free logging and avoid to add the error handler to each test.
Related branches
lp:~kissiel/checkbox/fix-1476237-python-in-testing-shell
- Sylvain Pineau (community): Approve
- Zygmunt Krynicki (community): Needs Information
-
Diff: 83 lines (+12/-3)5 files modifiedcheckbox-touch/components/QmlConfinedPage.qml (+1/-0)
checkbox-touch/components/QmlNativePage.qml (+1/-0)
checkbox-touch/confinement/plainbox-confined-shell.qml (+2/-1)
plainbox/plainbox/data/qml-shell/plainbox_qml_shell.qml (+2/-1)
plainbox/plainbox/qml_shell/qml_shell.qml (+6/-1)
Changed in checkbox-converged: | |
status: | Triaged → In Progress |
assignee: | nobody → Maciej Kisielewski (kissiel) |
Changed in checkbox-converged: | |
status: | In Progress → Fix Committed |
Changed in checkbox-converged: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Yeah, QmlJob component should expose the logger via testingShell.