diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-09-15 20:40:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-09-15 20:50:18 +0200 |
commit | ee02d6eb263b7683ae9d0dc61c334bad6545af9c (patch) | |
tree | 6217b48c452012ff0feea766c069ac908d337538 /smoketestoo_native | |
parent | 7d64f8ac5df2ba48c4e13b5c1408a02aa37e3c75 (diff) |
Added more detailed information to smoketest failure result string.
Diffstat (limited to 'smoketestoo_native')
-rw-r--r-- | smoketestoo_native/data/Global.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/smoketestoo_native/data/Global.xml b/smoketestoo_native/data/Global.xml index 6f9c066fc3b6..e956f45e56eb 100644 --- a/smoketestoo_native/data/Global.xml +++ b/smoketestoo_native/data/Global.xml @@ -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 |