Making argument forwarding tests run with dotnet test and removing the its special test scripts.

This commit is contained in:
Livar Cunha 2016-02-11 16:57:32 -08:00
parent 5c0eb19859
commit 64c17c5541
12 changed files with 36 additions and 119 deletions

View file

@ -0,0 +1,27 @@
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.DotNet.Tests.ArgumentForwarding
{
public class Program
{
public static void Main(string[] args)
{
bool first=true;
foreach (var arg in args)
{
if (first)
{
first=false;
}
else
{
Console.Write(",");
}
Console.Write(arg);
}
}
}
}

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.24720" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.24720</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>6f2e6f25-b43b-495d-9ca5-7f207d1dd604</ProjectGuid>
<RootNamespace>Microsoft.DotNet.Tests.ArgumentForwarding</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

View file

@ -0,0 +1,18 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"NETStandard.Library" : "1.0.0-rc2-23811"
},
"frameworks": {
"dnxcore50": {
"imports": "portable-net45+win8"
}
},
"content": ["reflector_cmd.cmd"]
}

View file

@ -0,0 +1,19 @@
@echo off
set ALL_ARGS=
set a=%1
if not defined a goto :doneSetArgs
set ALL_ARGS=%~1%
shift
:setArgs
set a=%1
if not defined a goto :doneSetArgs
set ALL_ARGS=%ALL_ARGS%,%~1%
shift
goto setArgs
:doneSetArgs
echo %ALL_ARGS%
goto :EOF