Tools ^

t/harness
Parrot Test Harness.

Benchmarks Tests ^

t/benchmark/benchmarks.t
test scripts in examples/benchmarks.

Coding Standards Tests ^

t/codingstd/c_code_coda.t
checks for editor hint coda in C source.

t/codingstd/cppcomments.t
checks for C++ style comments.

t/codingstd/cuddled_else.t
checks for cuddled elses in C source and headers.

t/codingstd/fixme.t
checks for "FIXME" and similar notes in C source and headers.

t/codingstd/line_endings.t
checks for DOS line endings in text files.

t/codingstd/linelength.t
Test code lines length.

t/codingstd/perlcritic.t
use perlcritic for perl coding stds.

t/codingstd/tabs.t
checks for tab indents in C source and headers.

t/codingstd/trailing_space.t
checks for superfluous trailing space or tab characters.

Compilers Tests ^

t/compilers/imcc/syn/file.t
test inclusion of files.

t/compilers/imcc/syn/pod.t

t/compilers/json/from_parrot.t
test parrot to JSON conversion.

t/compilers/json/to_parrot.t
test JSON to parrot conversions.

t/compilers/pge/01-codestring.t
test the CodeString class.

t/compilers/pge/02-match.t
test the Match class.

t/compilers/pge/06-grammar.t
test some simple grammars.

t/compilers/pge/pge-hs.t
Grammar Engine Haskell Output tests.

t/compilers/pge/pge.t
Parrot Grammar Engine basic tests.

t/compilers/pge/pge_examples.t
Parrot Grammar Engine tests of examples.

t/compilers/pge/pge_globs.t
Parrot Grammar Engine tests of globs.

t/compilers/pge/pge_util.t
Parrot Grammar Engine tests of utility rules.

t/compilers/pge/p5regex/p5rx.t
Perl 5 Regular Expression tests.

t/compilers/pge/p6regex/01-regex.t
Basic P6 Regex tests.

t/compilers/pge/p6regex/builtins.t
PGE tests of builtin rules.

t/compilers/pge/p6regex/closure.t
PGE closure tests.

t/compilers/pge/p6regex/context.t
PGE return value tests.

t/compilers/pge/p6regex/subrules.t
PGE subrules tests.

t/compilers/pge/p6regex/syntax_errors.t
How PGE catches syntax errors.

t/compilers/pge/p6regex/text_brk.t
PGE::Text::bracketed tests.

t/compilers/tge/basic.t
testing a few basic components of TGE::Grammar and TGE::Tree.

t/compilers/tge/grammar.t
TGE::Parser tests.

t/compilers/tge/parser.t
TGE::Parser tests.

Configure Tests ^

t/configure/base.t
tests Parrot::Configure::Step::Base.

t/configure/config_steps.t
tests step modules under the config dir.

t/configure/configure.t
tests Parrot::Configure.

t/configure/data.t
tests Parrot::Configure::Data.

t/configure/step.t
tests Parrot::Configure::Step.

Distribution Tests ^

t/distro/file_metadata.t
verify file metadata matches expectations.

t/distro/manifest.t
sanity check the MANIFEST file.

t/distro/manifest_skip.t
sanity check the MANIFEST.SKIP file.

t/distro/test_file_coverage.t
make sure source files have matching tests.

Documentation Tests ^

t/doc/opcode-doc.t
check opcode documentation.

t/doc/pod.t
Pod document syntax tests.

Examples Tests ^

t/examples/japh.t
Test some JAPHs.

t/examples/library.t
Test examples in F.

t/examples/namespace.t
Test examples in F.

t/examples/pasm.t
Test examples in F.

t/examples/past.t
Test examples in F.

t/examples/pir.t
Test examples in F.

t/examples/shootout.t
Test the shootout examples in "examples/shootout/*.pir".

t/examples/streams.t
Test examples in F.

t/examples/subs.t
Test examples in F.

Libraries Tests ^

t/library/File_Spec.t
test File::Spec module.

t/library/coroutine.t
Test the Parrot::Coroutine class.

t/library/data_escape.t
Data::Escape tests.

t/library/dumper.t
test dumping of data.

t/library/getopt_obj.t
testing the module Getopt/Obj.pir.

t/library/md5.t
test MD5 library.

t/library/mime_base64.t
test MIME::Base64.

t/library/parrotlib.t
testing library/parrotlib.pir.

t/library/pcre.t
testing library/pcre.pir.

t/library/perlhist.txt

t/library/pg.t
Postgres Tests.

t/library/sort.t
Sorting.

t/library/streams.t
Stream tests.

t/library/yaml_parser_syck.t
testing library/YAML/Parser/Syck.pir.

Native Bytecode Tests ^

t/native_pbc/integer.t
Integers.

t/native_pbc/number.t
Floating-Point Numbers.

t/native_pbc/string.t
PBC string tests.

Ops Tests ^

t/op/00ff-dos.t
DOS File Format.

t/op/00ff-unix.t
UNIX File format.

t/op/01-parse_ops.t
Parse core opcodes.

t/op/64bit.t
Testing integer ops on 64-bit platforms.

t/op/arithmetics.t
Arithmetic Ops.

t/op/basic.t
Basic Ops.

t/op/bitwise.t
Bitwise Ops.

t/op/calling.t
Parrot Calling Conventions.

t/op/cc_params.t
Parrot Calling Conventions parameter matching tests.

t/op/comp.t
Conditionals.

t/op/debuginfo.t
Debugging Info.

t/op/globals.t
Global Variables.

t/op/hacks.t
IO Ops.

t/op/ifunless.t
If/Unless.

t/op/info.t
Info Ops.

t/op/integer.t
Integer Registers.

t/op/interp.t
Running the Interpreter.

t/op/jit.t
JIT register allocation.

t/op/jitn.t
JIT register allocation.

t/op/lexicals.t
Lexical Ops.

t/op/literal.t
Testing the PIR and PASM lexer.

t/op/load_bytecode.t
loading bytecode tests.

t/op/number.t
Number Registers.

t/op/pushaction.t
Test the C Instruction.

t/op/random.t
Random numbers.

t/op/spawnw.t
Run OS commands and tell about the exit code.

t/op/sprintf.t
sprintf tests.

t/op/stacks.t
Stacks.

t/op/string.t
Parrot Strings.

t/op/string_cclass.t
character class tests.

t/op/string_cs.t
String Charset Tests.

t/op/stringu.t
Unicode String Test.

t/op/time.t
Time and Sleep.

t/op/trans.t
Transcendental Mathematical Ops.

t/op/types.t
Parrot Types.

t/dynoplibs/dan.t
Test for the ops in src/dynoplibs/dan.ops.

t/dynoplibs/myops.t
Test for the ops in src/dynoplibs/myops.ops.

PMC Tests ^

t/pmc/addrregistry.t
test AddrRegistry PMC.

t/pmc/array.t
Array PMC.

t/pmc/bigint.t
BigInt PMC.

t/pmc/bignum.t
Test the non-implemented BigNum PMC.

t/pmc/boolean.t
Boolean Ops.

t/pmc/bound_nci.t
test Bound_NCI PMC.

t/pmc/builtin.t
Builtin Methods.

t/pmc/capture.t
Test the Capture PMC.

t/pmc/closure.t
test Closure PMC.

t/pmc/compiler.t
test Compiler PMC.

t/pmc/complex.t
Complex Numbers.

t/pmc/config.t
Builtin Config.

t/pmc/continuation.t
test Continuation PMC.

t/pmc/coroutine.t
Coroutines.

t/pmc/csub.t
test CSub PMC.

t/pmc/default.t
test default PMC.

t/pmc/deleg_pmc.t
test deleg_pmc PMC.

t/pmc/delegate.t
Method Delegation.

t/pmc/enumerate.t
test Enumerate PMC.

t/pmc/env.t
System Environment.

t/pmc/eval.t
Dynamic Code Evaluation.

t/pmc/exception.t
Exception Handling.

t/pmc/exception_handler.t
test Exception_Handler PMC.

t/pmc/file.t
Files functions.

t/pmc/fixedbooleanarray.t
FixedBooleanArray PMC.

t/pmc/fixedfloatarray.t
FixedFloatArray PMC.

t/pmc/fixedintegerarray.t
FixedIntegerArray PMC.

t/pmc/fixedpmcarray.t
FixedPMCArray PMC.

t/pmc/fixedstringarray.t
FixedStringArray PMC.

t/pmc/float.t
Floating-point Numbers.

t/pmc/freeze.t
Archiving.

t/pmc/globals.t
Globals and Namespaces.

t/pmc/hash.t
Test the Hash PMC.

t/pmc/integer.t
Integer basic type.

t/pmc/intlist.t
Integer Array.

t/pmc/io.t
IO Ops.

t/pmc/iterator.t
Test the Iterator PMC.

t/pmc/key.t
Keys.

t/pmc/lexinfo.t
test LexInfo PMC.

t/pmc/lexpad.t
test LexPad PMC.

t/pmc/managedstruct.t
Managed C Structure.

t/pmc/mmd.t
Multi-Method Dispatch.

t/pmc/multiarray.t
MultiArray PMC.

t/pmc/multisub.t
Multi Sub PMCs.

t/pmc/n_arithmetics.t
n_* Arithmetic Ops.

t/pmc/namespace.t
Namespaces.

t/pmc/nci.t
test the Native Call Interface.

t/pmc/null.t
test Null PMC.

t/pmc/object-meths.t
Object Methods.

t/pmc/object-mro.t
Object Methods Resolution Order.

t/pmc/objects.t
Objects.

t/pmc/orderedhash.t
Ordered Hash.

t/pmc/os.t
Files and Dirs.

t/pmc/pair.t
pair tests.

t/pmc/parrotclass.t
test the ParrotClass PMC.

t/pmc/parrotinterpreter.t
test the ParrotInterpreter PMC.

t/pmc/parrotio.t
test the ParrotIO PMC.

t/pmc/parrotlibrary.t
test the ParrotLibrary PMC.

t/pmc/parrotobject.t
test the ParrotObject PMC.

t/pmc/parrotthread.t
test the ParrotThread PMC.

t/pmc/pmc.t
PMCs.

t/pmc/pointer.t
test the Pointer PMC.

t/pmc/prop.t
Properties.

t/pmc/random.t
test the Random PMC.

t/pmc/ref.t
Reference PMC.

t/pmc/resizablebooleanarray.t
testing the ResizableBooleanArray PMC.

t/pmc/resizablefloatarray.t
ResizableFloatArray PMC.

t/pmc/resizableintegerarray.t
ResizableIntegerArray PMC.

t/pmc/resizablepmcarray.t
testing the ResizablePMCArray PMC.

t/pmc/retcontinuation.t
test the RetContinuation PMC.

t/pmc/ro.t
tests read-only value support.

t/pmc/sarray.t
Simple Array.

t/pmc/scalar.t
test the scalar PMC.

t/pmc/sharedref.t
test the SharedRef PMC.

t/pmc/signal.t
Signal Handling.

t/pmc/slice.t
test Slice PMC.

t/pmc/string.t
Strings.

t/pmc/sub.t
Subroutine PMCs.

t/pmc/super.t
test the Super PMC.

t/pmc/sys.t
System Tests.

t/pmc/threads.t
Threads.

t/pmc/timer.t
Timer PMCs.

t/pmc/tqueue.t
Thread Queue.

t/pmc/undef.t
Undef PMC.

t/pmc/unmanagedstruct.t
test the UnManagedStruct PMC.

t/pmc/version.t
test the Version PMC.

t/pmc/vtablecache.t
test VtableCache.

t/dynpmc/dynlexpad.t
test the DynLexPad PMC.

t/dynpmc/foo.t
Test for a very simple dynamic PMC.

t/dynpmc/gdbmhash.t
test the GDBMHash PMC.

t/dynpmc/perlarray.t
testing the PerlArray PMC.

t/dynpmc/perlenv.t
test the PerlEnv PMC.

t/dynpmc/perlhash.t
testing the PerlHash PMC.

t/dynpmc/perlint.t
Perl Integers.

t/dynpmc/perlnum.t
Test the Perl Number PMC.

t/dynpmc/perlscalar.t
test Perl non-container PMCs.

t/dynpmc/perlstring.t
Perl Strings.

t/dynpmc/perlundef.t
testing the PerlUndef PMC.

t/dynpmc/quantumreg.t
test the QuantumReg PMC.

t/dynpmc/sparse_perlarray.t
testing sparse arrays using the PerlArray PMC.

t/dynpmc/sub.t
test if Sub is overridable by .HLL_map.

t/dynpmc/subclass_with_pir_method.t
test adding pir methods to dynpmc's PMC.

C Source Code Tests ^

t/src/README

t/src/atomic.t
Parrot Atomic operations.

t/src/basic.t
Basics.

t/src/compiler.t
Compile and run a PIR program from C.

t/src/exit.t
Exiting.

t/src/extend.t
Parrot Extension API.

t/src/hash.t
Hashes.

t/src/intlist.t
Integer Lists.

t/src/io.t
IO Subsystem.

t/src/list.t
List Subsystem.

t/src/sprintf.t
Name.

t/src/string.t
String tests.

Software Transactional Memory Tests ^

t/stm/basic.t
Single-threaded tests of the STM opcodes and PMC types.

t/stm/basic_mt.t
Multithreaded tests of STM ops and PMCs.

t/stm/llqueue.t
Linked-List Queue STM tests.

t/stm/queue.t
STM tests using a fixed-sized shared queue implementation.

t/stm/runtime.t
STM Runtime library tests.

Stress Tests ^

t/stress/gc.t
Garbage Collection.


parrot