NAME
05-gen_c.t - test Parrot::Pmc2c::Pmc2cMain::gen_c()
SYNOPSIS
% prove t/tools/pmc2cutils/05-gen_c.t
DESCRIPTION
The files in this directory test the publicly callable methods of lib/Parrot/Pmc2c/Pmc2cMain.pm. By doing so, they test the functionality of the pmc2c.pl utility. That functionality has largely been extracted into the methods of Pmc2cMain.pm.
05-gen_c.t tests the Parrot::Pmc2c::Pmc2cMain::gen_c()
method. make calls this method when it calls in tools/build/pmc2c.pl --c
.
So as not to pollute the Parrot build directories with files created during the testing process, all functions which create or modify files should be called within a temporary directory.
AUTHOR
James E Keenan
SEE ALSO
Parrot::Pmc2c, pmc2c.pl.