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:
parent
38ccf2e241
commit
1b5aa60767
3 changed files with 33 additions and 38 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue