Hi Tomas - thanks for writing.
: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. 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.
Best,
Karl