[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: khtmltests/js/mozilla
From: Stephan Kulow <coolo () kde ! org>
Date: 2003-11-21 8:36:38
[Download RAW message or body]
CVS commit by coolo:
with the new test_regression it becomes a bit more complicated
A tests/shell.js 1.1
M +7 -6 runtests.pl 1.10
R shell.js 1.1
--- khtmltests/js/mozilla/runtests.pl #1.9:1.10
@@ -17,5 +17,8 @@
print "";
print "For example:\n";
+ print " cd tests\n";
print " cvs -d :pserver:anonymous\@cvs-mirror.mozilla.org:/cvsroot checkout mozilla/js/tests\n";
+ print " cd ..\n";
+ print " mkdir baseline output\n";
print " ./runtests.pl -showoutput ~/src/kdelibs/khtml/test_regression mozilla/js/tests ecma_3\n";
print "\n";
@@ -40,6 +43,4 @@
-e $TESTKJS || die "$TESTKJS: no such file or directory\n";
--d $TESTDIR || die "$TESTDIR: no such directory\n";
-
if ($TESTS) {
@@ -86,7 +87,7 @@
my @tests;
- -d "$TESTDIR/$dir" || die "$TESTDIR/$dir: no such directory";
+ -d "tests/$TESTDIR/$dir" || die "tests/$TESTDIR/$dir: no such directory";
- opendir(DIR,"$TESTDIR/$dir") || die "Can't open $TESTDIR/$dir";
+ opendir(DIR,"tests/$TESTDIR/$dir") || die "Can't open tests/$TESTDIR/$dir";
my @entries = readdir(DIR);
closedir(DIR);
@@ -95,5 +96,5 @@
next if ($entry eq 'lc2' || $entry eq 'lc3' || $entry eq 'src');
my $fn = "$TESTDIR/$dir/$entry";
- if (-d "$fn") {
+ if (-d "tests/$fn") {
push(@tests,run_test_dir("$dir/$entry"));
}
@@ -113,5 +114,5 @@
# find shell.js files
- my $cmd = "$TESTKJS $TESTDIR /var/tmp -t $testname";
+ my $cmd = "$TESTKJS . -t $TESTDIR/$testname";
# run the test
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic