# HG changeset patch # User MattD # Date 1250256859 -3600 # Node ID 32e90c026ea4efe7d456bafbd97b14f63ca34508 # Parent 1fa0548ccf3848fad54e01c918d64af0c26f86a5# Parent bf2e2e1cb5ada41c4f43b78cdd1de395e656f833 catchup merge diff -r 1fa0548ccf38 -r 32e90c026ea4 common/build.xml --- a/common/build.xml Fri Aug 14 12:08:05 2009 +0100 +++ b/common/build.xml Fri Aug 14 14:34:19 2009 +0100 @@ -387,6 +387,9 @@ + + + @@ -396,8 +399,6 @@ - - @@ -462,14 +463,16 @@ + - - - + + + + @@ -712,27 +715,37 @@ + + + + + + + + + - - + + + - + - - + + - - - + + + @@ -740,7 +753,7 @@ - + diff -r 1fa0548ccf38 -r 32e90c026ea4 common/common_props.ant.xml --- a/common/common_props.ant.xml Fri Aug 14 12:08:05 2009 +0100 +++ b/common/common_props.ant.xml Fri Aug 14 14:34:19 2009 +0100 @@ -83,12 +83,12 @@ - + - + diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/ats/devices/c100726/EMULATOR_GENERIC_c100726.properties --- a/common/tools/ats/devices/c100726/EMULATOR_GENERIC_c100726.properties Fri Aug 14 12:08:05 2009 +0100 +++ b/common/tools/ats/devices/c100726/EMULATOR_GENERIC_c100726.properties Fri Aug 14 14:34:19 2009 +0100 @@ -7,7 +7,7 @@ CONNECTION=emulator -TEMPDIR=D:\\ats3 +TEMPDIR=C:\\apps\\ATS3\\tmp\\emulator CLASS=GenericTestableDevice diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/ats/devices/lon-engbuild87/EMULATOR_GENERIC_LON-ENGBUILD87.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/lon-engbuild87/EMULATOR_GENERIC_LON-ENGBUILD87.properties Fri Aug 14 14:34:19 2009 +0100 @@ -0,0 +1,24 @@ + +NAME=GENERIC EMULATOR on LON-ENGBUILD87 + +CATEGORY=hardware + +TYPE=WINSCW + +CONNECTION=emulator + +TEMPDIR=D:\\ats3 + +CLASS=GenericTestableDevice + +HARNESS=GENERIC + +#reinstall files after reboot +REINSTALL=false + +PLATFORM=WINSCW +BUILD=udeb + +IMAGE=winscw_smoketest + + diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/ats/devices/lon-engbuild87/EMULATOR_GENERIC_LONENGBUILD87.properties --- a/common/tools/ats/devices/lon-engbuild87/EMULATOR_GENERIC_LONENGBUILD87.properties Fri Aug 14 12:08:05 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ - -NAME=GENERIC EMULATOR on LON-ENGBUILD87 - -CATEGORY=hardware - -TYPE=WINSCW - -CONNECTION=emulator - -TEMPDIR=D:\\ats3 - -CLASS=GenericTestableDevice - -HARNESS=GENERIC - -#reinstall files after reboot -REINSTALL=false - -PLATFORM=WINSCW -BUILD=udeb - -IMAGE=winscw_smoketest - - diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/ats/devices/lon-engbuild89/EMULATOR_GENERIC_LON-ENGBUILD89.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/lon-engbuild89/EMULATOR_GENERIC_LON-ENGBUILD89.properties Fri Aug 14 14:34:19 2009 +0100 @@ -0,0 +1,22 @@ + +NAME=GENERIC EMULATOR on LON-ENGBUILD89 + +CATEGORY=hardware + +TYPE=WINSCW + +CONNECTION=emulator + +TEMPDIR=D:\\ATS3 + +CLASS=GenericTestableDevice + +HARNESS=GENERIC + +#reinstall files after reboot +REINSTALL=false + +PLATFORM=WINSCW +BUILD=udeb + +IMAGE=winscw_smoketest diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/ats/devices/lon-engbuild89/EMULATOR_GENERIC_LONENGBUILD89.properties --- a/common/tools/ats/devices/lon-engbuild89/EMULATOR_GENERIC_LONENGBUILD89.properties Fri Aug 14 12:08:05 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ - -NAME=GENERIC EMULATOR on LON-ENGBUILD89 - -CATEGORY=hardware - -TYPE=WINSCW - -CONNECTION=emulator - -TEMPDIR=D:\\ATS3 - -CLASS=GenericTestableDevice - -HARNESS=GENERIC - -#reinstall files after reboot -REINSTALL=false - -PLATFORM=WINSCW -BUILD=udeb - -IMAGE=winscw_smoketest diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/ats/devices/sym-build02/EMULATOR_GENERIC_SYM-BUILD02.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/sym-build02/EMULATOR_GENERIC_SYM-BUILD02.properties Fri Aug 14 14:34:19 2009 +0100 @@ -0,0 +1,22 @@ + +NAME=GENERIC EMULATOR on SYM-BUILD02 + +CATEGORY=hardware + +TYPE=WINSCW + +CONNECTION=emulator + +TEMPDIR=C:\\ATS3 + +CLASS=GenericTestableDevice + +HARNESS=GENERIC + +#reinstall files after reboot +REINSTALL=false + +PLATFORM=WINSCW +BUILD=udeb + +IMAGE=winscw_smoketest diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/ats/devices/sym-build02/EMULATOR_GENERIC_SYMBUILD02.properties --- a/common/tools/ats/devices/sym-build02/EMULATOR_GENERIC_SYMBUILD02.properties Fri Aug 14 12:08:05 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ - -NAME=GENERIC EMULATOR on SYM-BUILD02 - -CATEGORY=hardware - -TYPE=WINSCW - -CONNECTION=emulator - -TEMPDIR=C:\\ATS3 - -CLASS=GenericTestableDevice - -HARNESS=GENERIC - -#reinstall files after reboot -REINSTALL=false - -PLATFORM=WINSCW -BUILD=udeb - -IMAGE=winscw_smoketest diff -r 1fa0548ccf38 -r 32e90c026ea4 common/tools/listdir.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/listdir.py Fri Aug 14 14:34:19 2009 +0100 @@ -0,0 +1,43 @@ +# 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: +# mattd +# +# Description: +# listdir.py - Lists a directory contents. +# listdir.py () + +import os +import re +import sys +import string +from os.path import join, isfile + +def main(): + directory = sys.argv[1] + exclude_dirs = [] + if(len(sys.argv)>2): + x_dirs = string.lower(sys.argv[2]) + exclude_dirs = re.split(',', x_dirs) + scandir(directory, exclude_dirs) + +def scandir(top, exclude_dirs): + fixpath = re.compile('\\\\') + fixroot = re.compile('^%s\\\\' % top) + for root, dirs, files in os.walk(top, topdown=True): + for dirname in dirs: + if(string.lower(fixpath.sub('/',os.path.join(root,dirname))) in exclude_dirs): + dirs.remove(dirname) + for name in files: + filename = os.path.join(root, name) + fn = string.lower(fixpath.sub('/',fixroot.sub('',filename))) + print fn + +main()