[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#703250: apt: failing tests in test/libapt does not cause FTBFS



On 18 March 2013 08:54, Daniel Hartwig <mandyke@gmail.com> wrote:
> On 18 March 2013 04:05, Michael Vogt <mvo@debian.org> wrote:
>> This patch looks good! I commited it to bzr. Unfortunately its not
>> sufficient as current a msgfail() in framework will not cause a != 0
>> exit status. So to properly fix this some more work is needed.
>>
>> The attached (additional) patch should make it work now.
>
> Hello
>
> This makes it so the first failure prevents later tests in the same
> file from running.  It can be bothersome to diagnose faults if e.g.
> individual tests are not properly ordered, or are otherwise
> independent of each other.  Some test frameworks avoid such early
> abort and run all tests.
>
> See attached.

Updated to match Niels patch.

Attachment: err-on-msgfail-cont.diff
Description: Binary data


Reply to: