From 82fcb0971671ed3fb7412967aa68f8ec5e4b4349 Mon Sep 17 00:00:00 2001 From: Adomas Ven Date: Tue, 16 Aug 2016 11:03:07 +0300 Subject: [PATCH] Adds a way to distinguish linux windows (#1078) Only enabled on Xorg environments, so checks $DISPLAY https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#X11_options --- test/runtests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/runtests.sh b/test/runtests.sh index 126cd6290..53c3ba8df 100755 --- a/test/runtests.sh +++ b/test/runtests.sh @@ -22,7 +22,11 @@ if [ -z "$FX_EXECUTABLE" ]; then fi fi -FX_ARGS="" +if [ -z "$DISPLAY" ]; then + FX_ARGS="" +else + FX_ARGS="--class=ZTestFirefox" +fi function usage { cat >&2 <