-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUNTEST.CMD fails on non-English Widown System #612
Comments
Volker, I will install a German language Windows and take a look at fixing this. Bill |
That would be very welcome. |
I have a temporary fix, no formal testing, not even checked the manual if this is correct: I added the German date/time delimiters to function tempfn: in runtest,cmd, and this seems to work: (at least, the tests are run, and reported as being successful)
With best regards Volker |
I'll try that out here. Thanks |
Note: this fix only specifically addresses the German language. Other non-English languages which use different field separators will still likely fail. But we'll cross that bridge when we come to it.
Fixed by commit ba4e9e6. Note: fixes only the specific German language issue described. Other non-English languages that use yet other different field separators will still likely fail. But we'll cross that bridge when we come to it. |
Part of the build process (as initiated by hercules-helper package) includes running RUNTEST.CMD . This fails, unfortunately, on a non-English (in my case: German) Windows system.
Runtest creates a temporary file with a generated file name
%calc_mttof_rexx%
. The filename created isTMP1.2024140842
(TMP1.yyyyhhmmss
) instead ofTMP1.whatever.REXX.
The reason:
RUNTEST.CMD
uses the incorrect delimiters when scanning/parsing the date/time. In a German based Windows system, the date looks like this:07.01.2024
, which is January 7, 2024. (Note that it uses a dot as separator, not a slash!).The time, OTOH, looks like this:
14:14:32,79
(which, as you'll notice, uses colons between hh, mm and ss, but a decimal comma instead of a decimal point).Because of this, the generated REXX file fails already on the PARSE statement in line 1
With best regards
Volker Bandke
The text was updated successfully, but these errors were encountered: