Tests: Less verbose
This commit is contained in:
parent
89fb57e54f
commit
8f16557499
|
|
@ -82,7 +82,7 @@ sub check_gcc_flags {
|
||||||
if ($line =~ /\.cpp/) {
|
if ($line =~ /\.cpp/) {
|
||||||
my $filetype = ($line =~ /Slow/) ? "slow":"fast";
|
my $filetype = ($line =~ /Slow/) ? "slow":"fast";
|
||||||
my $opt = ($line !~ /-O2/) ? "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) {
|
if ($filetype ne $opt) {
|
||||||
error("${filetype} file compiled as if was ${opt}: $line");
|
error("${filetype} file compiled as if was ${opt}: $line");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue