summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYi Zhang (CLR) <yzha@microsoft.com>2016-04-08 19:39:48 -0700
committerYi Zhang (CLR) <yzha@microsoft.com>2016-04-09 09:44:07 -0700
commit6f3ed699dd21347a953dff5d2607cc620258f141 (patch)
treed8552cacbcda60ae51e9baad686f632b1dbed3a2 /tests
parenta09b8aac05c53a656614d6f3e0425d8be7f1e873 (diff)
downloadcoreclr-6f3ed699dd21347a953dff5d2607cc620258f141.tar.gz
coreclr-6f3ed699dd21347a953dff5d2607cc620258f141.tar.bz2
coreclr-6f3ed699dd21347a953dff5d2607cc620258f141.zip
Fix LPTSTRTest failure - it has a incorrect constant probably due to bad porting. Also remove StringMarshal tests from issues.targets
Diffstat (limited to 'tests')
-rw-r--r--tests/issues.targets6
-rwxr-xr-xtests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp4
-rw-r--r--tests/testsFailingOutsideWindows.txt1
3 files changed, 2 insertions, 9 deletions
diff --git a/tests/issues.targets b/tests/issues.targets
index 6c37a60d16..331e721ef7 100644
--- a/tests/issues.targets
+++ b/tests/issues.targets
@@ -310,12 +310,6 @@
<ExcludeList Include="$(XunitTestBinBase)\JIT\Methodical\Boxing\xlang\_orelsin_cs_il\_orelsin_cs_il.cmd" >
<Issue>3216</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\Interop\StringMarshalling\LPSTR\LPSTRTest\LPSTRTest.cmd" >
- <Issue>3572</Issue>
- </ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\Interop\StringMarshalling\LPTSTR\LPTSTRTest\LPTSTRTest.cmd" >
- <Issue>3571</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\Interop\BestFitMapping\BestFitMapping\BestFitMapping.cmd" >
<Issue>3571</Issue>
</ExcludeList>
diff --git a/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp b/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp
index 95f250be92..91b9b63d8e 100755
--- a/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp
+++ b/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp
@@ -11,7 +11,7 @@ const WCHAR* strReturn = W("a\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
const WCHAR* strErrReturn = W("Error");
-const WCHAR* strNative = W("Native\0String\0");
+const WCHAR* strNative = W(" Native\0String\0");
size_t lenstrNative = 7; //the len of strNative
extern "C" LPWSTR ReturnString()
@@ -152,4 +152,4 @@ extern "C" DLL_EXPORT BOOL __stdcall ReverseP_MarshalStrB_Out(Test_Del_MarshalSt
return TRUE;
-} \ No newline at end of file
+}
diff --git a/tests/testsFailingOutsideWindows.txt b/tests/testsFailingOutsideWindows.txt
index f7b8b91575..e93fc3a1c3 100644
--- a/tests/testsFailingOutsideWindows.txt
+++ b/tests/testsFailingOutsideWindows.txt
@@ -172,7 +172,6 @@ Interop/SimpleStruct/SimpleStruct/SimpleStruct.sh
Interop/StructMarshalling/PInvoke/MarshalStructAsLayoutExp/MarshalStructAsLayoutExp.sh
Interop/StructMarshalling/PInvoke/MarshalStructAsLayoutSeq/MarshalStructAsLayoutSeq.sh
Interop/ArrayMarshalling/ByValArray/MarshalArrayByValTest/MarshalArrayByValTest.sh
-Interop/StringMarshalling/LPTSTR/LPTSTRTest/LPTSTRTest.sh
GC/LargeMemory/Allocation/finalizertest/finalizertest.sh
GC/LargeMemory/API/gc/reregisterforfinalize/reregisterforfinalize.sh
GC/LargeMemory/API/gc/collect/collect.sh