1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

Run the tests in parallel

Cause the time needed to run the testsuite to drop from ~4mins to ~40s
This commit is contained in:
regnat 2020-07-02 11:34:15 +02:00
parent 38ccf2e241
commit 1b5aa60767
3 changed files with 33 additions and 38 deletions

View file

@ -1,6 +1,6 @@
set -e
export TEST_ROOT=$(realpath ${TMPDIR:-/tmp}/nix-test)
export TEST_ROOT=$(realpath ${TMPDIR:-/tmp}/nix-test)/${TEST_NAME:-default}
export NIX_STORE_DIR
if ! NIX_STORE_DIR=$(readlink -f $TEST_ROOT/store 2> /dev/null); then
# Maybe the build directory is symlinked.