parrotcode: A harness for Parrot Lua | |
Contents | Language Implementations | Lua |
languages/lua/t/harness - A harness for Parrot Lua
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
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-monkey", I run with monkey
.
If I'm called with "--use-lua2pir", I run with lua2pir
(and just after luac
).
Otherwise I run the tests that were passed on the command line.
Mostly taken from languages/bc/t/harness.
languages/tcl/t/harness, languages/scheme/t/harness, languages/m4/t/harness, languages/python/t/harness
Francois Perrad
|