sbsv2/raptor/test/smoke_suite/tools.py
author timothy.murphy@nokia.com
Thu, 25 Mar 2010 13:43:28 +0000
branchfix
changeset 408 a819f9223567
parent 3 e1eecf4d390d
child 383 770bd0892cdd
permissions -rw-r--r--
fix: stop using "magic" numbers in string operations for the copyannofile2log feature fix: When using the copylogfromannofile workaround, extract the build ID and build duration and add to the log as these are useful for analysis. The log should now be identical to the stdout file. fix: Remove extra blank lines from output in copylogfromannofile mode.

#
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# 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:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description: 
#

from raptor_tests import SmokeTest

def run():	
	t = SmokeTest()
	t.id = "52"
	t.name = "tools"
	# Do not run with j > 1 because of known issues
	t.command = "sbs -b smoke_suite/test_resources/tools/bld.inf -c tools -j1"
	t.targets = [
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.bsc",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.exe",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.ilk",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.pdb",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.bsc",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.lib",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.pdb",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.bsc",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.lib",
		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.pdb",
		"$(EPOCROOT)/epoc32/release/tools/rel/tool_exe.exe",
		"$(EPOCROOT)/epoc32/release/tools/rel/tool_lib1.lib",
		"$(EPOCROOT)/epoc32/release/tools/rel/tool_lib2.lib",
		"$(EPOCROOT)/epoc32/tools/tool_exe.exe",
		"$(EPOCROOT)/epoc32/tools/tool_lib1.lib",
		"$(EPOCROOT)/epoc32/tools/tool_lib2.lib"
		]
	t.addbuildtargets('smoke_suite/test_resources/tools/bld.inf', [
		"tool_exe_exe/tools/deb/tool_exe_a.obj",
		"tool_exe_exe/tools/deb/tool_exe_a.sbr",
		"tool_exe_exe/tools/deb/tool_exe_b.obj",
		"tool_exe_exe/tools/deb/tool_exe_b.sbr",
		"tool_exe_exe/tools/rel/tool_exe_a.obj",
		"tool_exe_exe/tools/rel/tool_exe_a.sbr",
		"tool_exe_exe/tools/rel/tool_exe_b.obj",
		"tool_exe_exe/tools/rel/tool_exe_b.sbr",
		"tool_lib1_lib/tools/deb/tool_lib1_a.obj",
		"tool_lib1_lib/tools/deb/tool_lib1_a.sbr",
		"tool_lib1_lib/tools/deb/tool_lib1_b.obj",
		"tool_lib1_lib/tools/deb/tool_lib1_b.sbr",
		"tool_lib1_lib/tools/rel/tool_lib1_a.obj",
		"tool_lib1_lib/tools/rel/tool_lib1_a.sbr",
		"tool_lib1_lib/tools/rel/tool_lib1_b.obj",
		"tool_lib1_lib/tools/rel/tool_lib1_b.sbr",
		"tool_lib2_lib/tools/deb/tool_lib2_a.obj",
		"tool_lib2_lib/tools/deb/tool_lib2_a.sbr",
		"tool_lib2_lib/tools/deb/tool_lib2_b.obj",
		"tool_lib2_lib/tools/deb/tool_lib2_b.sbr",
		"tool_lib2_lib/tools/rel/tool_lib2_a.obj",
		"tool_lib2_lib/tools/rel/tool_lib2_a.sbr",
		"tool_lib2_lib/tools/rel/tool_lib2_b.obj",
		"tool_lib2_lib/tools/rel/tool_lib2_b.sbr",
	])
	t.run("windows") # no MSVC compiler on Linux
	return t