Skip to content

Commit a282040

Browse files
authored
[bcl] Build all XUnit and NUnit tests for monodroid, monotouch, monotouch_tv, monotouch_watch and wasm BCL profiles (mono#11201)
1 parent 2b64076 commit a282040

File tree

40 files changed

+81
-25
lines changed

40 files changed

+81
-25
lines changed

mcs/build/profiles/monotouch_tv.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ NO_THREAD_ABORT=1
77
NO_THREAD_SUSPEND_RESUME=1
88
NO_MULTIPLE_APPDOMAINS=1
99
NO_PROCESS_START=1
10+
NO_VTS_TEST=1

mcs/build/profiles/monotouch_watch.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ NO_MONO_SECURITY=1
1212
MONO_FEATURE_APPLETLS=
1313
ONLY_APPLETLS=
1414
MONO_FEATURE_APPLE_X509=1
15+
NO_VTS_TEST=1

mcs/build/tests.make

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,15 @@ $(topdir)/../external/corefx/src/Common/src/System/PasteArguments.Unix.cs
4444
ifeq ($(PROFILE),monodroid)
4545
xunit_src += $(topdir)/../mcs/class/test-helpers/RemoteExecutorTestBase.Mobile.cs
4646
else
47-
xunit_src += $(topdir)/../mcs/class/test-helpers/RemoteExecutorTestBase.Mono.cs \
48-
$(topdir)/../external/corefx/src/CoreFx.Private.TestUtilities/src/System/Diagnostics/RemoteExecutorTestBase.Process.cs
47+
ifeq ($(PROFILE),monotouch_tv)
48+
xunit_src += $(topdir)/../mcs/class/test-helpers/RemoteExecutorTestBase.Mobile.cs
49+
else
50+
ifeq ($(PROFILE),monotouch_watch)
51+
xunit_src += $(topdir)/../mcs/class/test-helpers/RemoteExecutorTestBase.Mobile.cs
52+
else
53+
xunit_src += $(topdir)/../mcs/class/test-helpers/RemoteExecutorTestBase.Mono.cs $(topdir)/../external/corefx/src/CoreFx.Private.TestUtilities/src/System/Diagnostics/RemoteExecutorTestBase.Process.cs
54+
endif
55+
endif
4956
endif
5057
endif
5158

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include monotouch_Microsoft.CSharp_xtest.dll.exclude.sources
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include monotouch_Microsoft.CSharp_xtest.dll.exclude.sources
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
Bug27864.cs
2+
SqliteDataReaderTest.cs
3+
SqliteTests.cs
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include monotouch_Mono.Data.Sqlite_test.dll.exclude.sources
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include monotouch_Mono.Data.Sqlite_test.dll.exclude.sources
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include monotouch_System.ComponentModel.Composition_xtest.dll.exclude.sources

0 commit comments

Comments
 (0)