NAME
t/lib/common.pl - common routines for tests
SYNOPSIS
# in a test file
use lib qw(t/lib);
require "common.pl";
DESCRIPTION
Functions
dumper
Dump the data structure in a nicer way.
extract_meta( PROGRAM )
Extracts the metadata as a hash reference of the named PROGRAM (e.g. 'bin/false')
Pre-defined tests
compile_test( PROGRAM )
Check that PROGRAM exists and compiles.
sanity_test( PROGRAM )
Check that PROGRAM exists and compiles, and stop the test if it doesn't. At the moment this is essentially
compiile_test, but it could have more later.