With perl @8752, I'm seeing two test failures.  Both result from the
test's printing ok messages with two integral print statements, which
works fine when just run with Perl directly, but breaks when run
within the test suite.  Because our "echo" substitute uses
LIB$PUT_OUTPUT to do its business, there will always be a carriage
return for each integral print, causing spurious data on the line
after the "ok" and making the test to appear to fail.

Is there any reason echo is written in assembler?  Could we avoid
this problem by writing it in C and using print() or puts() or
something?


$ perl [.lib]test-harness.t
1..13
ok 1 - compile
ok 2 - no_nums
ok 3 - combined
<snip>

$ @[.vms]test .exe "" "-V" [.lib]test-harness.t
<snip>
[.LIB]TEST-HARNESS......1..13
ok 1
  - compile

ok 2
  - no_nums

ok 3
  - combined

<snip>
FAILED on test 14


$ perl [.lib]filehand.t
1..11
ok 1
ok 2
ok 3

etc.


$ @[.vms]test .exe "" "-V" [.lib]filehand.t
<snip>
[.LIB]FILEHAND..........1..11
ok
1
ok 2
ok 3

etc.
-- 
____________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

Reply via email to