summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-15 20:40:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-15 20:50:18 +0200
commitee02d6eb263b7683ae9d0dc61c334bad6545af9c (patch)
tree6217b48c452012ff0feea766c069ac908d337538
parent7d64f8ac5df2ba48c4e13b5c1408a02aa37e3c75 (diff)
Added more detailed information to smoketest failure result string.
-rw-r--r--smoketestoo_native/data/Global.xml10
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 &lt;&gt; &quot;&quot; ) Then
- gTestCaseAnnotations( nStatusType, nAction ) = gTestCaseAnnotations( nStatusType, nAction ) + sFailureAnnotation + chr(13)
+ if gTestCaseAnnotations(nStatusType, nAction) &lt;&gt; &quot;&quot; then
+ gTestCaseAnnotations(nStatusType, nAction) = _
+ gTestCaseAnnotations(nStatusType, nAction) &amp; &quot;; &quot;
+ end if
+ gTestCaseAnnotations( nStatusType, nAction ) = gTestCaseAnnotations( nStatusType, nAction ) + sFailureAnnotation
End If
RecordTestCaseStatus = bState
@@ -721,6 +725,10 @@ Function StartTestWithDefaultOptions
result = result &amp; action(j)
end if
end if
+ if gTestCaseAnnotations(i, j) &lt;&gt; &quot;&quot; then
+ result = result &amp; &quot;(&quot; &amp; _
+ gTestCaseAnnotations(i, j) &amp; &quot;)&quot;
+ end if
end if
next j
next i