зеркало из https://github.com/mozilla/gecko-dev.git
** NOT PART OF THE BUILD **
Pertaining to parser regerssion testing
This commit is contained in:
Родитель
af1a4e0b75
Коммит
a059ad4074
|
@ -4,7 +4,7 @@ use Cwd;
|
|||
|
||||
$curr_dir=`cd`;
|
||||
|
||||
open(OUTFILE,">url_list.txt") || die "Can't open url.txt $!";
|
||||
open(OUTFILE,">file_list.txt") || die "Can't open file_list.txt $!";
|
||||
opendir(D,".");
|
||||
|
||||
@files=readdir(D);
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
To run parser regression test do the following:
|
||||
|
||||
1) cp ../html/*.html .
|
||||
2) perl ListGen.pl ( this will create file_list.txt )
|
||||
3) make ( build TestParser.exe )
|
||||
4) perl TestParser.pl -b <drive>:/<path>/mozilla/dist/bin file_list.txt
|
||||
( creates base line files. Note: Should be run _without_ your changes )
|
||||
5) apply your patch.
|
||||
6) perl TestParser.pl -v <drive>:/<path>/mozilla/dist/bin file_list.txt
|
||||
( creates .v files and compares against base line. )
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
use Cwd;
|
||||
|
||||
die "\nUsage: perl TestParser.pl [-b|-v] <bin-path> <urllist>
|
||||
die "\nUsage: perl TestParser.pl [-b|-v] <bin-path> <filelist>
|
||||
b -> create baseline
|
||||
v -> verify changes
|
||||
bin-path -> Ex. drive:/mozilla/dist/bin
|
||||
filelist -> Run ListGen.pl which will yield url_list.txt\n"
|
||||
bin-path -> Ex. <drive>:/<path>/mozilla/dist/bin
|
||||
filelist -> Run ListGen.pl which will yield file_list.txt\n"
|
||||
|
||||
if(@ARGV < 3 || @ARGV > 3);
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test0.html s:/mozilla/htmlparser/tests/logparse/test0.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test1.html s:/mozilla/htmlparser/tests/logparse/test1.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test2.html s:/mozilla/htmlparser/tests/logparse/test2.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test3.html s:/mozilla/htmlparser/tests/logparse/test3.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test4.html s:/mozilla/htmlparser/tests/logparse/test4.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test5.html s:/mozilla/htmlparser/tests/logparse/test5.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test6.html s:/mozilla/htmlparser/tests/logparse/test6.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test7.html s:/mozilla/htmlparser/tests/logparse/test7.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test8.html s:/mozilla/htmlparser/tests/logparse/test8.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test9.html s:/mozilla/htmlparser/tests/logparse/test9.bl
|
|
@ -4,7 +4,7 @@ use Cwd;
|
|||
|
||||
$curr_dir=`cd`;
|
||||
|
||||
open(OUTFILE,">url_list.txt") || die "Can't open url.txt $!";
|
||||
open(OUTFILE,">file_list.txt") || die "Can't open file_list.txt $!";
|
||||
opendir(D,".");
|
||||
|
||||
@files=readdir(D);
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
To run parser regression test do the following:
|
||||
|
||||
1) cp ../html/*.html .
|
||||
2) perl ListGen.pl ( this will create file_list.txt )
|
||||
3) make ( build TestParser.exe )
|
||||
4) perl TestParser.pl -b <drive>:/<path>/mozilla/dist/bin file_list.txt
|
||||
( creates base line files. Note: Should be run _without_ your changes )
|
||||
5) apply your patch.
|
||||
6) perl TestParser.pl -v <drive>:/<path>/mozilla/dist/bin file_list.txt
|
||||
( creates .v files and compares against base line. )
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
use Cwd;
|
||||
|
||||
die "\nUsage: perl TestParser.pl [-b|-v] <bin-path> <urllist>
|
||||
die "\nUsage: perl TestParser.pl [-b|-v] <bin-path> <filelist>
|
||||
b -> create baseline
|
||||
v -> verify changes
|
||||
bin-path -> Ex. drive:/mozilla/dist/bin
|
||||
filelist -> Run ListGen.pl which will yield url_list.txt\n"
|
||||
bin-path -> Ex. <drive>:/<path>/mozilla/dist/bin
|
||||
filelist -> Run ListGen.pl which will yield file_list.txt\n"
|
||||
|
||||
if(@ARGV < 3 || @ARGV > 3);
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test0.html s:/mozilla/htmlparser/tests/logparse/test0.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test1.html s:/mozilla/htmlparser/tests/logparse/test1.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test2.html s:/mozilla/htmlparser/tests/logparse/test2.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test3.html s:/mozilla/htmlparser/tests/logparse/test3.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test4.html s:/mozilla/htmlparser/tests/logparse/test4.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test5.html s:/mozilla/htmlparser/tests/logparse/test5.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test6.html s:/mozilla/htmlparser/tests/logparse/test6.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test7.html s:/mozilla/htmlparser/tests/logparse/test7.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test8.html s:/mozilla/htmlparser/tests/logparse/test8.bl
|
||||
s:/mozilla/dist/win32_d.obj/bin/res/samples/test9.html s:/mozilla/htmlparser/tests/logparse/test9.bl
|
Загрузка…
Ссылка в новой задаче