]> rtime.felk.cvut.cz Git - wvtest.git/commitdiff
wvtestrun: Do not use colors on dumb terminals master
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 22 Jun 2010 11:16:13 +0000 (13:16 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 22 Jun 2010 11:16:13 +0000 (13:16 +0200)
wvtestrun

index 4be41e3ee19f51aa6e51fa15e42d9ee9927590a2..fbc083dec91dab1a9aa60bdd727178232ded374c 100755 (executable)
--- a/wvtestrun
+++ b/wvtestrun
@@ -27,7 +27,7 @@ if (!$pid) {
     exit 126; # just in case
 }
 
-my $istty = -t STDOUT;
+my $istty = -t STDOUT && $ENV{'TERM'} ne "dumb";
 my @log = ();
 my ($gpasses, $gfails) = (0,0);