On 12 Jan 2003 at 1:45, Frank Heckenbach wrote:
So, does this mean it works when called with `MASK="fjf663.pas"', but not when called via the Makefile without a MASK?
I seem to have confused the issue beyond recovery. Please forget everything I wrote previously regarding "fjf663.pas".
Now, here is my report from running the full test suite:
$ make --directory=/usr/local/src/gcc-3.2.1/gcc/p/test
[...]
agettext2test.pas: SKIPPED: libintl not installed crttest.pas: SKIPPED: no curses library found environo.pas: SKIPPED: setenv not present in libc fjf480a.pas: SKIPPED: librx not installed fjf480b.pas: SKIPPED: librx not installed fjf480c.pas: SKIPPED: librx not installed fjf582.pas: failed [Exception c00000fd (stack overflow)] fjf663.pas: failed gettexttest.pas: SKIPPED: libintl not installed gmptest.pas: SKIPPED: libgmp not installed pipetest.pas: SKIPPED: IOSelect not yet implemented for mingw regextest.pas: SKIPPED: librx not installed
# of GPC tests 2855 # of GPC tests passed 2843 # of GPC tests skipped 10 # of GPC tests failed 2
Modifying "fjf663.pas" as follows to show why it is failing:
program fjf663;
uses GPC;
var f: ^Text; s: array [1 .. 1] of PAnyFile;
begin writeln; writeln (ParamStr (1)); repeat New (f); Reset (f^, ParamStr (1)); writeln (FileHandle (f^)) until FileHandle (f^) >= 8; s[1] := f; writeln (IOSelectRead (s, 0)); if IOSelectRead (s, 0) = 1 then WriteLn ('OK') else WriteLn ('failed') end.
...gives me the following results:
$ make --directory=/usr/local/src/gcc-3.2.1/gcc/p/test MASK="fjf663.pas" pascal.check-long
[...]
GPC-TEST-BEGIN ========================== TEST fjf663.pas: ./fjf663.pas 3 4 5 6 7 8 -1 failed ========================== GPC-TEST-END
-- Dave