diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-02-15 15:43:29 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-02-15 15:43:29 +0100 |
commit | b914c21124bb0cb887265f11bf50473c6f3b4e30 (patch) | |
tree | d032cde57b886f36a44519f355279eaa334d79ff /test.pl | |
parent | 59884b1380512e5e22fec0a592fcd3217606c274 (diff) | |
download | colorize-b914c21124bb0cb887265f11bf50473c6f3b4e30.tar.gz colorize-b914c21124bb0cb887265f11bf50473c6f3b4e30.tar.bz2 |
Enclose valgrind test in skip block
Diffstat (limited to 'test.pl')
-rwxr-xr-x | test.pl | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -73,8 +73,10 @@ SKIP: { is(system("echo \"hello world\" | $program random --exclude-random=black >/dev/null 2>&1"), 0, 'switch exclude-random'); - skip 'valgrind not found', 1 unless system('which valgrind >/dev/null 2>&1') == 0; - like(qx(valgrind $program none/none $infile1 2>&1 >/dev/null), qr/no leaks are possible/, 'valgrind memleaks'); + SKIP: { + skip 'valgrind not found', 1 unless system('which valgrind >/dev/null 2>&1') == 0; + like(qx(valgrind $program none/none $infile1 2>&1 >/dev/null), qr/no leaks are possible/, 'valgrind memleaks'); + } print <<'EOT'; Colors |