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:
Uli Schlachter 2016-10-31 23:22:31 +01:00 committed by Daniel Hahler
parent 3ba07d77a6
commit b2e0e55fc0
1 changed files with 1 additions and 1 deletions

View File

@ -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