summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTijoy Tom Kalathiparambil <tijoytk@microsoft.com>2016-03-23 10:15:43 -0700
committerTijoy Tom Kalathiparambil <tijoytk@microsoft.com>2016-03-23 10:15:43 -0700
commit24960908aa7ff32ef8208e0586ea26ff5eb209f7 (patch)
tree2071671f63e31e4e3c376bb3d0e8bd6f087344a4 /tests
parent8ba68c678cd2ded73716fdad4697dda599bdd0fd (diff)
downloadcoreclr-24960908aa7ff32ef8208e0586ea26ff5eb209f7.tar.gz
coreclr-24960908aa7ff32ef8208e0586ea26ff5eb209f7.tar.bz2
coreclr-24960908aa7ff32ef8208e0586ea26ff5eb209f7.zip
Add licence header and disabling some failing tests
Diffstat (limited to 'tests')
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopyByteArray.cs6
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopyCharArray.cs6
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopyDoubleArray.cs6
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopyInt16Array.cs5
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopyInt32Array.cs6
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopyInt64Array.cs6
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopyIntPtrArray.cs5
-rw-r--r--tests/src/Interop/MarshalAPI/Copy/CopySingleArray.cs5
-rw-r--r--tests/src/Interop/MarshalAPI/GetExceptionForHR/GetExceptionForHR.cs5
-rw-r--r--tests/src/Interop/MarshalAPI/Miscellaneous/AutoLayoutStructure.cs3
-rw-r--r--tests/src/Interop/MarshalAPI/Miscellaneous/MarshalClassTests.cs3
-rw-r--r--tests/src/Interop/MarshalAPI/OffsetOf/OffsetOf.cs5
-rw-r--r--tests/src/Interop/MarshalAPI/String/StringMarshalingTest.cs5
-rw-r--r--tests/src/Interop/MarshalAPI/UnsafeAddrOfPinnedArrayElement/UnsafeAddrOfPinnedArrayElement.cs6
-rw-r--r--tests/testsFailingOutsideWindows.txt3
-rw-r--r--tests/testsUnsupportedOutsideWindows.txt1
-rw-r--r--tests/x86_legacy_backend_issues.targets3
17 files changed, 66 insertions, 13 deletions
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopyByteArray.cs b/tests/src/Interop/MarshalAPI/Copy/CopyByteArray.cs
index ea79b7bba0..983bc7922a 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopyByteArray.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopyByteArray.cs
@@ -1,4 +1,8 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopyCharArray.cs b/tests/src/Interop/MarshalAPI/Copy/CopyCharArray.cs
index 05b2d290ae..e5ee56f5ed 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopyCharArray.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopyCharArray.cs
@@ -1,4 +1,8 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopyDoubleArray.cs b/tests/src/Interop/MarshalAPI/Copy/CopyDoubleArray.cs
index 0b631a351e..0f8d30ddc0 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopyDoubleArray.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopyDoubleArray.cs
@@ -1,4 +1,8 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopyInt16Array.cs b/tests/src/Interop/MarshalAPI/Copy/CopyInt16Array.cs
index 8307f8d9c1..944eda4b1e 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopyInt16Array.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopyInt16Array.cs
@@ -1,4 +1,7 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopyInt32Array.cs b/tests/src/Interop/MarshalAPI/Copy/CopyInt32Array.cs
index 0b0c2f89c4..0779902ab4 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopyInt32Array.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopyInt32Array.cs
@@ -1,4 +1,8 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopyInt64Array.cs b/tests/src/Interop/MarshalAPI/Copy/CopyInt64Array.cs
index c90759c371..b35a2b78e1 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopyInt64Array.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopyInt64Array.cs
@@ -1,4 +1,8 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopyIntPtrArray.cs b/tests/src/Interop/MarshalAPI/Copy/CopyIntPtrArray.cs
index 4cbd8f31a7..d4fe4372ea 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopyIntPtrArray.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopyIntPtrArray.cs
@@ -1,4 +1,7 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Copy/CopySingleArray.cs b/tests/src/Interop/MarshalAPI/Copy/CopySingleArray.cs
index 5262f09d3a..c4e4d75bc1 100644
--- a/tests/src/Interop/MarshalAPI/Copy/CopySingleArray.cs
+++ b/tests/src/Interop/MarshalAPI/Copy/CopySingleArray.cs
@@ -1,4 +1,7 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/GetExceptionForHR/GetExceptionForHR.cs b/tests/src/Interop/MarshalAPI/GetExceptionForHR/GetExceptionForHR.cs
index 5280a0670f..ae88f97b8a 100644
--- a/tests/src/Interop/MarshalAPI/GetExceptionForHR/GetExceptionForHR.cs
+++ b/tests/src/Interop/MarshalAPI/GetExceptionForHR/GetExceptionForHR.cs
@@ -1,4 +1,7 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/Miscellaneous/AutoLayoutStructure.cs b/tests/src/Interop/MarshalAPI/Miscellaneous/AutoLayoutStructure.cs
index b701a01314..98f0cbab24 100644
--- a/tests/src/Interop/MarshalAPI/Miscellaneous/AutoLayoutStructure.cs
+++ b/tests/src/Interop/MarshalAPI/Miscellaneous/AutoLayoutStructure.cs
@@ -1,3 +1,6 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Threading;
diff --git a/tests/src/Interop/MarshalAPI/Miscellaneous/MarshalClassTests.cs b/tests/src/Interop/MarshalAPI/Miscellaneous/MarshalClassTests.cs
index 30ae04e5bd..e2f89e58df 100644
--- a/tests/src/Interop/MarshalAPI/Miscellaneous/MarshalClassTests.cs
+++ b/tests/src/Interop/MarshalAPI/Miscellaneous/MarshalClassTests.cs
@@ -1,3 +1,6 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Threading;
diff --git a/tests/src/Interop/MarshalAPI/OffsetOf/OffsetOf.cs b/tests/src/Interop/MarshalAPI/OffsetOf/OffsetOf.cs
index b0aa8cf85d..fee7af8687 100644
--- a/tests/src/Interop/MarshalAPI/OffsetOf/OffsetOf.cs
+++ b/tests/src/Interop/MarshalAPI/OffsetOf/OffsetOf.cs
@@ -1,4 +1,7 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
diff --git a/tests/src/Interop/MarshalAPI/String/StringMarshalingTest.cs b/tests/src/Interop/MarshalAPI/String/StringMarshalingTest.cs
index b77cd2b584..f4ec24fe0e 100644
--- a/tests/src/Interop/MarshalAPI/String/StringMarshalingTest.cs
+++ b/tests/src/Interop/MarshalAPI/String/StringMarshalingTest.cs
@@ -1,4 +1,7 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+using System;
using System.IO;
using System.Reflection;
using System.Security;
diff --git a/tests/src/Interop/MarshalAPI/UnsafeAddrOfPinnedArrayElement/UnsafeAddrOfPinnedArrayElement.cs b/tests/src/Interop/MarshalAPI/UnsafeAddrOfPinnedArrayElement/UnsafeAddrOfPinnedArrayElement.cs
index a17923d269..89cf6b962f 100644
--- a/tests/src/Interop/MarshalAPI/UnsafeAddrOfPinnedArrayElement/UnsafeAddrOfPinnedArrayElement.cs
+++ b/tests/src/Interop/MarshalAPI/UnsafeAddrOfPinnedArrayElement/UnsafeAddrOfPinnedArrayElement.cs
@@ -1,4 +1,8 @@
-using System;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
diff --git a/tests/testsFailingOutsideWindows.txt b/tests/testsFailingOutsideWindows.txt
index c38e8933fe..cf943f872f 100644
--- a/tests/testsFailingOutsideWindows.txt
+++ b/tests/testsFailingOutsideWindows.txt
@@ -174,4 +174,5 @@ JIT/Regression/Dev11/External/dev11_145295/CSharpPart/CSharpPart.sh
Interop/ArrayMarshalling/ByValArray/MarshalArrayByValTest/MarshalArrayByValTest.sh
Interop/StringMarshalling/LPSTR/LPSTRTest/LPSTRTest.sh
Interop/StringMarshalling/LPTSTR/LPTSTRTest/LPTSTRTest.sh
-
+Interop/MarshalAPI/OffsetOf/OffsetOf/OffsetOf.sh
+Interop/MarshalAPI/Miscellaneous/MarshalClassTests/MarshalClassTests.sh \ No newline at end of file
diff --git a/tests/testsUnsupportedOutsideWindows.txt b/tests/testsUnsupportedOutsideWindows.txt
index 76be20d5b2..b0cee00eb3 100644
--- a/tests/testsUnsupportedOutsideWindows.txt
+++ b/tests/testsUnsupportedOutsideWindows.txt
@@ -189,3 +189,4 @@ JIT/opt/Inline/tests/xmodb/xmodb.sh
JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b79250/b79250/b79250.sh
managed/Compilation/Compilation/Compilation.sh
Regressions/coreclr/0584/Test584/Test584.sh
+Interop/MarshalAPI/IUnknown/IUnknownTest/IUnknownTest.sh \ No newline at end of file
diff --git a/tests/x86_legacy_backend_issues.targets b/tests/x86_legacy_backend_issues.targets
index cde4dc8475..ae9ec5004e 100644
--- a/tests/x86_legacy_backend_issues.targets
+++ b/tests/x86_legacy_backend_issues.targets
@@ -495,5 +495,8 @@
<ExcludeList Include="$(XunitTestBinBase)\Interop\StringMarshalling\LPTSTR\LPTSTRTest\LPTSTRTest.cmd">
<Issue>needs triage</Issue>
</ExcludeList>
+ <ExcludeList Include="$(XunitTestBinBase)\Interop\MarshalAPI\FunctionPointer\FunctionPtrTest\FunctionPtrTest.cmd">
+ <Issue>needs triage</Issue>
+ </ExcludeList>
</ItemGroup>
</Project>