diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-08-27 15:44:57 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-08-27 15:58:49 -0400 |
commit | fa60583d23653ca02c8071934a35964bd31fcc2b (patch) | |
tree | 9bf18821a956260c9828f278d6be5adf522793fe /ci | |
parent | a7be1cc92be4946c4f042bccd3a1b007657f3241 (diff) |
ci: Pass down $MAKEJOBS to test_runner.py
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/test/00_setup_env.sh | 5 | ||||
-rwxr-xr-x | ci/test/06_script_b.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ci/test/00_setup_env.sh b/ci/test/00_setup_env.sh index 09b37f8240..7ce512b831 100755 --- a/ci/test/00_setup_env.sh +++ b/ci/test/00_setup_env.sh @@ -11,7 +11,10 @@ echo "Setting default values in env" BASE_ROOT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../ >/dev/null 2>&1 && pwd ) export BASE_ROOT_DIR -export MAKEJOBS=${MAKEJOBS:--j3} +# The number of parallel jobs to pass down to make and test_runner.py +export MAKEJOBS=${MAKEJOBS:--j4} +# A folder for the ci system to put temporary files (ccache, datadirs for tests, ...) +export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:-$BASE_ROOT_DIR/ci/scratch/} export HOST=${HOST:-x86_64-unknown-linux-gnu} export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true} export RUN_FUNCTIONAL_TESTS=${RUN_FUNCTIONAL_TESTS:-true} diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh index d179ce81c0..37b81cf923 100755 --- a/ci/test/06_script_b.sh +++ b/ci/test/06_script_b.sh @@ -16,7 +16,7 @@ fi if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then BEGIN_FOLD functional-tests - DOCKER_EXEC test/functional/test_runner.py --ci --ansi --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast + DOCKER_EXEC test/functional/test_runner.py --ci $MAKEJOBS --ansi --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast END_FOLD fi |