summaryrefslogtreecommitdiff
path: root/share/spack/templates/reports/cdash/Test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/templates/reports/cdash/Test.xml')
-rw-r--r--share/spack/templates/reports/cdash/Test.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/share/spack/templates/reports/cdash/Test.xml b/share/spack/templates/reports/cdash/Test.xml
new file mode 100644
index 0000000000..6aeed4e263
--- /dev/null
+++ b/share/spack/templates/reports/cdash/Test.xml
@@ -0,0 +1,27 @@
+ <Test>
+ <StartTestTime>{{ test.starttime }}</StartTestTime>
+ <TestCommand>{{ install_command }}</TestCommand>
+{% for warning in test.warnings %}
+ <Warning>
+ <TestLogLine>{{ warning.line_no }}</TestLogLine>
+ <Text>{{ warning.text }}</Text>
+ <SourceFile>{{ warning.source_file }}</SourceFile>
+ <SourceLineNumber>{{ warning.source_line_no }}</SourceLineNumber>
+ <PreContext>{{ warning.pre_context }}</PreContext>
+ <PostContext>{{ warning.post_context }}</PostContext>
+ </Warning>
+{% endfor %}
+{% for error in test.errors %}
+ <Error>
+ <TestLogLine>{{ error.line_no }}</TestLogLine>
+ <Text>{{ error.text }}</Text>
+ <SourceFile>{{ error.source_file }}</SourceFile>
+ <SourceLineNumber>{{ error.source_line_no }}</SourceLineNumber>
+ <PreContext>{{ error.pre_context }}</PreContext>
+ <PostContext>{{ error.post_context }}</PostContext>
+ </Error>
+{% endfor %}
+ <EndTestTime>{{ test.endtime }}</EndTestTime>
+ <ElapsedMinutes>0</ElapsedMinutes>
+ </Test>
+</Site>