# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #43266] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43266 >
There are several language implementations that use the Perl5 Parrot::Test::language_output_[is|isnt|like] subs in their test scripts. The Parrot::Test::language_output_[is|isnt|like] call the output_[is|like|isnt] subs in the Parrot::Test::<lang> modules. This causes a lot of redundancy in the Parrot::Test::<lang> modules, as usually only the executed command and possible the current directory is is language dependent. So I propose to provide a default implementation of output_[is|like|isnt] in Parrot::Test. The language test modules only need to provide get_test_prog() and get_out_fn(). This is the scheme that is currently used in Parrot::Test::Plumhead.