sbsv2/raptor/test/smoke_suite/timing.py
branchfix
changeset 551 b41ce675e7b2
parent 549 d633be326c9f
equal deleted inserted replaced
550:61527222d70c 551:b41ce675e7b2
    23 	t.description = "Test that a timing log is created and contains total parse and build durations"
    23 	t.description = "Test that a timing log is created and contains total parse and build durations"
    24 
    24 
    25 	t.id = "0103b"
    25 	t.id = "0103b"
    26 	t.name = "timing_on"
    26 	t.name = "timing_on"
    27 	t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf" + \
    27 	t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf" + \
    28 			"--filters=FilterLogfile,FilterTiming -f ${SBSLOGFILE} && " + \
    28 			" --filters=FilterLogfile,FilterTiming -f ${SBSLOGFILE} && " + \
    29 			"grep progress:duration ${SBSLOGFILE}.timings"
    29 			"grep progress:duration ${SBSLOGFILE}.timings"
    30 	t.mustmatch = [
    30 	t.mustmatch = [
    31 			"^<progress:duration object_type='layer' task='parse' key='.*' duration='\d+.\d+' />$",
    31 			"^<progress:duration object_type='layer' task='parse' key='.*' duration='\d+.\d+' />$",
    32 			"^<progress:duration object_type='layer' task='build' key='.*' duration='\d+.\d+' />$",
    32 			"^<progress:duration object_type='layer' task='build' key='.*' duration='\d+.\d+' />$",
    33 			"^<progress:duration object_type='all' task='all' key='all' duration='\d+.\d+' />$"
    33 			"^<progress:duration object_type='all' task='all' key='all' duration='\d+.\d+' />$"