<ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b57367\b57367\*" >
<Issue>2235</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\CLR-x86-JIT\V1.2-Beta1\b101136\b101136\*" >
- <Issue>2237</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\CLR-x86-JIT\V1.2-M02\b20785\b20785\*" >
<Issue>2235</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\CLR-x86-JIT\V2.0-Beta2\b399444\b399444a\*" >
<Issue>2235</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\VS-ia64-JIT\V1.2-M02\b108129\b108129\*" >
- <Issue>2234</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\JIT\opt\Tailcall\TailcallVerifyWithPrefix\TailcallVerifyWithPrefix.cmd" >
<Issue>2329</Issue>
</ExcludeList>
+++ /dev/null
-// 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.Diagnostics;
-
-public class SlurpStdout
-{
- public static string expSTDOUT = "test = hello world!";
-
- public static int Main()
- {
- Process p;
- string strSTDOUT;
-
- p = new Process();
- p.StartInfo.FileName = "StringBugNewSyntax.exe";
- p.StartInfo.UseShellExecute = false;
- p.StartInfo.RedirectStandardOutput = true;
- p.StartInfo.Arguments = null;
- p.Start();
- p.WaitForExit();
-
- strSTDOUT = p.StandardOutput.ReadToEnd();
-
- strSTDOUT = strSTDOUT.Trim();
-
- if (strSTDOUT.StartsWith(expSTDOUT) && strSTDOUT.EndsWith(expSTDOUT))
- {
- Console.WriteLine("Pass");
- return 100;
- }
- else
- {
- Console.WriteLine("Received : [{0}]", strSTDOUT);
- Console.WriteLine("Expected Begining: [{0}]", expSTDOUT);
- Console.WriteLine("Expected End : [{0}]", expSTDOUT);
- Console.WriteLine("FAIL");
- return 0;
- }
- }
-}
-
-
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
-</configuration>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <AssemblyName>$(MSBuildProjectName)</AssemblyName>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <FileAlignment>512</FileAlignment>
- <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
- <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT .0\UITestExtensionPackages</ReferencePath>
- <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
- </PropertyGroup>
- <!-- Default configurations to help VS understand the configurations -->
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- </PropertyGroup>
- <ItemGroup>
- <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
- <Visible>False</Visible>
- </CodeAnalysisDependentAssemblyPaths>
- </ItemGroup>
- <PropertyGroup>
- <!-- Set to 'Full' if the Debug? column is marked in the spreadsheet. Leave blank otherwise. -->
- <DebugType>PdbOnly</DebugType>
- <NoLogo>True</NoLogo>
- <NoStandardLib>True</NoStandardLib>
- <Noconfig>True</Noconfig>
- <DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="SlurpStdout.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="$(JitPackagesConfigFileDirectory)extra\project.json" />
- <None Include="app.config" />
- </ItemGroup>
- <ItemGroup>
- <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
- </ItemGroup>
- <PropertyGroup>
- <ProjectJson>$(JitPackagesConfigFileDirectory)extra\project.json</ProjectJson>
- <ProjectLockJson>$(JitPackagesConfigFileDirectory)extra\project.lock.json</ProjectLockJson>
- </PropertyGroup>
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
- <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
- </PropertyGroup>
-</Project>
--- /dev/null
+cmake_minimum_required(VERSION 2.6)
+project(b108129_test2)
+include_directories(${INC_PLATFORM_DIR})
+set(CMAKE_SHARED_LIBRARY_PREFIX "")
+
+add_library(test2 SHARED test2.cpp)
+SET_TARGET_PROPERTIES(test2 PROPERTIES COMPILE_FLAGS "-c")
+
+# add the install targets (this "installs" the native file on Windows systems)
+install(TARGETS test2 DESTINATION bin)
+
+# This "installs" the native file on System V systems
+set_target_properties(test2 PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/test2)
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="CMakeLists.txt" />
+ </ItemGroup>
<PropertyGroup>
<ProjectJson>$(JitPackagesConfigFileDirectory)extra\project.json</ProjectJson>
<ProjectLockJson>$(JitPackagesConfigFileDirectory)extra\project.lock.json</ProjectLockJson>
--- /dev/null
+// 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.
+
+#include <platformdefines.h>
+
+extern "C"
+{
+DLL_EXPORT int GetInt32Const() {return 7;}
+DLL_EXPORT __int64 GetInt64Const() {return 7;}
+DLL_EXPORT float GetFloatConst() {return 7.777777f;}
+DLL_EXPORT double GetDoubleConst() {return 7.777777;}
+}
{
public class TestCase
{
- [DllImport("test2.dll", EntryPoint = "GetInt32Const")]
+ [DllImport("test2", EntryPoint = "GetInt32Const")]
public static extern int GetInt32Const();
- [DllImport("test2.dll", EntryPoint = "GetInt64Const")]
+ [DllImport("test2", EntryPoint = "GetInt64Const")]
public static extern long GetInt64Const();
- [DllImport("test2.dll", EntryPoint = "GetFloatConst")]
+ [DllImport("test2", EntryPoint = "GetFloatConst")]
public static extern float GetFloatConst();
- [DllImport("test2.dll", EntryPoint = "GetDoubleConst")]
+ [DllImport("test2", EntryPoint = "GetDoubleConst")]
public static extern double GetDoubleConst();
private static int Main()
JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b66533/b66533/b66533.sh
JIT/Regression/CLR-x86-JIT/V1-M13-RTM/b88793/b88793/b88793.sh
JIT/Regression/CLR-x86-JIT/V1-M13-RTM/b91248/b91248/b91248.sh
-JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b101136/b101136/b101136.sh
JIT/Regression/CLR-x86-JIT/V1.2-M02/b20785/b20785/b20785.sh
JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b399444/b399444a/b399444a.sh
JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b409748/b409748/b409748.sh
JIT/Regression/VS-ia64-JIT/V1.2-Beta1/b302509/b302509/b302509.sh
-JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/b108129/b108129.sh
JIT/Regression/VS-ia64-JIT/V1.2-M02/b12011/b12011/b12011.sh
JIT/opt/Tailcall/TailcallVerifyWithPrefix/TailcallVerifyWithPrefix.sh
Loader/NativeLibs/FromNativePaths/FromNativePaths.sh
<ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\CLR-x86-JIT\V1.2-M01\b08046\b08046\b08046.cmd">
<Issue>needs triage</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\CLR-x86-JIT\V1.2-Beta1\b101136\b101136\b101136.cmd">
- <Issue>needs triage</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\JIT\Directed\intrinsic\interlocked\rva_rvastatic3\rva_rvastatic3.cmd Timed Out">
<Issue>needs triage</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\JIT\opt\Inline\regression\mismatch32\mismatch32\mismatch32.cmd">
<Issue>needs triage</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\VS-ia64-JIT\V1.2-M02\b108129\b108129\b108129.cmd">
- <Issue>needs triage</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\JIT\SIMD\CircleInConvex_ro\CircleInConvex_ro.cmd">
<Issue>needs triage</Issue>
</ExcludeList>