Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eedbae5 commit 73f39bcCopy full SHA for 73f39bc
src/domain_tests/TestRunner.cs
@@ -995,12 +995,14 @@ public static int Main(string[] args)
995
996
static void SetupTestFolder(string testCaseName)
997
{
998
- TestPath = Path.Combine(Path.GetTempPath(), $"Python.TestRunner.{testCaseName}");
+ var pid = System.Diagnostics.Process.GetCurrentProcess().Id;
999
+ TestPath = Path.Combine(Path.GetTempPath(), $"Python.TestRunner.{testCaseName}-{pid}");
1000
if (Directory.Exists(TestPath))
1001
1002
Directory.Delete(TestPath, recursive: true);
1003
}
1004
Directory.CreateDirectory(TestPath);
1005
+ Console.WriteLine($"Using directory: {TestPath}");
1006
File.Copy(PythonDllLocation, Path.Combine(TestPath, "Python.Runtime.dll"));
1007
1008
0 commit comments