# HG changeset patch # User Maciej Seroka # Date 1255611256 -3600 # Node ID 8ab1b0a53c7c00ecc05b1076d032139b780ec9e1 # Parent 6e80d1c1b9d9fd85ae24c60eb2cdd0b2629840a7 Added new BC test diff -r 6e80d1c1b9d9 -r 8ab1b0a53c7c common/tools/ats/bctest/tlocale/tlocale.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/tlocale/tlocale.pl Thu Oct 15 13:54:16 2009 +0100 @@ -0,0 +1,34 @@ +#!/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: +# Maciej Seroka +# +# Description: +# Script to build ATS test drop for TLocale BC tests + + +use strict; +use File::Copy; +use File::Path; + +unlink "tlocaletest.zip"; +rmtree "temp"; +mkpath "temp/tlocaletest/general/testframework"; +mkpath "temp/tlocaletest/winscw_udeb"; + +my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; +copy("tlocale.xml", "temp/test.xml"); + +copy($epoc . "release/winscw/udeb/tlocale.dll", "temp/tlocaletest/winscw_udeb/tlocale.dll") or die "failed : $!"; +copy($epoc . "winscw/c/testframework/testframework_tlocale.ini", "temp/tlocaletest/general/testframework/testframework_tlocale.ini") or die "failed : $!"; +copy($epoc . "winscw/c/testframework/tlocale.cfg", "temp/tlocaletest/general/testframework/tlocale.cfg") or die "failed : $!"; + +system("7z a -tzip tlocaletest.zip ./temp/*"); diff -r 6e80d1c1b9d9 -r 8ab1b0a53c7c common/tools/ats/bctest/tlocale/tlocale.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/tlocale/tlocale.xml Thu Oct 15 13:54:16 2009 +0100 @@ -0,0 +1,77 @@ + + + 1 + admin + 10 + + TLocale BC Tests + + + + + + + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + + + tlocaletest/winscw_udeb/tlocale.dll + tlocaletest/general/testframework/testframework_tlocale.ini + tlocaletest/general/testframework/tlocale.cfg + +