Skip to content

Commit

Permalink
Update paths for tests to check subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Sep 5, 2024
1 parent e1aac69 commit 48247d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tasks/TestLinuxTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class TestLinuxTask : FrostingTask<BuildContext>

public override void Run(BuildContext context)
{
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir))
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir, "*", SearchOption.AllDirectories))
{
context.Information($"Checking: {filePath}");
context.StartProcess(
Expand Down
2 changes: 1 addition & 1 deletion Tasks/TestMacOSTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public sealed class TestMacOSTask : FrostingTask<BuildContext>

public override void Run(BuildContext context)
{
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir))
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir, "*", SearchOption.AllDirectories))
{
context.Information($"Checking: {filePath}");
context.StartProcess(
Expand Down
2 changes: 1 addition & 1 deletion Tasks/TestWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public override void Run(BuildContext context)
var vswhere = new VSWhereLatest(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);
var devcmdPath = vswhere.Latest(new VSWhereLatestSettings()).FullPath + @"\Common7\Tools\vsdevcmd.bat";

foreach (var filePath in Directory.GetFiles(context.ArtifactsDir))
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir, "*", SearchOption.AllDirectories))
{
context.Information($"Checking: {filePath}");
context.StartProcess(
Expand Down

0 comments on commit 48247d7

Please sign in to comment.