diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-03-09 16:41:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 16:41:24 +0300 |
commit | 63e5e80d3a6f10c3e6df58b361e52ce94b1343f4 (patch) | |
tree | 45f18246b61bf2135b7194fc991f5010322f8d9e /mcs/class/System.Json.Microsoft | |
parent | 14485be705f72e2ee4942673af838834d1de0683 (diff) |
[bcl] Fix test build with mcs (#7512)
It'd fail with the following errors since e6de24c2d196b064e64aeea6e45350e985a1bb23:
```
MCS [net_4_x-darwin] net_4_x_System.Data.OracleClient_test.dll
Test/System.Data.OracleClient.jvm/MonoTests.System.Data.Utils/ADONetTesterClass.cs(337,71): error CS0012: The type `System.Xml.Serialization.IXmlSerializable' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
...
MCS [net_4_x-darwin] net_4_x_System.Json.Microsoft_test.dll
Test/System.Json/JsonValueTest.cs(23,12): error CS0012: The type `System.Dynamic.IDynamicMetaObjectProvider' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
...
MCS [net_4_x-darwin] DummyAssembly.dll
error CS0518: The predefined type `System.Object' is not defined or imported
error CS0518: The predefined type `System.ValueType' is not defined or imported
```
* [ci] Add compiling class lib tests to mcs job
Diffstat (limited to 'mcs/class/System.Json.Microsoft')
-rw-r--r-- | mcs/class/System.Json.Microsoft/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Json.Microsoft/Makefile b/mcs/class/System.Json.Microsoft/Makefile index 5b4c8fbfbf1..8938fa7e3c6 100644 --- a/mcs/class/System.Json.Microsoft/Makefile +++ b/mcs/class/System.Json.Microsoft/Makefile @@ -18,6 +18,6 @@ ifdef MOBILE_DYNAMIC LIB_MCS_FLAGS += -d:FEATURE_DYNAMIC endif -TEST_MCS_FLAGS = +TEST_LIB_REFS = System.Core include ../../build/library.make |