[comp.sources.bugs] perl3, PL4 test problems

alex@dutirt2.tudelft.nl (Alexander Vonk) (11/14/89)

Dear perl - porters,

Does anyone have any problems with the perl tests. I seem to have a
strange problem, related with the 'compiler' (?) part of perl.
Any ideas (before I gonna dive into thousands of source code lines :-)?

Thanks in advance,

Alexander Vonk (alex@dutirt2.tudelft.nl)


Here is a version info on perl, compiled on a IBM PC/RT with AIX 2.2.1:

$Header: perly.c,v 3.0.1.1 89/11/11 04:50:04 lwall Locked $
Patch level: 4

And the test errors I got (ok messages left out):

cmd.subval......syntax error in file ./cmd.subval at line 91, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
op.dbm..........syntax error in file ./op.dbm at line 14, next 2 tokens ");"
syntax error in file ./op.dbm at line 17, next 2 tokens ");"
syntax error in file ./op.dbm at line 21, next 2 tokens ");"
syntax error in file ./op.dbm at line 43, next 2 tokens ");"
syntax error in file ./op.dbm at line 89, next 2 tokens ");"
syntax error in file ./op.dbm at line 93, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
op.index........syntax error in file ./op.index at line 11, next 2 tokens ");"
syntax error in file ./op.index at line 14, next 2 tokens ");"
syntax error in file ./op.index at line 17, next 2 tokens ");"
syntax error in file ./op.index at line 20, next 2 tokens ");"
syntax error in file ./op.index at line 23, next 2 tokens ");"
syntax error in file ./op.index at line 26, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
op.mkdir........syntax error in file ./op.mkdir at line 9, next 2 tokens ");"
syntax error in file ./op.mkdir at line 10, next 2 tokens ");"
syntax error in file ./op.mkdir at line 11, next 2 tokens ");"
syntax error in file ./op.mkdir at line 12, next 2 tokens ");"
syntax error in file ./op.mkdir at line 13, next 2 tokens ");"
syntax error in file ./op.mkdir at line 14, next 2 tokens ");"
syntax error in file ./op.mkdir at line 15, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
op.pack.........syntax error in file ./op.pack at line 12, next 2 tokens ");"
syntax error in file ./op.pack at line 16, next 2 tokens ");"
syntax error in file ./op.pack at line 18, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
op.read.........syntax error in file ./op.read at line 12, next 2 tokens ");"
syntax error in file ./op.read at line 13, next 2 tokens ");"
syntax error in file ./op.read at line 18, next 2 tokens ");"
syntax error in file ./op.read at line 19, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
op.sort.........syntax error in file ./op.sort at line 13, next 2 tokens ");"
syntax error in file ./op.sort at line 16, next 2 tokens ");"
syntax error in file ./op.sort at line 19, next 2 tokens ");"
syntax error in file ./op.sort at line 23, next 2 tokens ");"
syntax error in file ./op.sort at line 27, next 2 tokens ");"
syntax error in file ./op.sort at line 31, next 2 tokens ");"
syntax error in file ./op.sort at line 35, next 2 tokens ");"
syntax error in file ./op.sort at line 39, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
op.stat.........Can't open /dev/tty--run t/TEST outside of make.
FAILED on test 36
op.substr.......syntax error in file ./op.substr at line 9, next 2 tokens ");"
syntax error in file ./op.substr at line 10, next 2 tokens ");"
syntax error in file ./op.substr at line 11, next 2 tokens ");"
syntax error in file ./op.substr at line 12, next 2 tokens ");"
syntax error in file ./op.substr at line 13, next 2 tokens ");"
syntax error in file ./op.substr at line 14, next 2 tokens ");"
syntax error in file ./op.substr at line 18, next 2 tokens ");"
syntax error in file ./op.substr at line 19, next 2 tokens ");"
syntax error in file ./op.substr at line 20, next 2 tokens ");"
syntax error in file ./op.substr at line 21, next 2 tokens ");"
Too many errors
FAILED on test 0
op.vec..........syntax error in file ./op.vec at line 21, next 2 tokens ");"
Execution aborted due to compilation errors.
FAILED on test 0
Failed 10 tests.

+++	Alexander Vonk - Technical Univ. Delft, Netherlands	+++
+++Phone:	(NL) 015 - 78 64 12	(world) 31 15 78 64 12	+++
+++Mail:	alex@dutirt2.tudelft.nl	or alex@dutirt2.UUCP	+++

alex@dutirt2.tudelft.nl (Alexander Vonk) (11/14/89)

OK guys, this seems like a sort of one person net discussion, but it
seems to me that the solution I worked out this morning could be of
interest, so here I go...

alex@dutirt2.tudelft.nl (Alexander Vonk) writes:

>Does anyone have any problems with the perl tests. I seem to have a
>strange problem, related with the 'compiler' (?) part of perl.
>Any ideas (before I gonna dive into thousands of source code lines :-)?

>Here is a version info on perl, compiled on a IBM PC/RT with AIX 2.2.1:

>$Header: perly.c,v 3.0.1.1 89/11/11 04:50:04 lwall Locked $
>Patch level: 4

>And the test errors I got (ok messages left out):

>cmd.subval......syntax error in file ./cmd.subval at line 91, next 2 tokens ");"
>Execution aborted due to compilation errors.
>FAILED on test 0
>op.dbm..........syntax error in file ./op.dbm at line 14, next 2 tokens ");"
>syntax error in file ./op.dbm at line 17, next 2 tokens ");"
>syntax error in file ./op.dbm at line 21, next 2 tokens ");"
>syntax error in file ./op.dbm at line 43, next 2 tokens ");"
>syntax error in file ./op.dbm at line 89, next 2 tokens ");"
>syntax error in file ./op.dbm at line 93, next 2 tokens ");"
>Execution aborted due to compilation errors.
>FAILED on test 0

... other failed tests, including op.index, op.mkdir, op.pack, op.read
	op.sort, op.substr and op.vec ...

>Failed 10 tests.

Well, I fixed the problem by deleting space between 'print' and '(' in all
cases but the cmd.subval file, which I fixed by deleting space between
'return' and '('. After these fixes, everything runned just fine.

And now for the final questions:
1) Has anyone else encountered this problem?
2) Can it be fixed (maybe by the great Wall himself, after resting a while :-)?

Alexander Vonk.


+++	Alexander Vonk - Technical Univ. Delft, Netherlands	+++
+++Phone:	(NL) 015 - 78 64 12	(world) 31 15 78 64 12	+++
+++Mail:	alex@dutirt2.tudelft.nl	or alex@dutirt2.UUCP	+++