NAME
t/harness - Parrot Test Harness
SYNOPSIS
% perl t/harness [options] [testfiles]
DESCRIPTION
This is the Parrot Test Harness.
Command-line Options - Short:
The short command line options are:
-w
-
Turn warnings on.
-G
-
Run the
GCDebug
core. -j
-
Alias for running with the fast core.
-b
-
Run bounds checking enabled.
-d
-
Run with debugging enabled.
-f
-
Run fast core.
-r
-
compile to Parrot bytecode and then run the bytecode.
-O[012]
-
Run optimized to the specified level.
-D[number]
-
Pass the specified debug bits to the parrot interpreter. Note that
-D40
(fill I, N registers with garbage) is always enabled. See 'parrot --help-debug' for available flags.
Command-Line Options: Long
There are also long command line options:
--gc-debug
-
Invoke parrot with '--gc-debug'.
--html
-
Emit a
smoke.html
file instead of displaying results. --code-tests
-
Run only the file metadata and basic coding standards tests.
Impact of Environmental Variables
You may set the following environmental variables to positive integer values to get more verbose output, to run tests in parallel, or to get clock times in your standard output.
HARNESS_VERBOSE
TEST_JOBS
HARNESS_TIMER
HISTORY
Mike Lambert stole t/harness for languages/perl6/t/harness.
Leo Toetsch stole languages/perl6/t/harness for imcc/t/harness.
Bernhard Schmalhofer merged imcc/t/harness back into t/harness.