From 720f13d6942f6cd7e2ea82fc03d6156ab5d6f8ae Mon Sep 17 00:00:00 2001 From: pasta Date: Fri, 15 Mar 2019 14:23:30 -0500 Subject: [PATCH] add a comment linking to xvfb documentation --- ci/test_unittests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/test_unittests.sh b/ci/test_unittests.sh index 9b0516a55..9c88ee0fc 100755 --- a/ci/test_unittests.sh +++ b/ci/test_unittests.sh @@ -22,6 +22,7 @@ cd build-ci/dashcore-$BUILD_TARGET if [ "$RUN_TESTS" = "true" -a "${DEP_OPTS#*NO_QT=1}" = "$DEP_OPTS" ]; then export DISPLAY=:99.0; + # Start xvfb if needed, as documented at https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI /sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac; fi