From a12daa47e081fa73bf1f009641e348afd5801bef Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Wed, 28 Jun 2017 18:41:25 +0100 Subject: [PATCH] Manually invoke Xvfb, don't depend on the xvfb plugin (#5132) --- scripts/ci/run-test-default.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/run-test-default.sh b/scripts/ci/run-test-default.sh index 9e41e894d55..1529f2cf391 100755 --- a/scripts/ci/run-test-default.sh +++ b/scripts/ci/run-test-default.sh @@ -25,8 +25,8 @@ fi if [[ ${label} == osx-* ]] || [[ ${label} == w* ]] then ${TESTCMD} --label=Windows.Forms --skip; else - if make -C mcs/class/System.Windows.Forms test-simple; - then ${TESTCMD} --label=Windows.Forms --timeout=5m make -w -C mcs/class/System.Windows.Forms run-test + if xvfb-run -a -- make -C mcs/class/System.Windows.Forms test-simple; + then ${TESTCMD} --label=Windows.Forms --timeout=5m xvfb-run -a -- make -w -C mcs/class/System.Windows.Forms run-test else echo "The simple test failed (maybe because of missing X server), skipping test suite." && ${TESTCMD} --label=Windows.Forms --skip; fi fi ${TESTCMD} --label=System.Data --timeout=5m make -w -C mcs/class/System.Data run-test -- 2.25.1