[ci] Check if X server is available before running WinForms tests (#4477)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 8 Mar 2017 11:48:28 +0000 (12:48 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2017 11:48:28 +0000 (12:48 +0100)
commit2c9e4379c9dd433375bb9bd9fc3aa4cf65f37a03
tree0db8d8fa9e99d6a019d074e0d4ea4b43608b34e1
parented12a1d4da5c8a6224e2e25bb6b57e45e822352c
[ci] Check if X server is available before running WinForms tests (#4477)

This should hopefully "fix" the mass fails in the WinForms
tests we sometimes see in CI.

We're using the simplest WinForms code that invokes the XplatUI
and causes the X connection to be established, if this fails
then something is seriously wrong and we skip the WinForms tests.
mcs/class/System.Windows.Forms/Makefile
mcs/class/System.Windows.Forms/Test/simple/Program.cs [new file with mode: 0644]
scripts/ci/run-test-default.sh