Fixing test helpers
The command to execute tests have changed to dnx . test. As a result the path to dnx.exe cannot be retrieved from Environment.CommandLineArgs(). Changing the way to obtain path to dnx.exe.
This commit is contained in:
parent
c1a386dc45
commit
4ccf7b090b
|
|
@ -260,7 +260,7 @@ namespace E2ETests
|
|||
|
||||
private static string SwitchPathToRuntimeFlavor(RuntimeFlavor runtimeFlavor, RuntimeArchitecture runtimeArchitecture, ILogger logger)
|
||||
{
|
||||
var runtimePath = Environment.GetCommandLineArgs().First();
|
||||
var runtimePath = Process.GetCurrentProcess().MainModule.FileName;
|
||||
logger.LogInformation(string.Empty);
|
||||
logger.LogInformation("Current runtime path is : {0}", runtimePath);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue