70 |
|
|
71 |
sub check_bin |
sub check_bin |
72 |
{ |
{ |
73 |
if (!exists $bin_made{$_[0]}) { |
# force re-build of binary (better safe than sorry) |
74 |
|
my_system( "rm -f $_[0]" ); |
75 |
my_system( "make $_[0]" ); |
my_system( "make $_[0]" ); |
|
$bin_made{$_[0]} = 1; |
|
|
} |
|
76 |
} |
} |
77 |
sub check_file |
sub check_file |
78 |
{ |
{ |
156 |
} |
} |
157 |
else { printf "can't open core bench log file '$log_file'\n"; }; |
else { printf "can't open core bench log file '$log_file'\n"; }; |
158 |
if ($output =~ /ERROR/) { |
if ($output =~ /ERROR/) { |
159 |
print "ERROR detected in ouput:\n $output\n"; |
print "ERROR detected in ouput, while decoding [$bitstream]:\n $output\n"; |
160 |
$Err++; |
$Err++; |
161 |
next; |
next; |
162 |
} |
} |