sbsv2/raptor/test/smoke_suite/gnumakefile_whatlog.py
changeset 3 e1eecf4d390d
child 20 d1f6767eec1a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbsv2/raptor/test/smoke_suite/gnumakefile_whatlog.py	Mon Nov 16 09:46:46 2009 +0000
@@ -0,0 +1,79 @@
+#
+# 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 CheckWhatSmokeTest
+import re, os
+
+def run():
+	t = CheckWhatSmokeTest()
+	t.id = "70"
+	t.name = "gnumakefile_whatlog"
+	t.command = "sbs -b smoke_suite/test_resources/gnumakefile/bld.inf -f - " \
+			"-m ${SBSMAKEFILE} -c armv5.whatlog -c winscw.whatlog"
+	componentpath = re.sub(r'\\','/',os.path.abspath("smoke_suite/test_resources/gnumakefile"))
+	t.regexlinefilter = re.compile("^<(whatlog|build>)")
+	t.hostossensitive = False
+	t.usebash = True
+	t.targets = [
+		componentpath+"/master_bld_ARMV5_UDEB.txt",
+		componentpath+"/master_bld_ARMV5_UREL.txt",
+		componentpath+"/master_bld_WINSCW_UDEB.txt",
+		componentpath+"/master_bld_WINSCW_UREL.txt",
+		componentpath+"/master_final_ARMV5_UDEB.txt",
+		componentpath+"/master_final_ARMV5_UREL.txt",
+		componentpath+"/master_final_WINSCW_UDEB.txt",
+		componentpath+"/master_final_WINSCW_UREL.txt",
+		componentpath+"/master_lib_ARMV5_UDEB.txt",
+		componentpath+"/master_lib_ARMV5_UREL.txt",
+		componentpath+"/master_lib_WINSCW_UDEB.txt",
+		componentpath+"/master_lib_WINSCW_UREL.txt",
+		componentpath+"/master_makmake_ARMV5_UDEB.txt",
+		componentpath+"/master_makmake_ARMV5_UREL.txt",
+		componentpath+"/master_makmake_WINSCW_UDEB.txt",
+		componentpath+"/master_makmake_WINSCW_UREL.txt",
+		componentpath+"/master_resource_ARMV5_UDEB.txt",
+		componentpath+"/master_resource_ARMV5_UREL.txt",
+		componentpath+"/master_resource_WINSCW_UDEB.txt",
+		componentpath+"/master_resource_WINSCW_UREL.txt"
+		]
+	t.stdout = [
+		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='' config='armv5_udeb.whatlog'>",
+		"<build>"+componentpath+"/master_bld_ARMV5_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_final_ARMV5_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_lib_ARMV5_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_makmake_ARMV5_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_resource_ARMV5_UDEB.txt</build>",
+		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='' config='armv5_urel.whatlog'>",
+		"<build>"+componentpath+"/master_bld_ARMV5_UREL.txt</build>",
+		"<build>"+componentpath+"/master_final_ARMV5_UREL.txt</build>",
+		"<build>"+componentpath+"/master_lib_ARMV5_UREL.txt</build>",
+		"<build>"+componentpath+"/master_makmake_ARMV5_UREL.txt</build>",
+		"<build>"+componentpath+"/master_resource_ARMV5_UREL.txt</build>",
+		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='' config='winscw_urel.whatlog'>",
+		"<build>"+componentpath+"/master_bld_WINSCW_UREL.txt</build>",
+		"<build>"+componentpath+"/master_final_WINSCW_UREL.txt</build>",
+		"<build>"+componentpath+"/master_lib_WINSCW_UREL.txt</build>",
+		"<build>"+componentpath+"/master_makmake_WINSCW_UREL.txt</build>",
+		"<build>"+componentpath+"/master_resource_WINSCW_UREL.txt</build>",
+		"<whatlog bldinf='"+componentpath+"/bld.inf' mmp='' config='winscw_udeb.whatlog'>",
+		"<build>"+componentpath+"/master_bld_WINSCW_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_final_WINSCW_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_lib_WINSCW_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_makmake_WINSCW_UDEB.txt</build>",
+		"<build>"+componentpath+"/master_resource_WINSCW_UDEB.txt</build>"
+	]
+	t.run("windows") # we don't have make 3.79 on Linux
+	return t