common/tools/ats/bctest/systemsw/systemsw.pl
author Simon Howkins <simonh@symbian.org>
Fri, 19 Mar 2010 11:20:24 +0000
changeset 936 e6a0e92cf215
parent 552 8018a074606b
child 1228 32ae1f6f1c35
permissions -rw-r--r--
Updated version checker to permit all versions of hg from v1.2 to v1.5

#!/usr/bin/perl
# Copyright (c) 2009 Symbian Foundation Ltd
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Symbian Foundation Ltd - initial contribution.
#
# Contributors:
# Louis Henry Nayegon <louisn@symbian.org>
#
# Description:
# Script to build ATS test drop system software tests


use strict;
use File::Copy;
use File::Path;

unlink "systemswtest.zip";
rmtree "temp";
mkpath "temp/systemswtest/winscw_udeb";

my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
copy("systemsw.xml",	"temp/test.xml");

copy($epoc . "release/winscw/udeb/featuremanagertest.dll",		"temp/systemswtest/winscw_udeb/featuremanagertest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/finditemenginetest.dll",		"temp/systemswtest/winscw_udeb/finditemenginetest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/light.dll",					"temp/systemswtest/winscw_udeb/light.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/networkstatustest.dll",		"temp/systemswtest/winscw_udeb/networkstatustest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/phoneparsertest.dll",			"temp/systemswtest/winscw_udeb/phoneparsertest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/platformenvtest.dll",			"temp/systemswtest/winscw_udeb/platformenvtest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/powerstatetest.dll",			"temp/systemswtest/winscw_udeb/powerstatetest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/sysutiltest.dll",				"temp/systemswtest/winscw_udeb/sysutiltest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/stiftextresolvertest.dll",	"temp/systemswtest/winscw_udeb/stiftextresolvertest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/hwresmantest.dll",			"temp/systemswtest/winscw_udeb/hwresmantest.dll") or die "failed : $!";
##copy($epoc . "release/winscw/udeb/vibractrltest.dll",			"temp/systemswtest/winscw_udeb/vibractrltest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/platformvertest.dll",			"temp/systemswtest/winscw_udeb/platformvertest.dll") or die "failed : $!";
copy($epoc . "release/winscw/udeb/accmonapibctests.dll",		"temp/systemswtest/winscw_udeb/accmonapibctests.dll") or die "failed : $!";

system("7z a -tzip systemswtest.zip ./temp/*");