summaryrefslogtreecommitdiffstats
path: root/test/w3c
diff options
context:
space:
mode:
Diffstat (limited to 'test/w3c')
-rwxr-xr-xtest/w3c/create-test-table.pl22
1 files changed, 13 insertions, 9 deletions
diff --git a/test/w3c/create-test-table.pl b/test/w3c/create-test-table.pl
index feda8a0..3535407 100755
--- a/test/w3c/create-test-table.pl
+++ b/test/w3c/create-test-table.pl
@@ -9,24 +9,28 @@ use Cwd 'abs_path';
my $ctest = 'ctest'; # we assume it to be in the path
-my $possibleBuildDir = shift | "../../build/cli";
+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) {
+#if (-d $possibleBuildDir) {
chdir $possibleBuildDir or die($!);
-}
+#}
my %testClasses = (
'w3c/ecma' => 'ECMA',
-'w3c/lua' => 'Lua',
-'w3c/namespace' => 'NS',
-'w3c/promela' => 'Promela',
+#'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/gen/c/ecma' => 'C (ECMA)',
+#'w3c/gen/c/lua' => 'C (Lua)',
# 'w3c/binding/java/jexl' => 'JEXL',
-'w3c/spin/promela' => 'Spin'
+#'w3c/spin/promela' => 'Spin'
);
my %specClass = (