NAME ^

languages/lua/t/harness - A harness for Parrot Lua

SYNOPSIS ^

    cd languages && perl -I../lib -Ilua/t lua/t/harness --files

    cd languages && perl -I../lib -Ilua/t lua/t/harness

    cd languages && perl -I../lib -Ilua/t lua/t/harness lua/t/examples.t

    cd languages && perl -I../lib lua/t/harness lua/t/pmc/nil.t

DESCRIPTION ^

If I'm called with a single argument of "--files", I just return a list of files to process. This list is one per line, and is relative to the languages dir.

If I'm called with no args, I run the complete suite.

If I'm called with "--use-lua", I run with the original lua in order to valid of the test suite.

If I'm called with "--use-luac-pl", I run with luac.pl (the Lua to PIR compiler written in Perl5).

If I'm called with "--use-lua-pbc", I run with lua.pbc (the Lua interpreter written in PIR).

Otherwise I run the tests that were passed on the command line.

HISTORY ^

Mostly taken from languages/bc/t/harness.

SEE ALSO ^

languages/tcl/t/harness, languages/scheme/t/harness, languages/m4/t/harness, languages/python/t/harness

AUTHOR ^

Francois Perrad


parrot