#!/usr/bin/perl use strict; use Data::Dumper; use XML::Simple; use File::Basename; use File::Find; use Cwd 'abs_path'; my $ctest = 'ctest'; # we assume it to be in the path my $possibleBuildDir = "../../build/cli"; if (@ARGV>0) { $possibleBuildDir = $ARGV[0]; } #print $possibleBuildDir; chdir dirname(abs_path($0)) or die($!); my $manifest = XMLin("manifest.xml"); #if (-d $possibleBuildDir) { chdir $possibleBuildDir or die($!); #} my %testClasses = ( 'w3c/ecma' => 'ECMA', 'w3c/lua' => 'Lua', #'w3c/namespace' => 'NS', 'w3c/promela' => 'Promela', # 'w3c/c89' => 'C89', #'w3c/gen/c/ecma' => 'C (ECMA)', #'w3c/gen/c/lua' => 'C (Lua)', # 'w3c/binding/java/jexl' => 'JEXL', #'w3c/spin/promela' => 'Spin' 'w3c/gen/vhdl/promela' => 'VHDL Promela', 'w3c/gen/vhdl/ecma' => 'VHDL ECMA', ); my %specClass = ( '3' => 'Core Constructs', '4' => 'Executable Content', '5' => 'Data Model and Manipulation', '6' => 'External Communications', 'C' => 'Data Models', 'D' => 'Event I/O Processor' ); my %specName = ( 'C.1' => 'The Null Data Model', 'D.2' => 'Basic HTTP Event I/O Processor', 'C.2' => 'The ECMAScript Data Model', 'C.3' => 'The XPath Data Model', 'D.1' => 'SCXML Event I/O Processor', '3.10' => '', '3.12' => 'SCXML Events', '3.13' => 'Selecting and Executing Transitions', '3.2' => '', '3.3' => '', '3.7' => '', '3.8' => '', '3.9' => '', '4.2' => '', '4.3' => '', '4.6' => '', '4.9' => 'Evaluation of Executable Content', '5.10' => 'System Variables', '5.3' => '', '5.4' => '', '5.5' => '', '5.6' => '', '5.7' => '', '5.8' => '