Added more detailed information to smoketest failure result string.
This commit is contained in:
parent
7d64f8ac5d
commit
ee02d6eb26
1 changed files with 9 additions and 1 deletions
|
@ -448,7 +448,11 @@ Function RecordTestCaseStatus( nAction as Integer, bState as Boolean, sFailureAn
|
|||
gErrorState (nStatusType, nAction) = nState
|
||||
|
||||
If ( nState = cLogFalse ) And ( sFailureAnnotation <> "" ) Then
|
||||
gTestCaseAnnotations( nStatusType, nAction ) = gTestCaseAnnotations( nStatusType, nAction ) + sFailureAnnotation + chr(13)
|
||||
if gTestCaseAnnotations(nStatusType, nAction) <> "" then
|
||||
gTestCaseAnnotations(nStatusType, nAction) = _
|
||||
gTestCaseAnnotations(nStatusType, nAction) & "; "
|
||||
end if
|
||||
gTestCaseAnnotations( nStatusType, nAction ) = gTestCaseAnnotations( nStatusType, nAction ) + sFailureAnnotation
|
||||
End If
|
||||
|
||||
RecordTestCaseStatus = bState
|
||||
|
@ -721,6 +725,10 @@ Function StartTestWithDefaultOptions
|
|||
result = result & action(j)
|
||||
end if
|
||||
end if
|
||||
if gTestCaseAnnotations(i, j) <> "" then
|
||||
result = result & "(" & _
|
||||
gTestCaseAnnotations(i, j) & ")"
|
||||
end if
|
||||
end if
|
||||
next j
|
||||
next i
|
||||
|
|
Loading…
Reference in a new issue