Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2019-09-18 18:29:48 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-09-18 18:35:57 +0300
commit2cc7c410a7e3bd9ab01b794ec3ab855d11ffaad7 (patch)
tree79eaf1cc18cb019920ab6dcfed67100d9694b32e /scripts/ci/run-test-mac-sdk.sh
parent86f7cef7f43f9289e9aea96799875ed9578c50ab (diff)
[ci] Allow running only msbuild tests in "OSX Extended" runs
Needed for mono/msbuild CI so we can skip the lengthy runtime LLVM tests.
Diffstat (limited to 'scripts/ci/run-test-mac-sdk.sh')
-rwxr-xr-xscripts/ci/run-test-mac-sdk.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/scripts/ci/run-test-mac-sdk.sh b/scripts/ci/run-test-mac-sdk.sh
index bf2e7159e74..7229b118d86 100755
--- a/scripts/ci/run-test-mac-sdk.sh
+++ b/scripts/ci/run-test-mac-sdk.sh
@@ -10,12 +10,16 @@ cd ${MONO_REPO_ROOT}/external/bockbuild/builds/msbuild-15/
${TESTCMD} --label="msbuild-tests" --timeout=180m ./eng/cibuild_bootstrapped_msbuild.sh --host_type mono --configuration Release
zip ${MONO_REPO_ROOT}/msbuild-test-results.zip artifacts/TestResults/Release-MONO/* artifacts/log/Release-MONO/*.log
-# Bundled LLVM
-cd ${MONO_REPO_ROOT}/external/bockbuild/builds/mono
-${TESTCMD} --label="runtime-tests-llvm" --timeout=240m make -C mono/tests -k test-wrench MONO_ENV_OPTIONS=--llvm V=1 M=1
-${TESTCMD} --label="corlib-tests-llvm" --timeout=60m make -C mcs/class/corlib run-test PLATFORM_TEST_HARNESS_EXCLUDES="NotOnMac LLVMNotWorking" MONO_ENV_OPTIONS=--llvm
+if [[ $CI_TAGS == *'msbuild-tests-only'* ]]
+then echo "Running only msbuild tests"
+else
+ # Bundled LLVM
+ cd ${MONO_REPO_ROOT}/external/bockbuild/builds/mono
+ ${TESTCMD} --label="runtime-tests-llvm" --timeout=240m make -C mono/tests -k test-wrench MONO_ENV_OPTIONS=--llvm V=1 M=1
+ ${TESTCMD} --label="corlib-tests-llvm" --timeout=60m make -C mcs/class/corlib run-test PLATFORM_TEST_HARNESS_EXCLUDES="NotOnMac LLVMNotWorking" MONO_ENV_OPTIONS=--llvm
-# Bundled libgdiplus
-${TESTCMD} --label="System.Drawing" --timeout=60m make -C mcs/class/System.Drawing run-test
+ # Bundled libgdiplus
+ ${TESTCMD} --label="System.Drawing" --timeout=60m make -C mcs/class/System.Drawing run-test
+fi
${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh