diff -r 4fde310f06fe -r 86a2e675b80a stif/TestEngine/src/TestReport.cpp
--- a/stif/TestEngine/src/TestReport.cpp Mon Jun 14 11:37:33 2010 +0300
+++ b/stif/TestEngine/src/TestReport.cpp Mon Jun 28 15:36:07 2010 +0300
@@ -125,6 +125,8 @@
_LIT(KXMLTotalTagEnd, "");
_LIT(KXMLVersionTag, "");
_LIT(KXMLVersionTagEnd, "");
+_LIT(KXMLSTIFVersionTag, "");
+_LIT(KXMLSTIFVersionTagEnd, "");
// LOCAL CONSTANTS AND MACROS
// None
@@ -614,6 +616,21 @@
WriteLineL( _L( "%S" ), &date );
WriteLineL( _L( "%S" ), &clock );
}
+
+ // Add STIF version info
+ TInt majorV;
+ TInt minorV;
+ TInt buildV;
+ TBuf<30> relDate;
+ TStifUtil::STIFVersion(majorV, minorV, buildV, relDate);
+ if(iXML)
+ {
+ WriteLineL(_L("%S%d.%d.%d (%S)%S"), &KXMLSTIFVersionTag, majorV, minorV, buildV, &relDate, &KXMLSTIFVersionTagEnd);
+ }
+ else
+ {
+ WriteLineL(_L("v.%d.%d.%d (%S)"), majorV, minorV, buildV, &relDate);
+ }
if ( iReportMode & ETestReportSummary )
{