Merge lp:~oem-qa/checkbox/patch_apport_add_test_info into lp:checkbox

Proposed by Javier Collado
Status: Rejected
Rejected by: Marc Tardif
Proposed branch: lp:~oem-qa/checkbox/patch_apport_add_test_info
Merge into: lp:checkbox
Diff against target: 19 lines (+8/-2)
1 file modified
plugins/apport_prompt.py (+8/-2)
To merge this branch: bzr merge lp:~oem-qa/checkbox/patch_apport_add_test_info
Reviewer Review Type Date Requested Status
Marc Tardif (community) Disapprove
Checkbox Developers Pending
Review via email: mp+30304@code.launchpad.net

Description of the change

This change takes advantage of the recent fix to display again the 'Do you want to report a bug?' dialog to add the test case name and test suite (if available) that failed.

To post a comment you must log in.
842. By Marc Tardif

Firing report-job when reporting remote message.

843. By Marc Tardif <cr3@lime>

Moved makedir /var/cache/checkbox to root environment.

844. By Marc Tardif

Fixed typo in potfile to generate i18n strings for user_apps.txt.in.

845. By Marc Tardif

Merged from checkbox-pretty-report branch.

846. By Marc Tardif

Reduced size of some data files.

847. By Marc Tardif

Renamed a few more data files for consistency purposes.

848. By Marc Tardif

Updated changelog.

849. By Marc Tardif

Updated changelog again.

850. By Marc Tardif

Merged from fix-network-test branch.

851. By Marc Tardif

Replaced borrowed SWF file with another generated from source.

852. By Marc Tardif

Updated po files.

853. By Marc Tardif

Added verification of SSL validity which fixes bug #625076.

854. By Marc Tardif

Improved audio test questions.

855. By Marc Tardif

Added changelog entry for candidate revision.

856. By Marc Tardif

Updated pot file.

857. By Marc Tardif

Changed connection request to use the path rather than the full url.

858. By Marc Tardif

Increased version number

859. By Marc Tardif

Merged from cli_no_answer branch.

860. By Marc Tardif

Changed connection request back to use the full url instead rather than the path.

861. By Marc Tardif

Replaced external plugin with remote plugin in autotest and ltp scripts.

862. By Marc Tardif

Merged from testsprint-checkbox-base-sru-changes.

863. By Marc Tardif

Updated parsing of config parameters which fixes bug #689140.

864. By Marc Tardif

Merged from trunk.

865. By Marc Tardif

Merged from whitelist_file_comments_support.

866. By Marc Tardif

Fixed jobs_info plugin to strip commented lines in whitelist and blacklist files which might start with a space.

867. By Marc Tardif

Added additional logging to the reactor when firing messages.

868. By Marc Tardif

Merged from checkbox-add-pm-utils-requirement branch.

869. By Marc Tardif

Added support for TOUCH devices.

870. By Jeff Lane 

Merged cr3s fix for bug #561816

871. By Marc Tardif

Merged from bladernr to add _attachment suffix and lsmod attachment.

872. By Marc Tardif

Updated pot file.

873. By Marc Tardif

Fixed memory persistence to be rooted like file persistence.

874. By Marc Tardif

Fixed persist module to support not being given a filename.

875. By Marc Tardif

Extended persist_info plugin to answer to both begin and prompt-begin messages.

876. By Marc Tardif

Added support for Python 2.5 in checkbox.lib.transport.

877. By Marc Tardif

Merged from audio_test_failing branch.

878. By Marc Tardif

Merged from syslog branch.

879. By Marc Tardif

Added stop signal when executing messages.

880. By Marc Tardif

Migrated UI from libglade to gtkbuilder which fixes bug #403534.

881. By Marc Tardif

Defining default options in checkbox.application rather than CHECKBOX_OPTIONS environment variable.

882. By Marc Tardif

Added changelog entry for candidate revision.

883. By Marc Tardif

Merged from 719552.

884. By Marc Tardif

Changed description of nautilus_file_copy job which fixes bug #709688.

885. By Marc Tardif

Fixed title in progress dialog.

886. By Marc Tardif

Updated changelog with new upstream release.

887. By Marc Tardif

Updated pot file.

888. By Marc Tardif

Merged from 727411.

889. By Marc Tardif

Merged from 691241.

890. By Marc Tardif

Added support for trying to submit twice which fixes bug #531010.

891. By Marc Tardif

Merged from 642001.

892. By Jeff Lane 

Merged cli-cleanup for bug #221400

893. By Marc Tardif

Merged from checkbox-bug-fixes.

894. By Jeff Lane 

Land translation work by Mahyuddin Susanto via Michael Terry

895. By Jeff Lane 

Merged cr3 changes to changelog and control

896. By Marc Tardif

Added changelog entry for candidate revision.

897. By Jeff Lane 

Commited Gerhard Burgers punctuation fix for LP #744167

898. By Marc Tardif

Merged from 553777.

899. By Marc Tardif

Moved Gerhard Burger in changelog from 0.11.2 to 0.11.3.

900. By Marc Tardif

Fixed missing capital letter in sleep_state_test description.

901. By Marc Tardif

Merged from 744964.

902. By Jeff Lane 

Merged Marc Tardif fix for lp:729431

903. By Jeff Lane 

Merged Marc Tardif fixes to hibernate test for lp:630785

904. By Jeff Lane 

Merged addition of rtc test to sleep.txt.in to meet dependencies

905. By Marc Tardif

Reintroduced pm-utils requirements for jobs calling the sleep_test command and update po files.

906. By Marc Tardif

Merged checkbox log to apport report.

907. By Marc Tardif

Added changelog entry for candidate revision.

908. By Marc Tardif

Merged branch to enable camera detect test.

909. By Jeff Lane 

Merged Carl Milettes fix for lp:507943 (disk_bench_test hard coded drive)

910. By Marc Tardif

Fixed eval of resources with names like list item names.

911. By Marc Tardif

Merged from pygi-gtk3-port.

912. By Marc Tardif

Removed dead pixel test.

913. By Marc Tardif

Merged from 773667.

914. By Marc Tardif

Merged from 776734.

915. By Marc Tardif

Merged from 786924.

916. By Marc Tardif

Merged from 776712.

917. By Jeff Lane 

Applied Marc Tardifs changes to allow for remote submission (send results from a system other than the system under test)

918. By Marc Tardif

Merged from 588539.

919. By Marc Tardif

Merged from 665299.

920. By Marc Tardif

Wrapped submission stream to check for illegal xml characters.

Revision history for this message
Marc Tardif (cr3) wrote :

Merged Daniel's branch which implements the same functionality inspired by this branch:

https://code.launchpad.net/~roadmr/checkbox/improve_failed_test_message/+merge/66497

So, I'm disapproving this branch but the feature is good.

review: Disapprove

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/apport_prompt.py'
2--- plugins/apport_prompt.py 2011-03-29 13:47:20 +0000
3+++ plugins/apport_prompt.py 2011-06-08 14:21:34 +0000
4@@ -216,8 +216,14 @@
5 if not package and not symptom:
6 return
7
8- response = interface.show_info(_("Do you want to report a bug?"),
9- ["yes", "no"], "no")
10+ message = [_("Test case failed"),
11+ "- name: %s" % test["name"]]
12+ if test.get("suite"):
13+ message.append("- suite: %s" % test["suite"])
14+ message.extend(["",
15+ _("Do you want to report a bug?")])
16+ response = interface.show_info("\n".join(message),
17+ ["yes", "no"], "no")
18 if response == "no":
19 return
20

Subscribers

People subscribed via source and target branches