SF Bug 2113 - make test actually test so that it would actually fail if the output was wrong.
authortimothy.murphy@nokia.com
Tue, 02 Mar 2010 09:17:29 +0000
changeset 297 7029b5be2b15
parent 296 1436f5b715d5
child 298 15d964981d94
child 303 502501837ac4
child 342 f0e42ff3359f
SF Bug 2113 - make test actually test so that it would actually fail if the output was wrong.
sbsv2/raptor/test/smoke_suite/whatcomp.py
--- a/sbsv2/raptor/test/smoke_suite/whatcomp.py	Tue Mar 02 09:09:50 2010 +0000
+++ b/sbsv2/raptor/test/smoke_suite/whatcomp.py	Tue Mar 02 09:17:29 2010 +0000
@@ -77,12 +77,11 @@
 			the wrong component name."""
 	t.command = "sbs_filter --filters=FilterWhatComp < smoke_suite/test_resources/logexamples/what_component_repeated.log"
 	t.targets = []
-	t.mustmatch = [ 
-		"Chdir y:.ext.app.emailwizard",
-		".*epoc32.data.something",
-		"Chdir y:.sf.mw.gsprofilesrv.ftuwizardmodel.*",
-		".*epoc32.release.armv5.something",
-		"Chdir y:.ext.app.emailwizard.*"
+	t.mustmatch = [] 
+	t.mustmatch_multiline = [ 
+		"Chdir y:.ext.app.emailwizard.*epoc32.data.something.*"+
+		"Chdir y:.sf.mw.gsprofilesrv.ftuwizardmodel.*epoc32.release.armv5.something.*"+
+		"Chdir y:.ext.app.emailwizard.*epoc32.data.something_else"
 		]
 
 	t.mustnotmatch = []