diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml | 5 | ||||
-rwxr-xr-x | share/spack/spack-completion.bash | 2 | ||||
-rw-r--r-- | share/spack/templates/reports/cdash/Site.xml | 5 | ||||
-rw-r--r-- | share/spack/templates/reports/cdash/Testing.xml | 44 |
4 files changed, 53 insertions, 3 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml index 31d408db6e..7b06fd2dda 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml @@ -248,10 +248,13 @@ spack: - mkdir -p ${SPACK_ARTIFACTS_ROOT}/user_data - if [[ -r /mnt/key/intermediate_ci_signing_key.gpg ]]; then spack gpg trust /mnt/key/intermediate_ci_signing_key.gpg; fi - if [[ -r /mnt/key/spack_public_key.gpg ]]; then spack gpg trust /mnt/key/spack_public_key.gpg; fi - - spack -d ci rebuild > >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_out.txt) 2> >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_err.txt >&2) + - spack -d ci rebuild --tests > >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_out.txt) 2> >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_err.txt >&2) image: ecpe4s/ubuntu22.04-runner-x86_64:2022-07-01 + broken-tests-packages: + - gptune + mappings: - match: - hipblas diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 936593d98a..4cfde14e7a 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -612,7 +612,7 @@ _spack_ci_rebuild_index() { } _spack_ci_rebuild() { - SPACK_COMPREPLY="-h --help" + SPACK_COMPREPLY="-h --help -t --tests --fail-fast" } _spack_ci_reproduce_build() { diff --git a/share/spack/templates/reports/cdash/Site.xml b/share/spack/templates/reports/cdash/Site.xml index f0a150b6e5..e8a6c0609b 100644 --- a/share/spack/templates/reports/cdash/Site.xml +++ b/share/spack/templates/reports/cdash/Site.xml @@ -2,6 +2,9 @@ <Site BuildName="{{ buildname }}" BuildStamp="{{ buildstamp }}" Name="{{ site }}" + Generator="{{ generator }}" + Hostname="{{ hostname }}" OSName="{{ osname }}" + OSRelease="{{ osrelease }}" + VendorString="{{ target }}" > - diff --git a/share/spack/templates/reports/cdash/Testing.xml b/share/spack/templates/reports/cdash/Testing.xml new file mode 100644 index 0000000000..a5eb58c35a --- /dev/null +++ b/share/spack/templates/reports/cdash/Testing.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + This file has been modeled after the examples at this url: + + https://www.paraview.org/Wiki/CDash:XML +--> +<Site BuildName="{{ buildname }}" + BuildStamp="{{ buildstamp }}" + Name="{{ site }}" + Generator="{{ generator }}" + Hostname="{{ hostname }}" + OSName="{{ osname }}" + OSRelease="{{ osrelease }}" + VendorString="{{ target }}" +> + <Testing> + <StartTestTime>{{ testing.starttime }}</StartTestTime> +{% for part in testing.parts %} + <Test Status="{{ part.status }}"> + <Name>{{ part.name }}</Name> + <FullCommandLine>{{ part.command }}</FullCommandLine> + <Results> + <NamedMeasurement type="numeric/double" name="Execution Time"> + <Value>{{ part.elapsed }}</Value> + </NamedMeasurement> +{% if part.desc %} + <NamedMeasurement type="text/string" name="Description"> + <Value>{{ part.desc }}</Value> + </NamedMeasurement> +{% endif %} + <NamedMeasurement type="text/string" name="Completion Status"> + <Value>{{ part.completed }}</Value> + </NamedMeasurement> +{% if part.output %} + <Measurement> + <Value>{{ part.output }}</Value> + </Measurement> +{% endif %} + </Results> + </Test> +{% endfor %} + <EndTestTime>{{ testing.endtime }}</EndTestTime> + </Testing> +</Site> |