X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=scripts%2Fci%2Frun-test-default.sh;h=2e7c807d924477595bac23801ed61ab09b77f99c;hb=ea56fb08475d7fd1cd223c16f713271b340558fd;hp=5f0767219f8ab2300666f59f05788c27919e122e;hpb=a493640751c4e787494f5ea38c972b49adada302;p=mono.git diff --git a/scripts/ci/run-test-default.sh b/scripts/ci/run-test-default.sh index 5f0767219f8..2e7c807d924 100755 --- a/scripts/ci/run-test-default.sh +++ b/scripts/ci/run-test-default.sh @@ -1,9 +1,11 @@ #!/bin/bash -e -export TESTCMD=`dirname "${BASH_SOURCE[0]}"`/run-step.sh - ${TESTCMD} --label=mini --timeout=5m make -w -C mono/mini -k check check-seq-points EMIT_NUNIT=1 -${TESTCMD} --label=compile-runtime-tests --timeout=20m make -w -C mono/tests -j4 tests +if [[ ${label} == w* ]] +then ${TESTCMD} --label=aot-test --skip; +else ${TESTCMD} --label=aot-test --timeout=30m make -w -C mono/tests -j4 -k test-aot +fi +${TESTCMD} --label=compile-runtime-tests --timeout=40m make -w -C mono/tests -j4 tests ${TESTCMD} --label=runtime --timeout=160m make -w -C mono/tests -k test-wrench V=1 CI=1 CI_PR=${ghprbPullId} ${TESTCMD} --label=runtime-unit-tests --timeout=5m make -w -C mono/unit-tests -k check ${TESTCMD} --label=corlib --timeout=30m make -w -C mcs/class/corlib run-test @@ -22,13 +24,16 @@ else ${TESTCMD} --label=System.Drawing --timeout=5m make -w -C mcs/class/System. fi if [[ ${label} == osx-* ]] || [[ ${label} == w* ]] then ${TESTCMD} --label=Windows.Forms --skip; -else ${TESTCMD} --label=Windows.Forms --timeout=5m make -w -C mcs/class/System.Windows.Forms run-test +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 + 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 if [[ ${label} == w* ]]; then ${TESTCMD} --label=Mono.Data.Sqlite --skip; else ${TESTCMD} --label=Mono.Data.Sqlite --timeout=5m make -w -C mcs/class/Mono.Data.Sqlite run-test; fi ${TESTCMD} --label=System.Data.OracleClient --timeout=5m make -w -C mcs/class/System.Data.OracleClient run-test; ${TESTCMD} --label=System.Design --timeout=5m make -w -C mcs/class/System.Design run-test; -if [[ -n "${ghprbPullId}" ]] && [[ ${label} == w* ]]; then ${TESTCMD} --label=Mono.Posix --skip; else ${TESTCMD} --label=Mono.Posix --timeout=5m make -w -C mcs/class/Mono.Posix run-test; fi +${TESTCMD} --label=Mono.Posix --timeout=5m make -w -C mcs/class/Mono.Posix run-test ${TESTCMD} --label=System.Web --timeout=30m make -w -C mcs/class/System.Web run-test ${TESTCMD} --label=System.Web.Services --timeout=5m make -w -C mcs/class/System.Web.Services run-test ${TESTCMD} --label=System.Runtime.SFS --timeout=5m make -w -C mcs/class/System.Runtime.Serialization.Formatters.Soap run-test; @@ -50,7 +55,7 @@ ${TESTCMD} --label=System.Configuration --timeout=5m make -w -C mcs/class/System ${TESTCMD} --label=System.Transactions --timeout=5m make -w -C mcs/class/System.Transactions run-test ${TESTCMD} --label=System.Web.Extensions --timeout=5m make -w -C mcs/class/System.Web.Extensions run-test ${TESTCMD} --label=System.Core --timeout=15m make -w -C mcs/class/System.Core run-test -if [[ -n "${ghprbPullId}" ]] && [[ ${label} == w* ]]; then ${TESTCMD} --label=symbolicate --skip; else ${TESTCMD} --label=symbolicate --timeout=60m make -w -C mcs/tools/mono-symbolicate check; fi +if [[ ${label} == w* ]]; then ${TESTCMD} --label=symbolicate --skip; else ${TESTCMD} --label=symbolicate --timeout=60m make -w -C mcs/tools/mono-symbolicate check; fi ${TESTCMD} --label=System.Xml.Linq --timeout=5m make -w -C mcs/class/System.Xml.Linq run-test ${TESTCMD} --label=System.Data.DSE --timeout=5m make -w -C mcs/class/System.Data.DataSetExtensions run-test ${TESTCMD} --label=System.Web.Abstractions --timeout=5m make -w -C mcs/class/System.Web.Abstractions run-test @@ -89,7 +94,7 @@ ${TESTCMD} --label=Microsoft.Build.Tasks-14 --timeout=60m make -w -C mcs/class/M ${TESTCMD} --label=Microsoft.Build.Utilities-14 --timeout=60m make -w -C mcs/class/Microsoft.Build.Utilities run-test PROFILE=xbuild_14 ${TESTCMD} --label=System.IO.Compression --timeout=5m make -w -C mcs/class/System.IO.Compression run-test if [[ ${label} == osx-* ]] -then ${TESTCMD} --label=ms-test-suite --timeout=15m make -w -C acceptance-tests check-ms-test-suite +then ${TESTCMD} --label=ms-test-suite --timeout=30m make -w -C acceptance-tests check-ms-test-suite else ${TESTCMD} --label=ms-test-suite --skip; fi rm -fr /tmp/jenkins-temp-aspnet*