diff -r a179b74831c9 -r c1f20ce4abcf kerneltest/f32test/loader/dlltree.pl --- a/kerneltest/f32test/loader/dlltree.pl Thu Aug 19 11:14:22 2010 +0300 +++ b/kerneltest/f32test/loader/dlltree.pl Tue Aug 31 16:34:26 2010 +0300 @@ -57,6 +57,16 @@ my $copy_end=$year+1900; my $argc=scalar(@ARGV); + +# check whether its raptor specific +my $is_raptor = 0; +if ($ARGV[$argc-1] eq "raptor") # change "raptor" to something you want. +{ + pop(@ARGV); + $is_raptor = 1; + $argc--; +} + ($argc==1 or $argc==2 or $argc==3) or die "Usage: perl dlltree.pl [-allowbad]\n"; my $infile=$ARGV[0]; open IN, $infile or die "Cannot open input file $infile\n"; @@ -795,13 +805,20 @@ open OUT, ">$dlltreename" or die "Could not open $dlltreename for output\n"; print OUT @dlltree; close OUT; -my $testbatch = "$ENV{EPOCROOT}epoc32\\build"; -$destpath =~ s/\//\\/go; -$testbatch.="\\" unless ($destpath =~ /^\\/); -$testbatch.=$destpath; -$testbatch.="##MAIN##.auto.bat"; -if (!$allowbad) { - push @iby, "data=$testbatch\t\ttest\\loader.auto.bat\n"; + +my $testbatch =''; +if($is_raptor) { + $testbatch="$ENV{EPOCROOT}\\epoc32\\data\\z\\test\\gen\\##MAIN##.auto.bat"; +} +else { + $testbatch = "$ENV{EPOCROOT}epoc32\\build"; + $destpath =~ s/\//\\/go; + $testbatch.="\\" unless ($destpath =~ /^\\/); + $testbatch.=$destpath; + $testbatch.="##MAIN##.auto.bat"; + } +if (!$allowbad){ + push @iby, "data=$testbatch\t\ttest\\loader.auto.bat\n"; } open OUT, ">$ibyname" or die "Could not open $ibyname for output\n"; print OUT @iby;