Skip to content

Commit fa60583

Browse files
author
MarcoFalke
committed
ci: Pass down $MAKEJOBS to test_runner.py
1 parent a7be1cc commit fa60583

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ci/test/00_setup_env.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ echo "Setting default values in env"
1111
BASE_ROOT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../ >/dev/null 2>&1 && pwd )
1212
export BASE_ROOT_DIR
1313

14-
export MAKEJOBS=${MAKEJOBS:--j3}
14+
# The number of parallel jobs to pass down to make and test_runner.py
15+
export MAKEJOBS=${MAKEJOBS:--j4}
16+
# A folder for the ci system to put temporary files (ccache, datadirs for tests, ...)
17+
export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:-$BASE_ROOT_DIR/ci/scratch/}
1518
export HOST=${HOST:-x86_64-unknown-linux-gnu}
1619
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}
1720
export RUN_FUNCTIONAL_TESTS=${RUN_FUNCTIONAL_TESTS:-true}

ci/test/06_script_b.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fi
1616

1717
if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
1818
BEGIN_FOLD functional-tests
19-
DOCKER_EXEC test/functional/test_runner.py --ci --ansi --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast
19+
DOCKER_EXEC test/functional/test_runner.py --ci $MAKEJOBS --ansi --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast
2020
END_FOLD
2121
fi
2222

0 commit comments

Comments
 (0)