diff options
Diffstat (limited to 'README.amiga')
-rw-r--r-- | README.amiga | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/README.amiga b/README.amiga index bb5d267f..46acfb4c 100644 --- a/README.amiga +++ b/README.amiga @@ -64,26 +64,20 @@ and shortly thereafter (a little bit longer on a 7MHz machine >:->, you should have an executable version of `gawk'. That's all there is to it! - -Testing ( %-/ +Testing ------- -Testing gawk with the included shell-scripts and .awk-files is not -possible. As far as I found out this is a Shell problem (shell- -metas), not a gawk problem. Using gawk from the commandline requires -modifications, too. To perform at least some of the tests I'd -suggest: - - make >amitest -n bigtest - -then modifying 'amitest' to work with your shell and - - execute amitest - -All tests that are depending on UNIX-shell specifics will fail (eg. -redirection of stderr: stderr and stdout are identical on the Amiga). -If I really have the time (currently I'm finishing my studies) I'll -write an amiga-script for the tests ... - -Despite testing is not a thankful task, `gawk' works and I found it -very useful for tasks where both shell scripts and C-programs are -inadequate. +Gawk succeeds in all tests, but not with 'make test'. When executing +the tests by hand (e.g. 'make swaplns' and so on) gawk runs all tests +ok except for the following: +- argarray, awkpath: these do not work due to insufficient environment + variable handling by pdksh ('bin:sh') +- poundbang, regtest: pdksh refuses to handle the #! statement + properly +Modifying these tests in a way that only *gawk-features, not *sh- +features are tested, it is found that gawk succeeds here too. +- manyfiles: (error: too many open files) ixemul.library v39.45 uses + OPEN_MAX=64; manyfiles required at least OPEN_MAX=106 +This may only be overcome when mwild releases a new ixemul.library. +Changing the number '100' in the 'manyfiles::'-target in +'test/Makefile' to some value <= 58 (depends on the number of +currently open files in ixemul.library) gawk tests successfully, too. |