commit 82fcb0971671ed3fb7412967aa68f8ec5e4b4349
parent 076bdadb2919da0811bc8b6270ca4149e9b62ba5
Author: Adomas Ven <adomas.ven@gmail.com>
Date: Tue, 16 Aug 2016 11:03:07 +0300
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
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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 <<DONE