test-driver: Use netpbm instead of imagemagick

Imagemagick pulls in 100s of megabytes of dependencies.
This commit is contained in:
Eelco Dolstra
2014-09-24 23:48:31 +02:00
parent 08732891e1
commit 51c349d0cc
2 changed files with 4 additions and 4 deletions

View File

@@ -482,7 +482,7 @@ sub screenshot {
my $name = basename($filename);
$self->nest("making screenshot $name", sub {
$self->sendMonitorCommand("screendump $tmp");
system("convert $tmp ${filename}") == 0
system("pnmtopng $tmp > ${filename}") == 0
or die "cannot convert screenshot";
unlink $tmp;
}, { image => $name } );