https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13438
--- Comment #7 from Marcel de Rooy <[email protected]> --- Thanks Magnus for testing. You discovered that prove does not like extra arguments. "Cannot detect source of '--incl'! at /usr/share/perl/5.14/TAP/Parser/IteratorFactory.pm line 263" Prove provides a way (I learned now too): It is possible to supply arguments to tests. To do so separate them from prove's own arguments with the arisdottle, '::'. For example prove -v t/mytest.t :: --url http://example.com Also note that the overwhelming number of uninitialized warnings was only hidden by disabling the warnings pragma. If you would only add "use warnings" in the plugins before this patch and run prove, you will see them all. So now we see those warnings, we should do something about them.. (I already have a report opened for that.) prove t/db_dependent/FrameworkPlugin.t :: --incl cataloguing/value_builder/normarc_*.pl t/db_dependent/FrameworkPlugin.t .. 1/5 [LOTs of uninitialized warnings] t/db_dependent/FrameworkPlugin.t .. ok All tests successful. Files=1, Tests=5, 2 wallclock secs ( 0.03 usr 0.01 sys + 2.08 cusr 0.10 csys = 2.22 CPU) Result: PASS -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
