sbsv2/raptor/test/smoke_suite/tools.py
author Jon Chatten
Fri, 05 Feb 2010 18:31:38 +0000
branchfix
changeset 225 d401dbd3a410
parent 3 e1eecf4d390d
child 383 770bd0892cdd
permissions -rw-r--r--
Ensure that parallel parsing sbs calls pass on --no-depend-generate and --no-depend-include (as these influence makefile generation). Make .DEFAULT a double-colon target, so we don't have to worry about duplicate instances due to -include. Code review updates.

#
# 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