common/tools/ats/bctest/locationsrv/lmsearch/lmsearch.pl
changeset 552 8018a074606b
parent 452 a95e14867851
child 663 27b2711afab1
equal deleted inserted replaced
546:1c8d0b0d08dc 552:8018a074606b
    18 use strict;
    18 use strict;
    19 use File::Copy;
    19 use File::Copy;
    20 use File::Path;
    20 use File::Path;
    21 
    21 
    22 unlink "lmsearchtest.zip";
    22 unlink "lmsearchtest.zip";
    23 ##rmtree "temp";
    23 rmtree "temp";
    24 mkpath "temp/lmsearchtest/general/testframework";
    24 mkpath "temp/lmsearchtest/general/testframework";
    25 mkpath "temp/lmsearchtest/winscw_udeb";
    25 mkpath "temp/lmsearchtest/winscw_udeb";
    26 
    26 
    27 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
    27 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
    28 copy("lmsearch.xml",	"temp/test.xml");
    28 copy("lmsearch.xml",	"temp/test.xml");
    29 
    29 
    30 copy($epoc . "release/winscw/udeb/testlmksearchapi.dll",			"temp/lmsearchtest/winscw_udeb/testlmksearchapi.dll");
    30 copy($epoc . "release/winscw/udeb/testlmksearchapi.dll",			"temp/lmsearchtest/winscw_udeb/testlmksearchapi.dll") or die "failed : $!";
    31 copy($epoc . "winscw/c/testframework/TestFramework_lmsearch.ini",	"temp/lmsearchtest/general/testframework/TestFramework_lmsearch.ini");
    31 copy($epoc . "winscw/c/testframework/TestFramework_lmsearch.ini",	"temp/lmsearchtest/general/testframework/TestFramework_lmsearch.ini") or die "failed : $!";
    32 copy($epoc . "winscw/c/testframework/testlmksearchapi.cfg",			"temp/lmsearchtest/general/testframework/testlmksearchapi.cfg");
    32 copy($epoc . "winscw/c/testframework/testlmksearchapi.cfg",			"temp/lmsearchtest/general/testframework/testlmksearchapi.cfg") or die "failed : $!";
    33 
    33 
    34 system("7z a -tzip lmsearchtest.zip ./temp/*");
    34 system("7z a -tzip lmsearchtest.zip ./temp/*");