sbsv2/raptor/test/smoke_suite/mmp_keywords.py
changeset 625 a1925fb7753a
parent 616 24e4ef208cca
equal deleted inserted replaced
624:f70b728ea30c 625:a1925fb7753a
   313 	t.errors = 1
   313 	t.errors = 1
   314 	t.warnings = 1
   314 	t.warnings = 1
   315 	t.targets = []
   315 	t.targets = []
   316 
   316 
   317 	t.run()
   317 	t.run()
   318 
   318 	
       
   319 	# Test keyword: DOCUMENT
       
   320 	t.id = "75o"
       
   321 	t.name = "mmp_keyword_document"
       
   322 	# Note: in t.command, the makefile is cat'd through sed to remove the .DEFAULT double-colon rule's <warning> tag to ensure that t.run succeeds.
       
   323 	t.command = "sbs -b smoke_suite/test_resources/mmp/mmp1/group/bld.inf -c armv5 reallyclean; " + \
       
   324 				"sbs -b smoke_suite/test_resources/mmp/mmp1/group/bld.inf --no-depend-generate -c armv5_urel -m ${SBSMAKEFILE}; " + \
       
   325 				"cat ${SBSMAKEFILE}_all.default"
       
   326 	
       
   327 	t.mustmatch_singleline = ["DOCUMENT:=.*test/smoke_suite/test_resources/mmp/mmp1/src/file01\.txt\\s+.*test/smoke_suite/test_resources/mmp/mmp1/src/file02\.txt"]
       
   328 	t.mustnotmatch = []
       
   329 	t.countmatch = []
       
   330 	
       
   331 	t.errors = 0
       
   332 	t.warnings = 0
       
   333 	t.returncode = 0
       
   334 	t.targets = []
       
   335 	
       
   336 	t.run()
       
   337 	
   319 	t.id = "75"
   338 	t.id = "75"
   320 	t.name = "mmp_keywords"
   339 	t.name = "mmp_keywords"
   321 	t.print_result()
   340 	t.print_result()
   322 	return t
   341 	return t