sbsv2/raptor/test/smoke_suite/export.py
author timothy.murphy@nokia.com
Fri, 26 Feb 2010 17:07:56 +0000
branchfix
changeset 278 c38bfd29ee57
parent 14 45cdac6e50c6
child 289 91bbfbf8c43e
permissions -rw-r--r--
SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     1
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     3
# All rights reserved.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     4
# This component and the accompanying materials are made available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     6
# which accompanies this distribution, and is available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     8
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     9
# Initial Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    11
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    12
# Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    13
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    14
# Description: 
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    15
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    16
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    17
from raptor_tests import SmokeTest, AntiTargetSmokeTest
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    18
import os
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    19
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    20
def run():
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    21
	result = SmokeTest.PASS
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    22
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    23
	# This .inf file is created for clean_simple_export and
14
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    24
	# reallyclean_simple_export tests to use so that we can put the
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    25
	# username into the output filenames - which helps a lot when
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    26
	# several people run tests on the same computer (e.g. linux machines)
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    27
	bld = open('smoke_suite/test_resources/simple_export/expbld.inf', 'w')
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    28
	bld.write("PRJ_PLATFORMS\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    29
		"ARMV5 WINSCW\n\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    30
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    31
		"PRJ_MMPFILES\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    32
		"simple.mmp\n\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    33
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    34
		"PRJ_EXPORTS\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    35
		"simple_exp1.h exported_1.h\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    36
		"simple_exp2.h exported_2.h\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    37
		"simple_exp3.h exported_3.h\n"
278
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    38
		"executable_file executable_file\n"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    39
		'"file with a space.doc" "exportedfilewithspacesremoved.doc"\n'
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    40
		'"file with a space.doc" "exported file with a space.doc"\n\n'
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    41
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    42
		"simple_exp1.h /tmp/"+os.environ['USER']+"/  //\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    43
		"simple_exp2.h \\tmp\\"+os.environ['USER']+"/  //\n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    44
		"simple_exp3.h /tmp/"+os.environ['USER']+"/simple_exp3.h \n"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    45
		"simple_exp4.h //")
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    46
	bld.close()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    47
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    48
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    49
	t = SmokeTest()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    50
	t.id = "0023a"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    51
	t.name = "export"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    52
	t.command = "sbs -b smoke_suite/test_resources/simple_export/expbld.inf " \
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    53
			+ "-c armv5 EXPORT"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    54
	t.targets = [
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    55
		"$(EPOCROOT)/epoc32/include/exported_1.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    56
		"$(EPOCROOT)/epoc32/include/exported_2.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    57
		"$(EPOCROOT)/epoc32/include/exported_3.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    58
		"$(EPOCROOT)/epoc32/include/exportedfilewithspacesremoved.doc",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    59
		"$(EPOCROOT)/epoc32/include/exported file with a space.doc",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    60
		"/tmp/$(USER)/simple_exp1.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    61
		"/tmp/$(USER)/simple_exp2.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    62
		"/tmp/$(USER)/simple_exp3.h",
278
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    63
		"$(EPOCROOT)/epoc32/include/executable_file",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    64
		"$(EPOCROOT)/epoc32/include/simple_exp4.h"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    65
		]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    66
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    67
	if t.result == SmokeTest.FAIL:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    68
		result = SmokeTest.FAIL
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    69
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    70
278
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    71
	t = SmokeTest()
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    72
	t.id = "0023a1"
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    73
	t.name = "export"
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    74
	t.usebash = True
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    75
	t.command = "ls -l ${EPOCROOT}/epoc32/include/executable_file"
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    76
	t.mustmatch = [ "^.rwxrwxr.x .*executable_file.*$" ]
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    77
	t.targets = []
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    78
	t.run()
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    79
	t.usebash = False
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    80
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    81
	if t.result == SmokeTest.FAIL:
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    82
		result = SmokeTest.FAIL
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    83
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    84
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    85
	# Testing if clean deletes any exports which it is not supposed to
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    86
	t.id = "0023b"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    87
	t.name = "export_clean" 
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    88
	t.command = "sbs -b smoke_suite/test_resources/simple_export/expbld.inf " \
14
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    89
			+ "-c armv5 clean"
278
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    90
	t.mustmatch = []
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    91
	t.targets = [
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    92
		"$(EPOCROOT)/epoc32/include/exported_1.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    93
		"$(EPOCROOT)/epoc32/include/exported_2.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    94
		"$(EPOCROOT)/epoc32/include/exported_3.h",
278
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
    95
		"$(EPOCROOT)/epoc32/include/executable_file",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    96
		"$(EPOCROOT)/epoc32/include/exportedfilewithspacesremoved.doc",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    97
		"$(EPOCROOT)/epoc32/include/exported file with a space.doc",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    98
		"/tmp/$(USER)/simple_exp1.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    99
		"/tmp/$(USER)/simple_exp2.h",
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   100
		"/tmp/$(USER)/simple_exp3.h"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   101
		]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   102
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   103
	if t.result == SmokeTest.FAIL:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   104
		result = SmokeTest.FAIL
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   105
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   106
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   107
	t = AntiTargetSmokeTest()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   108
	t.id = "0023c"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   109
	t.name = "export_reallyclean" 
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   110
	t.command = "sbs -b smoke_suite/test_resources/simple_export/expbld.inf " \
14
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   111
			+ "-c armv5 reallyclean"
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   112
	t.antitargets = [
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   113
		'$(EPOCROOT)/epoc32/include/exported_1.h',
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   114
		'$(EPOCROOT)/epoc32/include/exported_2.h',
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   115
		'$(EPOCROOT)/epoc32/include/exported_3.h',
278
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
   116
		"$(EPOCROOT)/epoc32/include/executable_file",
14
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   117
		'$(EPOCROOT)/epoc32/include/exportedfilewithspacesremoved.doc',
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   118
		'$(EPOCROOT)/epoc32/include/exported file with a space.doc',
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   119
		'/tmp/$(USER)/simple_exp1.h',
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   120
		'/tmp/$(USER)/simple_exp2.h',
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   121
		'/tmp/$(USER)/simple_exp3.h',
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   122
		'$(EPOCROOT)/epoc32/include/simple_exp4.h'
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   123
	]
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   124
	t.run()
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   125
	if t.result == SmokeTest.FAIL:
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   126
		result = SmokeTest.FAIL
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   127
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   128
	# Check that the --noexport feature really does prevent exports from happening
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   129
	t = AntiTargetSmokeTest()
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   130
	t.id = "0023d"
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   131
	t.name = "export_noexport" 
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   132
	t.command = "sbs -b smoke_suite/test_resources/simple_export/expbld.inf " \
45cdac6e50c6 --noexport option
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   133
			+ "-c armv5 --noexport -n"
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   134
	t.antitargets = [
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   135
		'$(EPOCROOT)/epoc32/include/exported_1.h',
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   136
		'$(EPOCROOT)/epoc32/include/exported_2.h',
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   137
		'$(EPOCROOT)/epoc32/include/exported_3.h',
278
c38bfd29ee57 SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux)
timothy.murphy@nokia.com
parents: 14
diff changeset
   138
		"$(EPOCROOT)/epoc32/include/executable_file",
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   139
		'$(EPOCROOT)/epoc32/include/exportedfilewithspacesremoved.doc',
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   140
		'$(EPOCROOT)/epoc32/include/exported file with a space.doc',
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   141
		'/tmp/$(USER)/simple_exp1.h',
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   142
		'/tmp/$(USER)/simple_exp2.h',
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   143
		'/tmp/$(USER)/simple_exp3.h',
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   144
		'$(EPOCROOT)/epoc32/include/simple_exp4.h'
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   145
	]
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   146
	t.run()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   147
	if t.result == SmokeTest.FAIL:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   148
		result = SmokeTest.FAIL
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   149
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   150
	t.id = "23"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   151
	t.name = "export"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   152
	t.result = result
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   153
	t.print_result()
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
   154
	return t