Subject: | runtests ate my baby...err warning |
(Sorry I called the file fail.t even though its a passing test)
$ cat ~/tmp/fail.t
#!/usr/bin/perl -w
warn "Boogity";
print "1..1\n";
warn "Again";
print "ok 1\n";
warn "Boo";
$ prove ~/tmp/fail.t
/Users/schwern/tmp/fail....Boogity at /Users/schwern/tmp/fail.t line 3.
Again at /Users/schwern/tmp/fail.t line 5.
Boo at /Users/schwern/tmp/fail.t line 7.
/Users/schwern/tmp/fail....ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
$ runtests ~/tmp/fail.t
/Users/schwern/tmp/fail......ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
$ runtests -v ~/tmp/fail.t
/Users/schwern/tmp/fail......Boogity at /Users/schwern/tmp/fail.t line 3.
Again at /Users/schwern/tmp/fail.t line 5.
Boo at /Users/schwern/tmp/fail.t line 7.
1..1
ok 1
ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)