tests/run.sh: Inherit $HEADLESS (#1201)
Via this, I can set HEADLESS=1 in my wrapper-GNUMakefile that I use and "make check" will no longer open a new window that gets in my way. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
3ba07d77a6
commit
b2e0e55fc0
|
@ -45,7 +45,7 @@ if [ "$CI" = true ]; then
|
||||||
TEST_PAUSE_ON_ERRORS=0
|
TEST_PAUSE_ON_ERRORS=0
|
||||||
TEST_QUIT_ON_TIMEOUT=1
|
TEST_QUIT_ON_TIMEOUT=1
|
||||||
else
|
else
|
||||||
HEADLESS=0
|
HEADLESS=${HEADLESS-0}
|
||||||
TEST_PAUSE_ON_ERRORS=${TEST_PAUSE_ON_ERRORS-0}
|
TEST_PAUSE_ON_ERRORS=${TEST_PAUSE_ON_ERRORS-0}
|
||||||
TEST_QUIT_ON_TIMEOUT=1
|
TEST_QUIT_ON_TIMEOUT=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue