Skip to content

Commit 96d3d29

Browse files
committed
[temp]
1 parent 509dfab commit 96d3d29

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/ExampleTester/ExampleTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ public static IEnumerable<object[]> LoadExamples() =>
1313
from example in GeneratedExample.LoadAllExamples(TesterConfiguration.ExtractedOutputDirectory)
1414
select new object[] { example };
1515

16+
public static void Temp()
17+
{
18+
Console.WriteLine("Found: " + FindTmpDirectory());
19+
}
20+
1621
[TestCaseSource(nameof(LoadExamples))]
1722
public static async Task ExamplePasses(GeneratedExample example)
1823
{
@@ -26,6 +31,8 @@ private static string FindTmpDirectory()
2631
{
2732
for (string? current = AppDomain.CurrentDomain.BaseDirectory; current != null; current = Path.GetDirectoryName(current))
2833
{
34+
Console.WriteLine($"Trying directory '{current}' containing {string.Join(", ", Directory.GetFileSystemEntries(current).Select(Path.GetFileName))}");
35+
2936
string testPath = Path.Join(current, "tmp");
3037
if (Directory.Exists(testPath))
3138
return testPath;

0 commit comments

Comments
 (0)