test suite: FIXED messages are misordered with tests
Tomi Ollila
tomi.ollila at iki.fi
Thu May 21 14:57:14 PDT 2020
On Thu, May 21 2020, Daniel Kahn Gillmor wrote:
> On Thu 2020-05-21 00:16:48 +0300, Tomi Ollila wrote:
>> (just tested this latest works)
>
> Thanks for looking into this, Tomi!
>
> Do you have a patch to propose?
Looked a bit (now). Somewhat complicated to make perfect (enemy of good)
change.
print_test_description could be added as first line in
test_known_broken_ok_ (then inconsistent with test_known_broken_failure_)
or in test_ok_ just before calling test_known_broken_ok_
(test_known_broken_ok_ is called only once in test-lib.sh)
but it looks like test_check_missing_external_prereqs_ and
test_report_skip_ may be called before print_test_description is called
(and there may be more...)
We've accumulated quite a bit of mess during these years to the test
system, which makes it harder to do larger adjustments (and not (yet)
mentioning even larger refactorings...).
>
> --dkg
Tomi
More information about the notmuch
mailing list