summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2018-04-19 15:21:23 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2018-05-15 05:43:07 -0700
commit847c1216d0bf2534d5871ca4e47eb40df211d90f (patch)
treed3e41c3af7a1f992c5cac6d5e2afa9c93b9f71f0 /templates
parentae0ba373b8dea2350a8845a15a47f837b9152d2c (diff)
downloadspack-847c1216d0bf2534d5871ca4e47eb40df211d90f.tar.gz
spack-847c1216d0bf2534d5871ca4e47eb40df211d90f.tar.bz2
spack-847c1216d0bf2534d5871ca4e47eb40df211d90f.tar.xz
spack-847c1216d0bf2534d5871ca4e47eb40df211d90f.zip
Generate CDash reports for build/install step
Diffstat (limited to 'templates')
-rw-r--r--templates/reports/cdash/Build.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/reports/cdash/Build.xml b/templates/reports/cdash/Build.xml
new file mode 100644
index 0000000000..1d184349b3
--- /dev/null
+++ b/templates/reports/cdash/Build.xml
@@ -0,0 +1,27 @@
+ <Build>
+ <StartBuildTime>{{ build.starttime }}</StartBuildTime>
+ <BuildCommand>{{ install_command }}</BuildCommand>
+{% for warning in build.warnings %}
+ <Warning>
+ <BuildLogLine>{{ warning.line_no }}</BuildLogLine>
+ <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 build.errors %}
+ <Error>
+ <BuildLogLine>{{ error.line_no }}</BuildLogLine>
+ <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 %}
+ <EndBuildTime>{{ build.endtime }}</EndBuildTime>
+ <ElapsedMinutes>0</ElapsedMinutes>
+ </Build>
+</Site>