summaryrefslogtreecommitdiffstats
path: root/test/w3c/analyze_tests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/w3c/analyze_tests.pl')
-rwxr-xr-xtest/w3c/analyze_tests.pl21
1 files changed, 13 insertions, 8 deletions
diff --git a/test/w3c/analyze_tests.pl b/test/w3c/analyze_tests.pl
index 111db5a..a14c129 100755
--- a/test/w3c/analyze_tests.pl
+++ b/test/w3c/analyze_tests.pl
@@ -119,17 +119,22 @@ while ($block = <FILE>) {
/
Approximate\sComplexity:\s(\d+)\n
Approximate\sActive\sComplexity:\s(\d+)\n
- Actual\sComplexity:\s(\d+)\n
- Actual\sActive\sComplexity:\s(\d+)\n
- Internal\sQueue:\s(\d+)\n
- External\sQueue:\s(\d+)\n
/x ) {
$test->{$currTest}->{'flat'}->{'cmplx'}->{'appr'} = $1;
$test->{$currTest}->{'flat'}->{'cmplx'}->{'apprActv'} = $2;
- $test->{$currTest}->{'flat'}->{'cmplx'}->{'actual'} = $3;
- $test->{$currTest}->{'flat'}->{'cmplx'}->{'actualActv'} = $4;
- $test->{$currTest}->{'flat'}->{'queue'}->{'internal'} = $5;
- $test->{$currTest}->{'flat'}->{'queue'}->{'external'} = $6;
+
+ if ($block =~
+ /
+ Actual\sComplexity:\s(\d+)\n
+ Actual\sActive\sComplexity:\s(\d+)\n
+ Internal\sQueue:\s(\d+)\n
+ External\sQueue:\s(\d+)\n
+ /x ) {
+ $test->{$currTest}->{'flat'}->{'cmplx'}->{'actual'} = $1;
+ $test->{$currTest}->{'flat'}->{'cmplx'}->{'actualActv'} = $2;
+ $test->{$currTest}->{'flat'}->{'queue'}->{'internal'} = $3;
+ $test->{$currTest}->{'flat'}->{'queue'}->{'external'} = $4;
+ }
if ($block =~ /State-vector (\d+) byte, depth reached (\d+), errors: (\d+)/) {
$test->{$currTest}->{'pml'}->{'states'}->{'stateSize'} = $1;