Hi and thanks a lot for your reply :)

Karl Berry <[email protected]> writes:

>     :test-global-result: - This one is documented in the info manual.
>     :global-test-result: - Grepping suggests this one is actually used.
>
>     Would anyone be able to clarify which variable is the correct one for
>     drivers to produce?
>
> I know no background on this, but I certainly see the same thing you do:
> global-test-result is the one that's actually in the Automake .trs
> files, so I think that's the one you should use.

Thanks for confirming and will do.

> In the ChangeLogs, I only see one entry from 2011, in
> old/ChangeLog.11, which talks about global-test-result.
>
> Also, I guess I should change the documentation to talk about
> global-test-result, and eradicate test-global-result.
>
> Confusingly, t/test-metadata-results.sh has comment:
>
> # Basic checks.  Also that that ':global-test-result:' fields and
> # "old-style" directives with format "RESULT: test-name" are now ignored.
>
> but then actually does its tests with test-global-result. So I think
> that comment should also be changed. Maybe test-global-result was a name
> during development or something.

Interesting, you are right that this sounds like the name was changed
during the development and few places were forgotten.

Thanks once more and have a nice day,
Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Reply via email to