sbsv2/raptor/test/smoke_suite/exe_armv5.py
branchfix
changeset 209 604f2aceff59
parent 205 ce7b587b436c
equal deleted inserted replaced
208:432f3175b677 209:604f2aceff59
   116 	t.warnings = warnings
   116 	t.warnings = warnings
   117 	t.run()
   117 	t.run()
   118 	if t.result == SmokeTest.FAIL:
   118 	if t.result == SmokeTest.FAIL:
   119 		result = SmokeTest.FAIL	
   119 		result = SmokeTest.FAIL	
   120 
   120 
       
   121 
       
   122 	# Test for the Check Filter to ensure that it reports 
       
   123 	# missing files properly when used from sbs_filter.py:
   121 	import os
   124 	import os
   122 	abs_epocroot = os.path.abspath(os.environ["EPOCROOT"])
   125 	abs_epocroot = os.path.abspath(os.environ["EPOCROOT"])
   123 	t.id = "0001d"
   126 	t.id = "0001d"
   124 	t.command = "rm $(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map; sbs_filter  --filters=FilterCheck < ${SBSLOGFILE}"
   127 	t.command = "rm $(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map; sbs_filter  --filters=FilterCheck < ${SBSLOGFILE}"
   125 	t.targets = []
   128 	t.targets = []
   126 	t.mustmatch = ["MISSING: *" + abs_epocroot + ".epoc32.release.armv5.udeb.test\.exe\.map"]
   129 	t.mustmatch = ["MISSING:[ 	]+" + abs_epocroot.replace("\\","\\\\") + ".epoc32.release.armv5.udeb.test\.exe\.map.*"]
   127 	t.mustnotmatch = []
   130 	t.mustnotmatch = []
   128 	t.warnings = 1
   131 	t.warnings = 1
   129 	t.returncode = 2
   132 	t.returncode = 2
   130 	t.run()
   133 	t.run()
   131 
   134