зеркало из 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",
|
||||
allowUnsafeBlocks: true,
|
||||
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: [
|
||||
importFrom("BuildXL.Utilities").dll,
|
||||
importFrom("BuildXL.Utilities").Authentication.dll,
|
||||
|
|
|
@ -36,11 +36,5 @@ namespace PackedExecution {
|
|||
importFrom("BuildXL.Utilities").ToolSupport.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)]
|
||||
public void TestAlreadyExists()
|
||||
{
|
||||
var semaphoreName = "/sem";
|
||||
var semaphoreName = "/" + Guid.NewGuid().ToString().Replace("-", "");
|
||||
|
||||
var sem1 = SemaphoreFactory.CreateNew(semaphoreName, 1, 2);
|
||||
Assert.True(sem1.Succeeded);
|
||||
|
|
|
@ -12,12 +12,17 @@ namespace Core {
|
|||
assemblyName: "Test.BuildXL.Utilities",
|
||||
allowUnsafeBlocks: true,
|
||||
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
|
||||
}
|
||||
},
|
||||
runTestArgs: {
|
||||
unsafeTestRunArguments: {
|
||||
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: [
|
||||
importFrom("BuildXL.Cache.ContentStore").Hashing.dll,
|
||||
importFrom("BuildXL.Utilities").dll,
|
||||
|
|
Загрузка…
Ссылка в новой задаче