Skip to content
Snippets Groups Projects
Commit 78681844 authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

[CI] Restrict the number of tests compiled and run to a very small set.

parent d146dc8c
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ variables: ...@@ -3,6 +3,8 @@ variables:
# work around https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/2148 # work around https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/2148
# value should be "recursive" without workaround # value should be "recursive" without workaround
GIT_SUBMODULE_STRATEGY: none GIT_SUBMODULE_STRATEGY: none
DUNECI_BUILD_TESTS: poisson_2d_cg_quadrilateral poisson_2d_cg_triangle poisson_2d_dg_quadrilateral poisson_2d_dg_triangle
DUNECI_RUN_TESTS: -R ^poisson_2d
before_script: before_script:
# work around https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/2148 # work around https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/2148
...@@ -17,4 +19,4 @@ before_script: ...@@ -17,4 +19,4 @@ before_script:
debian:9--gcc: debian:9--gcc:
image: registry.jorrit.de/perftools-ci:9 image: registry.jorrit.de/perftools-ci:9
script: script:
duneci-standard-test bin/duneci-perftool-small-test
#!/bin/sh
echo >&2 "Skipping tests for now"
true
#! /bin/bash
set -e
set -u
: ${DUNECI_OPTS:=/duneci/opts.gcc}
set -- --opts="${DUNECI_OPTS}" "${@}"
DUNECONTROL=dunecontrol
if [[ -x bin/dunecontrol ]]; then
DUNECONTROL=bin/dunecontrol
fi
DUNE_CTEST=duneci-ctest
if [[ -x bin/dune-ctest ]]; then
DUNE_CTEST=../bin/dune-ctest
fi
set -x
${DUNECONTROL} --current "${@}" all
${DUNECONTROL} --current make ${DUNECI_BUILD_TESTS:-build_tests}
cd build-cmake
${DUNE_CTEST} ${DUNECI_RUN_TESTS}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment