Infer test packages path in tests if TEST_PACKAGES environment variable isn't set
This commit is contained in:
parent
42e45e13a7
commit
a9742686ed
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
||||||
_testPackages = Environment.GetEnvironmentVariable("TEST_PACKAGES");
|
_testPackages = Environment.GetEnvironmentVariable("TEST_PACKAGES");
|
||||||
if (string.IsNullOrEmpty(_testPackages))
|
if (string.IsNullOrEmpty(_testPackages))
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException("TEST_PACKAGES environment variable not set");
|
_testPackages = Path.Combine(_artifacts, "test", "packages");
|
||||||
}
|
}
|
||||||
|
|
||||||
_testWorkingFolder = Path.Combine(RepoRoot,
|
_testWorkingFolder = Path.Combine(RepoRoot,
|
||||||
|
|
Loading…
Add table
Reference in a new issue