mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 05:05:35 +00:00
Small fix to 'make test' script
When the tests fail they don't display the number of skipped and run test
This commit is contained in:
parent
b4d9d360e0
commit
c8cd2c6577
|
@ -21,12 +21,12 @@ for my $suite (@suites)
|
||||||
my $result = `$prefix$suite`;
|
my $result = `$prefix$suite`;
|
||||||
if( $result =~ /PASSED/ ) {
|
if( $result =~ /PASSED/ ) {
|
||||||
print "PASS\n";
|
print "PASS\n";
|
||||||
|
my ($tests, $skipped) = $result =~ /([0-9]*) tests.*?([0-9]*) skipped/;
|
||||||
|
$total_tests_run += $tests - $skipped;
|
||||||
} else {
|
} else {
|
||||||
$failed_suites++;
|
$failed_suites++;
|
||||||
print "FAIL\n";
|
print "FAIL\n";
|
||||||
}
|
}
|
||||||
my ($tests, $skipped) = $result =~ /([0-9]*) tests.*?([0-9]*) skipped/;
|
|
||||||
$total_tests_run += $tests - $skipped;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print "-" x 72, "\n";
|
print "-" x 72, "\n";
|
||||||
|
|
Loading…
Reference in a new issue