Tests: Less verbose

This commit is contained in:
Wilson Snyder
2018-12-12 22:19:33 -05:00
parent 89fb57e54f
commit 8f16557499
+1 -1
View File
@@ -82,7 +82,7 @@ sub check_gcc_flags {
if ($line =~ /\.cpp/) {
my $filetype = ($line =~ /Slow/) ? "slow":"fast";
my $opt = ($line !~ /-O2/) ? "slow":"fast";
print "$filetype, $opt, $line\n";
print "$filetype, $opt, $line\n" if $Self->{verbose};
if ($filetype ne $opt) {
error("${filetype} file compiled as if was ${opt}: $line");
}