Fix LPTSTRTest failure - it has a incorrect constant probably due to bad porting...
authorYi Zhang (CLR) <yzha@microsoft.com>
Sat, 9 Apr 2016 02:39:48 +0000 (19:39 -0700)
committerYi Zhang (CLR) <yzha@microsoft.com>
Sat, 9 Apr 2016 16:44:07 +0000 (09:44 -0700)
tests/issues.targets
tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp
tests/testsFailingOutsideWindows.txt

index 6c37a60..331e721 100644 (file)
         <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>
index 95f250b..91b9b63 100755 (executable)
@@ -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
+}
index f7b8b91..e93fc3a 100644 (file)
@@ -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