sbsv2/raptor/test/smoke_suite/timing.py
branchfix
changeset 538 71918f4840ed
parent 30 01c962c3f631
child 547 9fe7d0ab0f8f
equal deleted inserted replaced
537:164e587fef9f 538:71918f4840ed
    20 	t = SmokeTest()
    20 	t = SmokeTest()
    21 	t.usebash = True
    21 	t.usebash = True
    22 	
    22 	
    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 = "0103a"
       
    26 	t.name = "timing_off"
       
    27 	t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf -f-"
       
    28 	t.mustnotmatch = [
       
    29 			".*progress:discovery.*",
       
    30 			".*progress:start.*",
       
    31 			".*progress:end.*"
       
    32 			]
       
    33 	t.run()
       
    34 
       
    35 
       
    36 	t.id = "0103b"
    25 	t.id = "0103b"
    37 	t.name = "timing_on"
    26 	t.name = "timing_on"
    38 	t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf --timing " + \
    27 	t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf --timing " + \
    39 			"--filters=FilterLogfile,FilterTiming -f ${SBSLOGFILE} && " + \
    28 			"--filters=FilterLogfile,FilterTiming -f ${SBSLOGFILE} && " + \
    40 			"grep progress:duration ${SBSLOGFILE}.timings"
    29 			"grep progress:duration ${SBSLOGFILE}.timings"