Skip to content

Commit 1cb575b

Browse files
AArnottCopilot
andauthored
Fix TUnit filter argument forwarding (#597)
Pass the tree-node filter as a single option argument for managed and NativeAOT test runs to avoid platform-specific argument parsing failures. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2 parents a5ca86a + f9e70d0 commit 1cb575b

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎tools/dotnet-test-cloud.ps1‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ if ($isMTP) {
7575
,'--crash-report-if-supported'
7676
)
7777
$mtpArgs = @(
78-
,'--treenode-filter'
79-
,'/*/*/*/*[TestCategory!=FailsInCloudTest]'
78+
,'--treenode-filter=/*/*/*/*[TestCategory!=FailsInCloudTest]'
8079
,'--diagnostic'
8180
,'--diagnostic-output-directory',$testLogs
8281
,'--diagnostic-verbosity','Information'
@@ -119,8 +118,7 @@ if ($isMTP) {
119118
}
120119

121120
$nativeAotArgs = @(
122-
,'--treenode-filter'
123-
,'/*/*/*/*[TestCategory!=FailsInCloudTest]'
121+
,'--treenode-filter=/*/*/*/*[TestCategory!=FailsInCloudTest]'
124122
,'--diagnostic'
125123
,'--diagnostic-output-directory',$testLogs
126124
,'--diagnostic-verbosity','Information'

0 commit comments

Comments
 (0)