Use full path for test runner

This commit is contained in:
Victor Hurdugaci 2015-12-18 09:54:00 -08:00
parent ae85d226be
commit 0ce70ddb1c
1 changed files with 4 additions and 2 deletions

View File

@ -43,10 +43,12 @@ projectFile=''
{
var publishFolder = Path.Combine(projectFolder, ".testPublish", framework);
DotnetPublish(projectFile, publishFolder, framework);
Copy(runnerFolder, publishFolder, "*.exe", true);
Copy(runnerFolder, publishFolder, "*.*", true);
var targetTestDll = projectName + ".dll";
ExecClr("xunit.console.exe", targetTestDll, publishFolder);
var runnerExe = Path.Combine(runnerFolder, "xunit.console.exe");
ExecClr(runnerExe, targetTestDll, publishFolder);
}
}
}