File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ public static IEnumerable<object[]> LoadExamples() =>
13
13
from example in GeneratedExample . LoadAllExamples ( TesterConfiguration . ExtractedOutputDirectory )
14
14
select new object [ ] { example } ;
15
15
16
+ public static void Temp ( )
17
+ {
18
+ Console . WriteLine ( "Found: " + FindTmpDirectory ( ) ) ;
19
+ }
20
+
16
21
[ TestCaseSource ( nameof ( LoadExamples ) ) ]
17
22
public static async Task ExamplePasses ( GeneratedExample example )
18
23
{
@@ -26,6 +31,8 @@ private static string FindTmpDirectory()
26
31
{
27
32
for ( string ? current = AppDomain . CurrentDomain . BaseDirectory ; current != null ; current = Path . GetDirectoryName ( current ) )
28
33
{
34
+ Console . WriteLine ( $ "Trying directory '{ current } ' containing { string . Join ( ", " , Directory . GetFileSystemEntries ( current ) . Select ( Path . GetFileName ) ) } ") ;
35
+
29
36
string testPath = Path . Join ( current , "tmp" ) ;
30
37
if ( Directory . Exists ( testPath ) )
31
38
return testPath ;
You can’t perform that action at this time.
0 commit comments