** NOT PART OF THE BUILD ** | Moving parser test cases from logparse dir. to html dir.
git-svn-id: svn://10.0.0.236/trunk@124618 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
20
mozilla/parser/htmlparser/tests/html/ListGen.pl
Executable file
20
mozilla/parser/htmlparser/tests/html/ListGen.pl
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use Cwd;
|
||||
|
||||
$curr_dir=`cd`;
|
||||
|
||||
open(OUTFILE,">file_list.txt") || die "Can't open file_list.txt $!";
|
||||
opendir(D,".");
|
||||
|
||||
@files=readdir(D);
|
||||
$curr_dir=~s/\\/\//g;
|
||||
chomp($curr_dir);
|
||||
|
||||
foreach $file(@files) {
|
||||
if($file=~m/\.*m/) {
|
||||
print OUTFILE "$file\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user