Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73f39bc

Browse files
committed
Add the PID of the test runner
To the test folder name
1 parenteedbae5 commit73f39bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/domain_tests/TestRunner.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,12 +995,14 @@ public static int Main(string[] args)
995995

996996
staticvoidSetupTestFolder(stringtestCaseName)
997997
{
998-
TestPath=Path.Combine(Path.GetTempPath(),$"Python.TestRunner.{testCaseName}");
998+
varpid=System.Diagnostics.Process.GetCurrentProcess().Id;
999+
TestPath=Path.Combine(Path.GetTempPath(),$"Python.TestRunner.{testCaseName}-{pid}");
9991000
if(Directory.Exists(TestPath))
10001001
{
10011002
Directory.Delete(TestPath,recursive:true);
10021003
}
10031004
Directory.CreateDirectory(TestPath);
1005+
Console.WriteLine($"Using directory:{TestPath}");
10041006
File.Copy(PythonDllLocation,Path.Combine(TestPath,"Python.Runtime.dll"));
10051007
}
10061008

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp