develooper Front page | perl.qpsmtpd | Postings from January 2007

Broken Tests in 0.3x

Thread Next
Guy Hulbert
January 8, 2007 04:39
Broken Tests in 0.3x
Message ID:

I managed to find out what the problem with the addresses.t is.  It
seems that some of the changes in 'lib/' stop the plugins
being loaded in the tests.

Plugins were trying to load from 't/plugins'.  So I hardcoded
at the beginning of 'Qpsmtpd::plugin_dirs()' and this fixes the broken
test at line 15 of addresses.t

The test plugin_test.t was dying with "found 0 test" (can't remember
exact message).

Now I get:
        t/plugin_tests.......Can't call method "register_tests" without
        a package or object reference at t/Test/ line 98.

I imagine I can fix that too but I need to stop for today.  Also, I
should try to fix 'Qpmsptd:plugin_dirs()' properly.

Hints would be appreciated.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About