NAME ^

t/harness - Parrot Test Harness

SYNOPSIS ^

    % perl t/harness [options] [testfiles]

DESCRIPTION ^

The short command line options are:

-w

Turn warnings on.

-g

Run the CGoto core.

-j

Run with JIT enabled.

-C

Run the CGP core.

-S

Run Switched.

-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.

There are also long command line options:

--running-make-test

Some test scripts run more quickly when this is set.

--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.

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.


parrot