[test] Make sgen tests behave nicer on slower machines.
authorAleksey Kliger <aleksey@xamarin.com>
Thu, 12 Nov 2015 22:15:01 +0000 (17:15 -0500)
committerAleksey Kliger <aleksey@xamarin.com>
Fri, 13 Nov 2015 20:32:10 +0000 (15:32 -0500)
commitbfb46573ac6938ff06236663c27e331cf28382b8
treedb8da1b297e575877640a98407b4d31f56659c70
parente389dac6105aed77f608d474ac9f10d37b5b48d7
[test] Make sgen tests behave nicer on slower machines.

  * TestDriver.cs Add `TestTimeout` utility to check how much time CI
       allocated for the test.
  * sgen-domain-unload-2.cs print warning if running low on time.
  * sgen-new-threads-dont-join-stw.cs print progress dots and a warning
       when running low on time.
mono/mini/TestDriver.cs
mono/tests/sgen-domain-unload-2.cs
mono/tests/sgen-new-threads-dont-join-stw.cs
mono/tests/test-driver
mono/tests/test-runner.cs