зеркало из https://github.com/microsoft/BuildXL.git
Merged PR 765577: Pull Request 765568: Remove the runWithUntrackedDependencies from Test.BuildXL.Utilities dll
Removed the flag runWithUntrackedDependencies from all the corresponding dll's under Utilities.
This commit is contained in:
Родитель
384b078e44
Коммит
5b4bb2ae7a
|
@ -9,12 +9,6 @@ namespace Authentication {
|
||||||
assemblyName: "Test.BuildXL.Utilities.Authentication",
|
assemblyName: "Test.BuildXL.Utilities.Authentication",
|
||||||
allowUnsafeBlocks: true,
|
allowUnsafeBlocks: true,
|
||||||
sources: globR(d`.`, "*.cs"),
|
sources: globR(d`.`, "*.cs"),
|
||||||
runTestArgs: {
|
|
||||||
// These tests require Detours to run itself, so we won't detour the test runner process itself
|
|
||||||
unsafeTestRunArguments: {
|
|
||||||
runWithUntrackedDependencies: true
|
|
||||||
},
|
|
||||||
},
|
|
||||||
references: [
|
references: [
|
||||||
importFrom("BuildXL.Utilities").dll,
|
importFrom("BuildXL.Utilities").dll,
|
||||||
importFrom("BuildXL.Utilities").Authentication.dll,
|
importFrom("BuildXL.Utilities").Authentication.dll,
|
||||||
|
|
|
@ -36,11 +36,5 @@ namespace PackedExecution {
|
||||||
importFrom("BuildXL.Utilities").ToolSupport.dll,
|
importFrom("BuildXL.Utilities").ToolSupport.dll,
|
||||||
importFrom("BuildXL.Utilities").Utilities.Core.dll,
|
importFrom("BuildXL.Utilities").Utilities.Core.dll,
|
||||||
],
|
],
|
||||||
runTestArgs: {
|
|
||||||
unsafeTestRunArguments: {
|
|
||||||
// runs TestProcess with sandboxing
|
|
||||||
runWithUntrackedDependencies: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ namespace Test.BuildXL.Utilities
|
||||||
[FactIfSupported(requiresLinuxBasedOperatingSystem: true)]
|
[FactIfSupported(requiresLinuxBasedOperatingSystem: true)]
|
||||||
public void TestAlreadyExists()
|
public void TestAlreadyExists()
|
||||||
{
|
{
|
||||||
var semaphoreName = "/sem";
|
var semaphoreName = "/" + Guid.NewGuid().ToString().Replace("-", "");
|
||||||
|
|
||||||
var sem1 = SemaphoreFactory.CreateNew(semaphoreName, 1, 2);
|
var sem1 = SemaphoreFactory.CreateNew(semaphoreName, 1, 2);
|
||||||
Assert.True(sem1.Succeeded);
|
Assert.True(sem1.Succeeded);
|
||||||
|
|
|
@ -13,10 +13,15 @@ namespace Core {
|
||||||
allowUnsafeBlocks: true,
|
allowUnsafeBlocks: true,
|
||||||
sources: globR(d`.`, "*.cs"),
|
sources: globR(d`.`, "*.cs"),
|
||||||
runTestArgs: {
|
runTestArgs: {
|
||||||
// These tests require Detours to run itself, so we won't detour the test runner process itself
|
|
||||||
unsafeTestRunArguments: {
|
unsafeTestRunArguments: {
|
||||||
runWithUntrackedDependencies: true
|
untrackedScopes: [
|
||||||
}
|
...addIfLazy(Context.getCurrentHost().os === "win", () => [
|
||||||
|
d`${Context.getMount("ProgramFiles").path}/Git/etc/gitconfig`,
|
||||||
|
d`${Context.getMount("SourceRoot").path}/.git`,
|
||||||
|
]),
|
||||||
|
...addIfLazy(!Context.isWindowsOS(), () => [d`/tmp/.dotnet/shm`])
|
||||||
|
]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
references: [
|
references: [
|
||||||
importFrom("BuildXL.Cache.ContentStore").Hashing.dll,
|
importFrom("BuildXL.Cache.ContentStore").Hashing.dll,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче