3 source ${MONO_REPO_ROOT}/scripts
/ci
/util.sh
5 helix_send_build_start_event
"build/tests/$MONO_HELIX_TYPE/"
6 ${TESTCMD} --label=compile-runtime-tests
--timeout=20m
--fatal make -w -C mono
-j ${CI_CPU_COUNT} test
7 # workaround some races in the tests build
8 for dir
in mcs
/tools
/nunit-lite mcs
/class
/Microsoft.Build
*; do
9 ${TESTCMD} --label=compile-$
(basename $dir) --timeout=5m
make -w -C $dir test xunit-test
10 ${TESTCMD} --label=compile-$
(basename $dir)-xbuild_12 --timeout=5m
make -w -C $dir test xunit-test PROFILE
=xbuild_12
11 ${TESTCMD} --label=compile-$
(basename $dir)-xbuild_14 --timeout=5m
make -w -C $dir test xunit-test PROFILE
=xbuild_14
13 ${TESTCMD} --label=compile-bcl-tests
--timeout=40m
--fatal make -w -C runtime
-j ${CI_CPU_COUNT} test xunit-test
14 ${TESTCMD} --label=create-test-payload
--timeout=5m
--fatal make -w test-bundle TEST_BUNDLE_PATH
="$MONO_REPO_ROOT/mono-test-bundle"
15 helix_send_build_done_event
"build/tests/$MONO_HELIX_TYPE/" 0
17 # get libgdiplus from CI output
18 if [[ ${CI_TAGS} == *'linux-amd64'* ]]; then
19 wget
"https://xamjenkinsartifact.blob.core.windows.net/test-libgdiplus-mainline/280/debian-9-amd64/src/.libs/libgdiplus.so" -O "$MONO_REPO_ROOT/mono-test-bundle/mono-libgdiplus.so"
21 echo "Unknown OS, couldn't determine appropriate libgdiplus."
25 export MONO_HELIX_TEST_PAYLOAD_DIRECTORY
="$MONO_REPO_ROOT/mono-test-bundle"
26 export MONO_HELIX_CORRELATION_ID_FILE
="$MONO_REPO_ROOT/test-correlation-id.txt"
27 ${TESTCMD} --label=upload-helix-tests
--timeout=5m
--fatal make -w -C mcs
/tools
/mono-helix-client upload-to-helix
29 # test suites which aren't ported to helix yet
30 ${TESTCMD} --label=mini-aotcheck
--timeout=5m
make -j ${CI_CPU_COUNT} -w -C mono
/mini
-k aotcheck
31 ${TESTCMD} --label=runtime
--timeout=20m
make -w -C mono
/tests test-wrench IGNORE_TEST_JIT
=1 V
=1
32 ${TESTCMD} --label=runtime-unit-tests
--timeout=5m
make -w -C mono
/unit-tests
-k check
33 ${TESTCMD} --label=monolinker
--timeout=10m
make -w -C mcs
/tools
/linker check
34 ${TESTCMD} --label=System.Web.Extensions-standalone
--timeout=5m
make -w -C mcs
/class
/System.Web.Extensions run-standalone-test
36 # wait for helix tests to complete
37 export MONO_HELIX_CORRELATION_ID
=$
(cat "$MONO_HELIX_CORRELATION_ID_FILE")
38 ${TESTCMD} --label=wait-helix-tests
--timeout=40m
make -w -C mcs
/tools
/mono-helix-client wait-for-job-completion
40 ${MONO_REPO_ROOT}/scripts
/ci
/run-upload-sentry.sh