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>2015-11-12 01:04:27 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2015-11-12 01:21:01 +0300
commit654cab1b99c5c2ff20bfc378d86d8dbf52deb331 (patch)
tree714f2f722f989d0c6759924e8150a839c03f4ea9 /acceptance-tests/Makefile.am
parent1d378cd515409c76bee0afb470bc2eb070a962fe (diff)
[acceptance-tests] Split compiling/cleaning test sources and bump coreclr
The coreclr-compile-tests would throw a shell error "Argument list too long" on OSX due to the huge amount of tests passed to make in one go. The same happened for make clean. We now compile and clean the three sets of coreclr test sources separately to avoid this. Additionally, bump the coreclr reference and include a new test that was added upstream.
Diffstat (limited to 'acceptance-tests/Makefile.am')
-rw-r--r--acceptance-tests/Makefile.am22
1 files changed, 19 insertions, 3 deletions
diff --git a/acceptance-tests/Makefile.am b/acceptance-tests/Makefile.am
index 36967e824fb..68b9ff90e7d 100644
--- a/acceptance-tests/Makefile.am
+++ b/acceptance-tests/Makefile.am
@@ -52,7 +52,9 @@ coreclr-validate:
$(MAKE) validate-coreclr RESET_VERSIONS=1
coreclr-compile-tests: coreclr-validate
- $(MAKE) -j4 $(CORECLR_TESTSI_CS) $(CORECLR_COREMANGLIB_TESTSI_CS) $(CORECLR_TESTSI_IL)
+ $(MAKE) -j4 $(CORECLR_TESTSI_CS)
+ $(MAKE) -j4 $(CORECLR_COREMANGLIB_TESTSI_CS)
+ $(MAKE) -j4 $(CORECLR_TESTSI_IL)
# the CoreCLR IL tests use the System.Console facade, we need to copy it to the test directory
# all the other tests rely on the coreclr-testlibrary.dll
@@ -293,6 +295,7 @@ CORECLR_TEST_CS_SRC= \
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/lclfldmul.cs \
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/lclfldrem.cs \
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/lclfldsub.cs \
+ $(CORECLR_PATH)/tests/src/JIT/Directed/gettypetypeof/gettypetypeofmatrix.cs \
$(CORECLR_PATH)/tests/src/JIT/Directed/intrinsic/interlocked/IntrinsicTest_Overflow.cs \
$(CORECLR_PATH)/tests/src/JIT/Directed/intrinsic/interlocked/cmpxchg.cs \
$(CORECLR_PATH)/tests/src/JIT/Directed/intrinsic/interlocked/cse_cmpxchg.cs \
@@ -3794,7 +3797,12 @@ CORECLR_DISABLED_TEST_CS_SRC += \
CORECLR_DISABLED_TEST_CS_SRC += \
$(CORECLR_PATH)/tests/src/Regressions/assemblyref/assem.cs \
$(CORECLR_PATH)/tests/src/Regressions/assemblyref/test.cs \
- $(CORECLR_PATH)/tests/src/Interop/ReversePInvoke/Marshalling/MarshalBoolArray.cs
+ $(CORECLR_PATH)/tests/src/Interop/ReversePInvoke/Marshalling/MarshalBoolArray.cs \
+ $(CORECLR_PATH)/tests/src/Interop/NativeCallable/NativeCallableTest.cs \
+ $(CORECLR_PATH)/tests/src/JIT/Directed/StructABI/StructABI.OSX.cs \
+ $(CORECLR_PATH)/tests/src/JIT/Directed/StructABI/StructABI.Windows.cs \
+ $(CORECLR_PATH)/tests/src/JIT/Directed/StructABI/StructABI.Unix.cs \
+ $(CORECLR_PATH)/tests/src/JIT/Directed/StructABI/StructABI.cs
# relies on a define:
CORECLR_DISABLED_TEST_CS_SRC += $(CORECLR_PATH)/tests/src/Exceptions/Finalization/Finalizer.cs
@@ -3846,6 +3854,9 @@ CORECLR_DISABLED_TEST_CS_SRC += \
$(CORECLR_PATH)/tests/src/CoreMangLib/cti/system/resources/resourcemanager/customculture.cs \
$(CORECLR_PATH)/tests/src/CoreMangLib/system/resources/resourcemanager/customculture.cs
+# Mono doesn't support ICastable
+CORECLR_DISABLED_TEST_CS_SRC += $(CORECLR_PATH)/tests/src/Interop/ICastable/Castable.cs
+
# throws IndexOutOfRange exception even on .NET
CORECLR_DISABLED_TEST_CS_SRC += \
$(CORECLR_PATH)/tests/src/baseservices/threading/interlocked/compareexchange/compareexchangetclass.cs \
@@ -5189,4 +5200,9 @@ test-runner.exe: $(top_srcdir)/mono/tests/test-runner.cs
GCStressTests.exe: $(CORECLR_STRESSTEST_RUNNER_CS_SRC)
$(MCS) -out:$@ -debug -d:PROJECTK_BUILD $(CORECLR_STRESSTEST_RUNNER_CS_SRC)
-CLEANFILES = $(CORECLR_TESTSI_CS) $(CORECLR_COREMANGLIB_TESTSI_CS) $(CORECLR_TESTSI_IL) *.dll *.exe *.mdb $(CORECLR_STRESSTESTSI_CS) GCStressTests.exe coreclr-testlibrary.dll
+CLEANFILES = *.dll *.exe *.mdb $(CORECLR_STRESSTESTSI_CS) GCStressTests.exe coreclr-testlibrary.dll
+
+clean-local:
+ -rm -f $(CORECLR_TESTSI_CS)
+ -rm -f $(CORECLR_COREMANGLIB_TESTSI_CS)
+ -rm -f $(CORECLR_TESTSI_IL) \ No newline at end of file