Skip to content

Commit d19621b

Browse files
committed
Displaying where this is (supposedly) reading Native DLLs
1 parent d8433e5 commit d19621b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

test/Microsoft.ML.Tests/TrainerEstimators/OneDalEstimators.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,17 @@ public void OneDalFastTreeBinaryEstimator()
8080
}
8181

8282

83-
[Fact]
83+
//[Fact]
84+
//[NativeDependencyFact("MatrixFactorizationNative")]
85+
[NativeDependencyFact("OneDalNative")]
8486
public void TestDependency()
8587
{
88+
var currentDir = AppContext.BaseDirectory;
89+
Output.WriteLine($"**** Running from directory {currentDir}.");
90+
91+
var dllDir = AppContext.GetData("NATIVE_DLL_SEARCH_DIRECTORIES").ToString();
92+
Output.WriteLine($"**** The search dir is {dllDir}.");
93+
8694
DependencyContext defaultContext = DependencyContext.Default;
8795
var currentRid = RuntimeEnvironment.GetRuntimeIdentifier();
8896
Output.WriteLine($"**** the current RID is {currentRid}.");

0 commit comments

Comments
 (0)