Fixes an issue where multiple projects would try to build the test libraries simultaneously.
This commit is contained in:
Родитель
ba99072326
Коммит
7d92085edd
|
@ -894,6 +894,7 @@ namespace xharness
|
|||
populating = false;
|
||||
}).Wait ();
|
||||
GenerateReport ();
|
||||
BuildTestLibraries ();
|
||||
if (!IsServerMode) {
|
||||
foreach (var task in Tasks)
|
||||
tasks.Add (task.RunAsync ());
|
||||
|
@ -912,6 +913,11 @@ namespace xharness
|
|||
get { return Harness.JenkinsConfiguration == "server"; }
|
||||
}
|
||||
|
||||
void BuildTestLibraries ()
|
||||
{
|
||||
ProcessHelper.ExecuteCommandAsync ("make", $"all -j{Environment.ProcessorCount} -C {StringUtils.Quote (Path.Combine (Harness.RootDirectory, "test-libraries"))}", MainLog, TimeSpan.FromMinutes (1)).Wait ();
|
||||
}
|
||||
|
||||
Task RunTestServer ()
|
||||
{
|
||||
var server = new HttpListener ();
|
||||
|
|
Загрузка…
Ссылка в новой задаче