Commit 1444c492 authored by Petr Špaček's avatar Petr Špaček Committed by Tomas Krizek add support for DECKARDFLAGS environment variable

It is Deckard-specific equivalent of MAKEFLAGS, which is very handy for
default flags like e.g. parallel execution.

Use DECKARDFLAGS="-n $(nproc)" to run as many tasks as you have cores.
parent b9209fad
......@@ -8,4 +8,4 @@ source "${MAKEDIR}/"
# compatibility with old TESTS= env variable
# add --scenarios= only if the variable TESTS is non-empty
python3 -m pytest -q tests/ ${TESTS:+"--scenarios=${TESTS}"} "$@"
python3 -m pytest -q tests/ ${DECKARDFLAGS:-} ${TESTS:+"--scenarios=${TESTS}"} "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment