Group/smoketest.pl
branchSymbian3
changeset 64 a67132c2eb0c
parent 63 29a90d2412a4
child 65 095ced8bfefa
equal deleted inserted replaced
63:29a90d2412a4 64:a67132c2eb0c
    60 }
    60 }
    61 
    61 
    62 unlink "smoketest.zip";
    62 unlink "smoketest.zip";
    63 rmtree "temp";
    63 rmtree "temp";
    64 mkpath "temp";
    64 mkpath "temp";
       
    65 
       
    66 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
    65 
    67 
    66 if ($target eq "WINSCW") { # Build ATS test drop for Emulator.
    68 if ($target eq "WINSCW") { # Build ATS test drop for Emulator.
    67 	mkpath "temp/smoketest/general";
    69 	mkpath "temp/smoketest/general";
    68 	mkpath "temp/smoketest/winscw_udeb";
    70 	mkpath "temp/smoketest/winscw_udeb";
    69 	mkpath "temp/smoketest/sms/general";
    71 	mkpath "temp/smoketest/sms/general";
    76 	mkpath "temp/smoketest/localisation/general";
    78 	mkpath "temp/smoketest/localisation/general";
    77 	mkpath "temp/smoketest/bitmap/general";
    79 	mkpath "temp/smoketest/bitmap/general";
    78 	mkpath "temp/smoketest/ethernet/general";
    80 	mkpath "temp/smoketest/ethernet/general";
    79 	mkpath "temp/smoketest/web/general";
    81 	mkpath "temp/smoketest/web/general";
    80 
    82 
    81 	my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
       
    82 	if (lc($ats_version) eq "ats3") { copy("smoketest.xml",				"temp/test.xml"); } # Use ATS3 test plan.
    83 	if (lc($ats_version) eq "ats3") { copy("smoketest.xml",				"temp/test.xml"); } # Use ATS3 test plan.
    83 	if (lc($ats_version) eq "ats4") { copy("ats4_smoketest.xml",		"temp/test.xml"); } # Use ATS4 test plan.
    84 	if (lc($ats_version) eq "ats4") { copy("ats4_smoketest.xml",		"temp/test.xml"); } # Use ATS4 test plan.
    84 	copy($epoc . "data/z/smoketest/smoketest_agenda.ini",				"temp/smoketest/general/smoketest_agenda.ini");
    85 	copy($epoc . "data/z/smoketest/smoketest_agenda.ini",				"temp/smoketest/general/smoketest_agenda.ini");
    85 	copy($epoc . "data/z/smoketest/smoketest_agenda.script",			"temp/smoketest/general/smoketest_agenda.script");
    86 	copy($epoc . "data/z/smoketest/smoketest_agenda.script",			"temp/smoketest/general/smoketest_agenda.script");
    86 	copy($epoc . "data/z/smoketest/smoketest_apploader.ini",			"temp/smoketest/general/smoketest_apploader.ini");
    87 	copy($epoc . "data/z/smoketest/smoketest_apploader.ini",			"temp/smoketest/general/smoketest_apploader.ini");