Commit 6d138b2f authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Rename `duneci-ctest` to `dune-ctest`

This matches the name now used in `dune-common`.

We need to provide a `duneci-ctest` symlink for compatability with older
`.gitlab-ci.yml` files.
parent 2e6aaaa3
...@@ -43,6 +43,7 @@ RUN mkdir -p /duneci/bin /duneci/modules ...@@ -43,6 +43,7 @@ RUN mkdir -p /duneci/bin /duneci/modules
ENV DUNE_CONTROL_PATH=.:/duneci/modules ENV DUNE_CONTROL_PATH=.:/duneci/modules
ENV PATH=/duneci/bin:$PATH ENV PATH=/duneci/bin:$PATH
COPY opts.clang opts.gcc /duneci/ COPY opts.clang opts.gcc /duneci/
COPY duneci-ctest /duneci/bin/ COPY dune-ctest /duneci/bin/
RUN ln -s dune-ctest /duneci/bin/duneci-ctest
COPY duneci-install-module /duneci/bin/ COPY duneci-install-module /duneci/bin/
COPY duneci-standard-test /duneci/bin/ COPY duneci-standard-test /duneci/bin/
...@@ -43,6 +43,7 @@ RUN mkdir -p /duneci/bin /duneci/modules ...@@ -43,6 +43,7 @@ RUN mkdir -p /duneci/bin /duneci/modules
ENV DUNE_CONTROL_PATH=.:/duneci/modules ENV DUNE_CONTROL_PATH=.:/duneci/modules
ENV PATH=/duneci/bin:$PATH ENV PATH=/duneci/bin:$PATH
COPY opts.clang opts.gcc /duneci/ COPY opts.clang opts.gcc /duneci/
COPY duneci-ctest /duneci/bin/ COPY dune-ctest /duneci/bin/
RUN ln -s dune-ctest /duneci/bin/duneci-ctest
COPY duneci-install-module /duneci/bin/ COPY duneci-install-module /duneci/bin/
COPY duneci-standard-test /duneci/bin/ COPY duneci-standard-test /duneci/bin/
...@@ -43,6 +43,7 @@ RUN mkdir -p /duneci/bin /duneci/modules ...@@ -43,6 +43,7 @@ RUN mkdir -p /duneci/bin /duneci/modules
ENV DUNE_CONTROL_PATH=.:/duneci/modules ENV DUNE_CONTROL_PATH=.:/duneci/modules
ENV PATH=/duneci/bin:$PATH ENV PATH=/duneci/bin:$PATH
COPY opts.clang opts.gcc /duneci/ COPY opts.clang opts.gcc /duneci/
COPY duneci-ctest /duneci/bin/ COPY dune-ctest /duneci/bin/
RUN ln -s dune-ctest /duneci/bin/duneci-ctest
COPY duneci-install-module /duneci/bin/ COPY duneci-install-module /duneci/bin/
COPY duneci-standard-test /duneci/bin/ COPY duneci-standard-test /duneci/bin/
#! /usr/bin/env python3 #! /usr/bin/env python3
#
# Wrapper around CTest for DUNE # Wrapper around CTest for DUNE
#
# CTest returns with an error status not only when tests failed, but also
# when tests were only skipped. This wrapper checks the log and returns
# successfully if no tests failed; skipped tests do not result in an error.
# This behaviour is needed in a continuous integration environment, when
# building binary packages or in other cases where the testsuite should be
# run automatically.
#
# Author: Ansgar Burchardt <Ansgar.Burchardt@tu-dresden.de> # Author: Ansgar Burchardt <Ansgar.Burchardt@tu-dresden.de>
import errno import errno
......
...@@ -16,4 +16,4 @@ set -x ...@@ -16,4 +16,4 @@ set -x
${DUNECONTROL} --current "${@}" all ${DUNECONTROL} --current "${@}" all
${DUNECONTROL} --current make build_tests ${DUNECONTROL} --current make build_tests
cd build-cmake cd build-cmake
duneci-ctest dune-ctest
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment