Skip to content

Commit

Permalink
TestRunner: for parallel testing, add an onscreen hint reminding user…
Browse files Browse the repository at this point in the history
… to check both private and public options when asked to allow network access for clients. No functional change.
  • Loading branch information
bspratt committed Nov 21, 2022
1 parent 61a9758 commit a56bd28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pwiz_tools/Skyline/TestRunner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -897,12 +897,13 @@ private static bool PushToTestQueue(List<TestInfo> testList, List<TestInfo> unfi
}
}, TaskCreationOptions.LongRunning));

Console.WriteLine("Running {0}{1} tests{2}{3} in parallel with {4} workers...\r\n",
Console.WriteLine("Running {0}{1} tests{2}{3} in parallel with {4} workers...",
testList.Count,
testList.Count < unfilteredTestList.Count ? "/" + unfilteredTestList.Count : "",
(loop <= 0) ? " forever" : (loop == 1) ? "" : " in " + loop + " loops",
"", /*(repeat <= 1) ? "" : ", repeated " + repeat + " times each per language",*/
workerCount);
Console.WriteLine("(If prompted to \"Allow TestRunner to communicate on these networks\", be sure to check BOTH public and private options.)\r\n");

// main thread listens for workers to connect
while (!cts.IsCancellationRequested)
Expand Down

0 comments on commit a56bd28

Please sign in to comment.