3 source ${MONO_REPO_ROOT}/scripts
/ci
/util.sh
5 ${TESTCMD} --label=mini
--timeout=5m
make -w -C mono
/mini
-k check EMIT_NUNIT
=1
6 if [[ ${CI_TAGS} == *'win-i386'* ]]
7 then ${TESTCMD} --label=mini-aotcheck
--skip;
8 else ${TESTCMD} --label=mini-aotcheck
--timeout=5m
make -j ${CI_CPU_COUNT} -w -C mono
/mini
-k aotcheck
10 if [[ ${CI_TAGS} == *'win-i386'* ]] ||
[[ ${CI_TAGS} == *'ppc64'* ]]
11 then ${TESTCMD} --label=aot-test
--skip;
12 else ${TESTCMD} --label=aot-test
--timeout=30m
make -w -C mono
/tests
-j ${CI_CPU_COUNT} -k test-aot
14 # workaround some races in the tests build
15 for dir
in mcs
/tools
/nunit-lite mcs
/class
/Microsoft.Build
*; do
16 ${TESTCMD} --label=compile-$
(basename $dir) --timeout=5m
make -w -C $dir test xunit-test
17 ${TESTCMD} --label=compile-$
(basename $dir)-xbuild_12 --timeout=5m
make -w -C $dir test xunit-test PROFILE
=xbuild_12
18 ${TESTCMD} --label=compile-$
(basename $dir)-xbuild_14 --timeout=5m
make -w -C $dir test xunit-test PROFILE
=xbuild_14
20 ${TESTCMD} --label=compile-bcl-tests
--timeout=40m
make -w -C runtime
-j ${CI_CPU_COUNT} test xunit-test
21 ${TESTCMD} --label=compile-runtime-tests
--timeout=40m
make -w -C mono
/tests
-j ${CI_CPU_COUNT} test
22 ${TESTCMD} --label=runtime
--timeout=160m
make -w -C mono
/tests
-k test-wrench V
=1
23 ${TESTCMD} --label=runtime-unit-tests
--timeout=5m
make -w -C mono
/unit-tests
-k check
24 if [[ ${CI_TAGS} == *'linux'* ]]; then ${TESTCMD} --label=fullaot-mixed --timeout=10m make -w -C mono/tests/fullaot-mixed -j ${CI_CPU_COUNT} check
; fi
25 if [[ ${CI_TAGS} == *'osx-'* ]]; then ${TESTCMD} --label=llvmonly-mixed --timeout=10m make -w -C mono/tests/llvmonly-mixed -j ${CI_CPU_COUNT} check
; fi
26 if [[ ${CI_TAGS} == *'osx-'* ]]; then ${TESTCMD} --label=corlib-btls
--timeout=5m bash
-c "export MONO_TLS_PROVIDER=btls && make -w -C mcs/class/corlib TEST_HARNESS_FLAGS=-include:X509Certificates run-test"; fi
27 ${TESTCMD} --label=corlib
--timeout=30m
make -w -C mcs
/class
/corlib run-test
28 ${TESTCMD} --label=corlib-xunit
--timeout=60m
make -w -C mcs
/class
/corlib run-xunit-test
29 ${TESTCMD} --label=verify
--timeout=15m
make -w -C runtime mcs-compileall
30 ${TESTCMD} --label=profiler
--timeout=30m
make -w -C mono
/profiler
-k check
31 ${TESTCMD} --label=compiler
--timeout=30m
make -w -C mcs
/tests run-test
32 ${TESTCMD} --label=compiler-errors
--timeout=30m
make -w -C mcs
/errors run-test
33 ${TESTCMD} --label=System-xunit
--timeout=5m
make -w -C mcs
/class
/System run-xunit-test
34 ${TESTCMD} --label=System
--timeout=10m bash
-c "export MONO_TLS_PROVIDER=legacy && make -w -C mcs/class/System run-test"
35 if [[ ${CI_TAGS} == *'osx-'* ]]; then ${TESTCMD} --label=System-btls
--timeout=10m bash
-c "export MONO_TLS_PROVIDER=btls && make -w -C mcs/class/System run-test"; fi
36 ${TESTCMD} --label=System.XML
--timeout=5m
make -w -C mcs
/class
/System.XML run-test
37 ${TESTCMD} --label=System.XML-xunit
--timeout=5m
make -w -C mcs
/class
/System.XML run-xunit-test
38 ${TESTCMD} --label=Mono.Security
--timeout=5m
make -w -C mcs
/class
/Mono.Security run-test
39 ${TESTCMD} --label=System.Security
--timeout=5m
make -w -C mcs
/class
/System.Security run-test
40 ${TESTCMD} --label=System.Security-xunit
--timeout=5m
make -w -C mcs
/class
/System.Security run-xunit-test
41 if [[ ${CI_TAGS} == *'win-'* ]]
42 then ${TESTCMD} --label=System.Drawing
--skip;
44 ${TESTCMD} --label=System.Drawing
--timeout=5m
make -w -C mcs
/class
/System.Drawing run-test
45 ${TESTCMD} --label=System.Drawing-xunit
--timeout=5m
make -w -C mcs
/class
/System.Drawing run-xunit-test
47 if [[ ${CI_TAGS} == *'osx-'* ]] ||
[[ ${CI_TAGS} == *'win-'* ]]
48 then ${TESTCMD} --label=Windows.Forms
--skip;
50 if xvfb-run
-a -- make -C mcs
/class
/System.Windows.Forms test-simple
;
51 then ${TESTCMD} --label=Windows.Forms
--timeout=5m xvfb-run
-a -- make -w -C mcs
/class
/System.Windows.Forms run-test
52 else echo "The simple test failed (maybe because of missing X server), skipping test suite." && ${TESTCMD} --label=Windows.Forms
--skip; fi
54 ${TESTCMD} --label=System.Windows.Forms.DataVisualization
--timeout=5m
make -w -C mcs
/class
/System.Windows.Forms.DataVisualization run-test
55 ${TESTCMD} --label=System.Data
--timeout=5m
make -w -C mcs
/class
/System.Data run-test
56 ${TESTCMD} --label=System.Data-xunit
--timeout=5m
make -w -C mcs
/class
/System.Data run-xunit-test
57 if [[ ${CI_TAGS} == *'win-'* ]]; 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
58 ${TESTCMD} --label=System.Data.OracleClient
--timeout=5m
make -w -C mcs
/class
/System.Data.OracleClient run-test
;
59 ${TESTCMD} --label=System.Design
--timeout=5m
make -w -C mcs
/class
/System.Design run-test
;
60 ${TESTCMD} --label=Mono.Posix
--timeout=5m
make -w -C mcs
/class
/Mono.Posix run-test
61 ${TESTCMD} --label=System.Web
--timeout=30m
make -w -C mcs
/class
/System.Web run-test
62 ${TESTCMD} --label=System.Web.Services
--timeout=5m
make -w -C mcs
/class
/System.Web.Services run-test
63 ${TESTCMD} --label=System.Runtime.SFS
--timeout=5m
make -w -C mcs
/class
/System.Runtime.Serialization.Formatters.Soap run-test
;
64 ${TESTCMD} --label=System.Runtime.Remoting
--timeout=5m
make -w -C mcs
/class
/System.Runtime.Remoting run-test
65 ${TESTCMD} --label=Cscompmgd
--timeout=5m
make -w -C mcs
/class
/Cscompmgd run-test
;
66 ${TESTCMD} --label=Commons.Xml.Relaxng
--timeout=5m
make -w -C mcs
/class
/Commons.Xml.Relaxng run-test
;
67 ${TESTCMD} --label=System.ServiceProcess
--timeout=5m
make -w -C mcs
/class
/System.ServiceProcess run-test
68 ${TESTCMD} --label=I18N.CJK
--timeout=5m
make -w -C mcs
/class
/I18N
/CJK run-test
69 ${TESTCMD} --label=I18N.West
--timeout=5m
make -w -C mcs
/class
/I18N
/West run-test
70 ${TESTCMD} --label=I18N.MidEast
--timeout=5m
make -w -C mcs
/class
/I18N
/MidEast run-test
71 ${TESTCMD} --label=I18N.Rare
--timeout=5m
make -w -C mcs
/class
/I18N
/Rare run-test
72 ${TESTCMD} --label=I18N.Other
--timeout=5m
make -w -C mcs
/class
/I18N
/Other run-test
73 ${TESTCMD} --label=System.DirectoryServices
--timeout=5m
make -w -C mcs
/class
/System.DirectoryServices run-test
74 ${TESTCMD} --label=Microsoft.Build.Engine
--timeout=5m
make -w -C mcs
/class
/Microsoft.Build.Engine run-test
75 ${TESTCMD} --label=Microsoft.Build.Framework
--timeout=5m
make -w -C mcs
/class
/Microsoft.Build.Framework run-test
76 ${TESTCMD} --label=Microsoft.Build.Tasks
--timeout=5m
make -w -C mcs
/class
/Microsoft.Build.Tasks run-test
77 ${TESTCMD} --label=Microsoft.Build.Utilities
--timeout=5m
make -w -C mcs
/class
/Microsoft.Build.Utilities run-test
78 ${TESTCMD} --label=Mono.C5
--timeout=5m
make -w -C mcs
/class
/Mono.C5 run-test
79 ${TESTCMD} --label=Mono.Options
--timeout=5m
make -w -C mcs
/class
/Mono.Options run-test
80 if [[ ${CI_TAGS} == *'win-'* ]]
81 then ${TESTCMD} --label=Mono.Profiler.Log-xunit
--skip;
82 else ${TESTCMD} --label=Mono.Profiler.Log-xunit
--timeout=30m
make -w -C mcs
/class
/Mono.Profiler.Log run-xunit-test
84 ${TESTCMD} --label=Mono.Tasklets
--timeout=5m
make -w -C mcs
/class
/Mono.Tasklets run-test
85 ${TESTCMD} --label=System.Configuration
--timeout=5m
make -w -C mcs
/class
/System.Configuration run-test
86 ${TESTCMD} --label=System.Transactions
--timeout=5m
make -w -C mcs
/class
/System.Transactions run-test
87 ${TESTCMD} --label=System.Web.Extensions
--timeout=5m
make -w -C mcs
/class
/System.Web.Extensions run-test
88 ${TESTCMD} --label=System.Core
--timeout=15m
make -w -C mcs
/class
/System.Core run-test
89 ${TESTCMD} --label=System.Core-xunit
--timeout=15m
make -w -C mcs
/class
/System.Core run-xunit-test
90 ${TESTCMD} --label=System.Xml.Linq
--timeout=5m
make -w -C mcs
/class
/System.Xml.Linq run-test
91 ${TESTCMD} --label=System.Xml.Linq-xunit
--timeout=5m
make -w -C mcs
/class
/System.Xml.Linq run-xunit-test
92 ${TESTCMD} --label=System.Data.DSE
--timeout=5m
make -w -C mcs
/class
/System.Data.DataSetExtensions run-test
93 ${TESTCMD} --label=System.Web.Abstractions
--timeout=5m
make -w -C mcs
/class
/System.Web.Abstractions run-test
94 ${TESTCMD} --label=System.Web.Routing
--timeout=5m
make -w -C mcs
/class
/System.Web.Routing run-test
95 ${TESTCMD} --label=System.Runtime.Serialization
--timeout=5m
make -w -C mcs
/class
/System.Runtime.Serialization run-test
96 ${TESTCMD} --label=System.Runtime.Serialization-xunit
--timeout=5m
make -w -C mcs
/class
/System.Runtime.Serialization run-xunit-test
97 ${TESTCMD} --label=System.IdentityModel
--timeout=5m
make -w -C mcs
/class
/System.IdentityModel run-test
98 ${TESTCMD} --label=System.ServiceModel
--timeout=15m
make -w -C mcs
/class
/System.ServiceModel run-test
99 ${TESTCMD} --label=System.ServiceModel.Web
--timeout=5m
make -w -C mcs
/class
/System.ServiceModel.Web run-test
100 ${TESTCMD} --label=System.Web.Extensions-standalone
--timeout=5m
make -w -C mcs
/class
/System.Web.Extensions run-standalone-test
101 ${TESTCMD} --label=System.ComponentModel.DataAnnotations
--timeout=5m
make -w -C mcs
/class
/System.ComponentModel.DataAnnotations run-test
102 ${TESTCMD} --label=System.ComponentModel.Composition-xunit
--timeout=5m
make -w -C mcs
/class
/System.ComponentModel.Composition
.4.5 run-xunit-test
103 ${TESTCMD} --label=Mono.CodeContracts
--timeout=5m
make -w -C mcs
/class
/Mono.CodeContracts run-test
104 # needs RabbitMQ installed and hangs on process exit
105 # ${TESTCMD} --label=System.Messaging --timeout=5m make -w -C mcs/class/System.Messaging run-test
106 ${TESTCMD} --label=Mono.Messaging
--timeout=5m
make -w -C mcs
/class
/Mono.Messaging run-test
107 ${TESTCMD} --label=Mono.Messaging.RabbitMQ
--timeout=5m
make -w -C mcs
/class
/Mono.Messaging.RabbitMQ run-test
108 ${TESTCMD} --label=System.Runtime.Caching
--timeout=5m
make -w -C mcs
/class
/System.Runtime.Caching run-test
109 ${TESTCMD} --label=System.Data.Services
--timeout=5m
make -w -C mcs
/class
/System.Data.Services run-test
110 ${TESTCMD} --label=System.Web.DynamicData
--timeout=5m
make -w -C mcs
/class
/System.Web.DynamicData run-test
111 if [[ ${CI_TAGS} == *'win-'* ]]; then ${TESTCMD} --label=WebMatrix.Data --skip; else ${TESTCMD} --label=WebMatrix.Data
--timeout=5m
make -w -C mcs
/class
/WebMatrix.Data run-test
; fi
112 ${TESTCMD} --label=Mono.CSharp
--timeout=5m
make -w -C mcs
/class
/Mono.CSharp run-test
113 ${TESTCMD} --label=WindowsBase
--timeout=5m
make -w -C mcs
/class
/WindowsBase run-test
114 ${TESTCMD} --label=System.Numerics
--timeout=5m
make -w -C mcs
/class
/System.Numerics run-test
115 ${TESTCMD} --label=System.Numerics-xunit
--timeout=5m
make -w -C mcs
/class
/System.Numerics run-xunit-test
116 ${TESTCMD} --label=System.Runtime.DurableInstancing
--timeout=5m
make -w -C mcs
/class
/System.Runtime.DurableInstancing run-test
117 ${TESTCMD} --label=System.ServiceModel.Discovery
--timeout=5m
make -w -C mcs
/class
/System.ServiceModel.Discovery run-test
118 ${TESTCMD} --label=System.Xaml
--timeout=5m
make -w -C mcs
/class
/System.Xaml run-test
119 ${TESTCMD} --label=System.Net.Http
--timeout=5m
make -w -C mcs
/class
/System.Net.Http run-test
120 ${TESTCMD} --label=System.Net.Http-xunit
--timeout=15m
make -w -C mcs
/class
/System.Net.Http run-xunit-test
121 ${TESTCMD} --label=System.Net.Http.WebRequest
--timeout=5m
make -w -C mcs
/class
/System.Net.Http.WebRequest run-test
122 ${TESTCMD} --label=System.Json
--timeout=5m
make -w -C mcs
/class
/System.Json run-test
123 ${TESTCMD} --label=System.Json-xunit
--timeout=5m
make -w -C mcs
/class
/System.Json run-xunit-test
124 ${TESTCMD} --label=System.Threading.Tasks.Dataflow
--timeout=5m
make -w -C mcs
/class
/System.Threading.Tasks.Dataflow run-test
125 ${TESTCMD} --label=System.Threading.Tasks.Dataflow-xunit
--timeout=5m
make -w -C mcs
/class
/System.Threading.Tasks.Dataflow run-xunit-test
126 ${TESTCMD} --label=System.Runtime.CompilerServices.Unsafe-xunit
--timeout=5m
make -w -C mcs
/class
/System.Runtime.CompilerServices.Unsafe run-xunit-test
127 ${TESTCMD} --label=Mono.Debugger.Soft
--timeout=5m
make -w -C mcs
/class
/Mono.Debugger.Soft run-test
128 ${TESTCMD} --label=Microsoft.CSharp-xunit
--timeout=5m
make -w -C mcs
/class
/Microsoft.CSharp run-xunit-test
129 ${TESTCMD} --label=Microsoft.Build
--timeout=5m
make -w -C mcs
/class
/Microsoft.Build run-test
130 # fails one test and needs to get rid of CallerFilePath to locate test resources
131 # ${TESTCMD} --label=monodoc --timeout=10m make -w -C mcs/class/monodoc run-test
132 if [[ ${CI_TAGS} == *'win-'* ]]; then ${TESTCMD} --label=mdoc --skip; else ${TESTCMD} --label=mdoc
--timeout=10m
make -w -C mcs
/tools
/mdoc run-test
; fi
133 ${TESTCMD} --label=Microsoft.Build-12
--timeout=10m
make -w -C mcs
/class
/Microsoft.Build run-test PROFILE
=xbuild_12
134 ${TESTCMD} --label=Microsoft.Build.Engine-12
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Engine run-test PROFILE
=xbuild_12
135 ${TESTCMD} --label=Microsoft.Build.Framework-12
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Framework run-test PROFILE
=xbuild_12
136 ${TESTCMD} --label=Microsoft.Build.Tasks-12
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Tasks run-test PROFILE
=xbuild_12
137 ${TESTCMD} --label=Microsoft.Build.Utilities-12
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Utilities run-test PROFILE
=xbuild_12
138 ${TESTCMD} --label=Microsoft.Build-14
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build run-test PROFILE
=xbuild_14
139 ${TESTCMD} --label=Microsoft.Build.Engine-14
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Engine run-test PROFILE
=xbuild_14
140 ${TESTCMD} --label=Microsoft.Build.Framework-14
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Framework run-test PROFILE
=xbuild_14
141 ${TESTCMD} --label=Microsoft.Build.Tasks-14
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Tasks run-test PROFILE
=xbuild_14
142 ${TESTCMD} --label=Microsoft.Build.Utilities-14
--timeout=60m
make -w -C mcs
/class
/Microsoft.Build.Utilities run-test PROFILE
=xbuild_14
143 ${TESTCMD} --label=System.IO.Compression
--timeout=5m
make -w -C mcs
/class
/System.IO.Compression run-test
144 ${TESTCMD} --label=System.IO.Compression-xunit
--timeout=5m
make -w -C mcs
/class
/System.IO.Compression run-xunit-test
145 if [[ ${CI_TAGS} == *'win-'* ]]; then ${TESTCMD} --label=symbolicate --skip; else ${TESTCMD} --label=symbolicate
--timeout=60m
make -w -C mcs
/tools
/mono-symbolicate check
; fi
146 ${TESTCMD} --label=monolinker
--timeout=10m
make -w -C mcs
/tools
/linker check
147 ${TESTCMD} --label=csi
--timeout=10m
make -w -C mcs
/packages run-test
149 if [[ $CI_TAGS == *'ms-test-suite'* ]]
150 then ${TESTCMD} --label=ms-test-suite
--timeout=30m
make -w -C acceptance-tests check-ms-test-suite
151 else ${TESTCMD} --label=ms-test-suite
--skip;
154 ${TESTCMD} --label=bundle-test-results
--timeout=2m
find .
-name "TestResult*.xml" -exec tar -rvf TestResults.
tar {} \
;
156 rm -fr /tmp
/jenkins-temp-aspnet
*
158 ${MONO_REPO_ROOT}/scripts
/ci
/run-upload-sentry.sh