Several tests use %if clauses in the <errorcode> section of tests (e.g. 178) and others use a list of <errorcode> values (e.g. 405). These are not handled properly and result in (presumably) incorrect statistical output, at least. These warnings are shown when perl warnings are enabled:
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "35,28\n" isn't numeric in addition (+) at keywords.pl line 75.
Argument "%if hyper\n" isn't numeric in addition (+) at keywords.pl line 75.
Invalid conversion in printf: "%he" at keywords.pl line 138.
Invalid conversion in printf: "%{" at keywords.pl line 138.
Invalid conversion in printf: "%T" at keywords.pl line 138.
The text was updated successfully, but these errors were encountered:
Oh right. Yeah, anything that parses the test files really need to parse the preprocessed output version rather than the source version if they cannot handle the preprocess instructions.
To make keywords.pl work again, I suppose we need to enhance runtests.pl in a way so that we can invoke it to only generate the log/testNUM file (possibly on stdout) and then have keywords.pl use that...
This script does not work since the introduction of the test
processing. If we need this functionality, it probably needs to be moved
into the runtests tool or similar.
Reported-by: Dan Fandrich
Fixes#10895
Several tests use
%if
clauses in the<errorcode>
section of tests (e.g. 178) and others use a list of<errorcode>
values (e.g. 405). These are not handled properly and result in (presumably) incorrect statistical output, at least. These warnings are shown when perl warnings are enabled:The text was updated successfully, but these errors were encountered: