spack/share/spack/templates/reports/cdash/Build.xml
Todd Gamblin c4c1d37fcd refactor: move templates from root to share/spack
- This complies with the unix directory hierarchy standard (which Spack
  attempts to follow)
- Also unclutters the repo root directory.
2018-06-24 16:38:36 -07:00

28 lines
1.0 KiB
XML

<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>