From 19e78a7c02d7ff04b7441cfc9e0a05100255d9e2 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Thu, 12 Jun 2008 15:52:54 +0000
Subject: [PATCH] QA:System Test: add comments.txt file into the report
---
opendj-sdk/opends/tests/system-tests/phases/log/log.xml | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/tests/system-tests/phases/log/log.xml b/opendj-sdk/opends/tests/system-tests/phases/log/log.xml
index 171534a..ce4dc6d 100755
--- a/opendj-sdk/opends/tests/system-tests/phases/log/log.xml
+++ b/opendj-sdk/opends/tests/system-tests/phases/log/log.xml
@@ -144,7 +144,23 @@
writeSummaryTag(PHASE_POST_CONFIGURATION)
writeSummaryTag(PHASE_SCHEDULER)
writeSummaryTag(PHASE_VERDICT)
-
+ </script>
+ <!-- write link to comments.txt file -->
+ <script>
+ commentsFile = 'comments.txt'
+ commentsFilePath = '%s/%s' % (LOG_DIR,commentsFile)
+ commentsFileFd = open(commentsFilePath,'w')
+ commentsFileFd.write('Additional comments...\n')
+ commentsFileFd.close()
+ </script>
+ <call function="'writeMessage'">
+ {
+ 'content' : 'Additional comments : %s' % commentsFile,
+ 'xlink' : commentsFile,
+ 'fileFd' : fileFd
+ }
+ </call>
+ <script>
fileFd.write('</summary>\n')
</script>
</sequence>
--
Gitblit v1.10.0