html.mk

static html creation framework using make(1) and cpp(1)
git clone git://0x30.net/html.mk
Log | Files | Refs | README | LICENSE

_skel.t (446B)


      1 #
      2 # High level description of test.
      3 #
      4 use Modern::Perl;
      5 use Test::Cmd;
      6 use Test::More skip_all => "template";
      7 
      8 
      9 my $cmd = Test::Cmd->new( prog => '/usr/bin/make', workdir => '' );
     10 my $html_mk = $cmd->here . "/bsd.html.mk";
     11 
     12 $cmd->write( 'Makefile', <<EOF );
     13 .include "$html_mk"
     14 EOF
     15 
     16 $cmd->run( chdir => $cmd->curdir );
     17 
     18 #like( $cmd->stdout,	qr/.*/,	'make stdout' );
     19 #is( $cmd->stderr,	"",	'make stderr' );
     20 #is( $? >> 8,		0,	'make exit status' );