author | yiluzhu |
Tue, 22 Dec 2009 15:37:16 +0000 | |
branch | wip |
changeset 103 | ea6129a5c67c |
parent 29 | ee00c00df073 |
permissions | -rw-r--r-- |
3 | 1 |
# |
2 |
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
# All rights reserved. |
|
4 |
# This component and the accompanying materials are made available |
|
5 |
# under the terms of the License "Eclipse Public License v1.0" |
|
6 |
# which accompanies this distribution, and is available |
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
# |
|
9 |
# Initial Contributors: |
|
10 |
# Nokia Corporation - initial contribution. |
|
11 |
# |
|
12 |
# Contributors: |
|
13 |
# |
|
14 |
# Description: |
|
15 |
# |
|
16 |
||
17 |
from raptor_tests import CheckWhatSmokeTest, ReplaceEnvs |
|
18 |
import re |
|
19 |
||
20 |
def run(): |
|
21 |
markerfile = re.sub("(\\\\|\/|:|;| )", "_", |
|
22 |
ReplaceEnvs("$(SBS_HOME)_test_smoke_suite_test_resources_simple_zip_export_archive.zip$(EPOCROOT)_epoc32_testunzip.unzipped")) |
|
23 |
||
24 |
t = CheckWhatSmokeTest() |
|
25 |
t.id = "25" |
|
26 |
t.name = "zip_export_what" |
|
27 |
t.command = "sbs --what " + \ |
|
28 |
"-b smoke_suite/test_resources/simple_zip_export/bld.inf" |
|
29 |
t.stdout = [ |
|
30 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt', |
|
31 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt', |
|
32 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt', |
|
29
ee00c00df073
Catchup to Perforce WIP with timing, python24
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
33 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt', |
ee00c00df073
Catchup to Perforce WIP with timing, python24
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
34 |
"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin" |
3 | 35 |
] |
29
ee00c00df073
Catchup to Perforce WIP with timing, python24
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
36 |
|
3 | 37 |
t.targets = [ |
38 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt', |
|
39 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt', |
|
40 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt', |
|
41 |
'$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt', |
|
29
ee00c00df073
Catchup to Perforce WIP with timing, python24
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
42 |
"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin", |
3 | 43 |
"$(EPOCROOT)/epoc32/build/" + markerfile |
44 |
] |
|
45 |
t.run() |
|
46 |
return t |