make/tests/scripts
Paul Smith 116767901f Convert word, wordlist, and intcmp functions to use long long
Modify make functions that parse integer values to use long long
values instead of long: on Windows long is the same as int (4 bytes)
and we don't want behavior to differ between different platforms.

* bootstrap.conf: Change strtol module to strtoll module.
* src/function.c (parse_numeric): Use strtoll() and return long long.
(func_word): Use long long.
(func_wordlist): Use long long.  Verify second argument is >= 0.
(func_intcmp): Use long long.
* src/config.ami.template: Don't define HAVE_STRTOLL.
* src/config-vms.template: Define HAVE_STRTOLL.
* src/config.W32.template: Define HAVE_STRTOLL.
* tests/run_make_tests.pl: Set $ERR_out_of_range to the proper string.
* tests/scripts/functions/word: Rework to use the new style and avoid
TAB characters.  Verify trailing whitespace is ignored.  Add a test
for a negative second argument to wordlist.  Add tests for max signed
integer values.  Use $ERR_out_of_range for the error string.
* tests/scripts/functions/intcmp: Add tests for min and max signed
integer values.  Use $ERR_out_of_range for the error string.
2021-11-28 14:27:10 -05:00
..
features [SV 48643] Enhance "ought to exist" definition 2021-11-27 22:00:05 -05:00
functions Convert word, wordlist, and intcmp functions to use long long 2021-11-28 14:27:10 -05:00
misc [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
options tests: Enhance output to contain filename/line number info 2021-11-27 14:03:44 -05:00
targets [SV 60297] Add .NOTINTERMEDIATE special target 2021-07-25 17:15:38 -04:00
variables Add support for the POSIX :::= assignment operator. 2021-09-20 00:29:31 -04:00
vms Refresh the test suite framework implementation. 2019-09-16 08:25:33 -04:00
test_template Update the test template. A few fixes in run_make_test(). 2004-09-22 04:36:17 +00:00