Age | Commit message (Collapse) | Author |
|
|
|
|
|
Updated runtests.pl to support Windows
|
|
|
|
|
|
waitpid() is required because otherwise Perl on Windows might fail after 64 or 128 tests.
removing '\r' from both test output and generated output enables both spec.txt and the generated results to contain Windows newlines (\r\n).
|
|
|
|
Perl changes
|
|
|
|
only use colors when attached to a terminal
|
|
If STDOUT is not hooked up to a terminal, automatically disable the
colors by setting the appropriate environment variable.
|
|
Putting the spec file first lets us consume all the other arguments as
the program to run. This makes it easier to use complex commands to run
the tests.
|
|
This ensures that the status line printed to STDERR at the very end of
the script will appear after all other script output.
|
|
The core modules and pragmas being used require at least Perl 5.6 in
order to work. Explicitly saying "use 5.006" will make the error more
clear.
|
|
When there are literal UTF-8 characters in the source, "use utf8" will
tell Perl to set the utf8 flag on strings.
|
|
|