summaryrefslogtreecommitdiff
path: root/templates/reports
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-03-23 23:16:37 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-06-24 16:38:36 -0700
commitc4c1d37fcdeb17680a85af25431314dae4fa3584 (patch)
tree8abe5909edf418ef0810a53771eb7871b6050d19 /templates/reports
parent6517dabbce06a7a62154e00ecea427116d9ef801 (diff)
downloadspack-c4c1d37fcdeb17680a85af25431314dae4fa3584.tar.gz
spack-c4c1d37fcdeb17680a85af25431314dae4fa3584.tar.bz2
spack-c4c1d37fcdeb17680a85af25431314dae4fa3584.tar.xz
spack-c4c1d37fcdeb17680a85af25431314dae4fa3584.zip
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.
Diffstat (limited to 'templates/reports')
-rw-r--r--templates/reports/cdash/Build.xml27
-rw-r--r--templates/reports/cdash/Configure.xml8
-rw-r--r--templates/reports/cdash/Site.xml7
-rw-r--r--templates/reports/cdash/Update.xml11
-rw-r--r--templates/reports/junit.xml51
5 files changed, 0 insertions, 104 deletions
diff --git a/templates/reports/cdash/Build.xml b/templates/reports/cdash/Build.xml
deleted file mode 100644
index 1d184349b3..0000000000
--- a/templates/reports/cdash/Build.xml
+++ /dev/null
@@ -1,27 +0,0 @@
- <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>
diff --git a/templates/reports/cdash/Configure.xml b/templates/reports/cdash/Configure.xml
deleted file mode 100644
index 0451279563..0000000000
--- a/templates/reports/cdash/Configure.xml
+++ /dev/null
@@ -1,8 +0,0 @@
- <Configure>
- <StartConfigureTime>{{ configure.starttime }}</StartConfigureTime>
- <ConfigureCommand>{{ install_command }}</ConfigureCommand>
- <Log>{{ configure.log }}</Log>
- <ConfigureStatus>{{ configure.status }}</ConfigureStatus>
- <EndConfigureTime>{{ configure.endtime }}</EndConfigureTime>
- </Configure>
-</Site>
diff --git a/templates/reports/cdash/Site.xml b/templates/reports/cdash/Site.xml
deleted file mode 100644
index a47ffd34e6..0000000000
--- a/templates/reports/cdash/Site.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Site BuildName="{{ install_command }}"
- BuildStamp="{{ buildstamp }}"
- Name="{{ hostname }}"
- OSName="{{ osname }}"
->
-
diff --git a/templates/reports/cdash/Update.xml b/templates/reports/cdash/Update.xml
deleted file mode 100644
index 39f3d6a337..0000000000
--- a/templates/reports/cdash/Update.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Update>
- <Site>{{ hostname }}</Site>
- <BuildName>{{ install_command }}</BuildName>
- <BuildStamp>{{ buildstamp }}</BuildStamp>
- <StartTime>{{ starttime }}</StartTime>
- <EndTime>{{ endtime }}</EndTime>
-{% if msg %}
- <UpdateReturnStatus>{{ msg }}</UpdateReturnStatus>
-{% endif %}
-</Update>
diff --git a/templates/reports/junit.xml b/templates/reports/junit.xml
deleted file mode 100644
index 62e6db40c8..0000000000
--- a/templates/reports/junit.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- This file has been modeled after the basic
- specifications at this url:
-
- http://help.catchsoftware.com/display/ET/JUnit+Format
--->
-<testsuites>
-{% for spec in specs %}
- <testsuite name="{{ spec.name }}"
- errors="{{ spec.nerrors }}"
- tests="{{ spec.npackages }}"
- failures="{{ spec.nfailures }}"
- time="{{ spec.time }}"
- timestamp="{{ spec.timestamp }}" >
- <properties>
-{% for property in spec.properties %}
- <property name="{{ property.name }}" value="{{ property.value }}" />
-{% endfor %}
- </properties>
-{% for package in spec.packages %}
- <testcase classname="{{ package.name }}"
- name="{{ package.id }}"
- time="{{ package.elapsed_time }}">
-{% if package.result == 'failure' %}
- <failure message="{{ package.message }}">
-{{ package.exception }}
- </failure>
-{% elif package.result == 'error' %}
- <error message="{{ package.message }}">
-{{ package.exception }}
- </error>
-{% elif package.result == 'skipped' %}
- <skipped />
-{% endif %}
-{% if package.stdout %}
- <system-out>
-{{ package.stdout }}
- </system-out>
-{% endif %}
-{% if package.stderr %}
- <system-err>
-{{ package.stderr }}
- </system-err>
-{% endif %}
- </testcase>
-{% endfor %}
-{# Add an error tag? #}
- </testsuite>
-{% endfor %}
-</testsuites>