Skip to content

Commit b50ee56

Browse files
committed
format fixing
1 parent e56e1cc commit b50ee56

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

scripts/matrix_testing/CreateMatrixTestReport.ps1

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -293,23 +293,26 @@ $jobRows = $queriesToCheck | ForEach-Object -ThrottleLimit $NumThreads -Parallel
293293
$CurrentQueryName = $q.short_name
294294
$CurrentPackageName = $q.__memberof_package
295295

296-
# for the report
297-
$row = @{
298-
"SUITE" = $CurrentSuiteName;
299-
"PACKAGE" = $CurrentPackageName;
300-
"RULE" = $CurrentRuleName;
301-
"QUERY" = $CurrentQueryName;
302-
"COMPILE_PASS" = $false;
303-
"COMPILE_ERROR_OUTPUT" = "";
304-
"TEST_PASS" = $false ;
305-
"TEST_DIFFERENCE" = "";
306-
}
307296

308297
# all the test directories -- there may be more than one for a given rule
309298
$testDirs = (Get-ATestDirectory -RuleObject $q -Language $using:Language)
310299

311300
foreach($testDirectory in $testDirs){
312301

302+
# for the report
303+
$row = @{
304+
"SUITE" = $CurrentSuiteName;
305+
"PACKAGE" = $CurrentPackageName;
306+
"RULE" = $CurrentRuleName;
307+
"QUERY" = $CurrentQueryName;
308+
"COMPILE_PASS" = $false;
309+
"COMPILE_ERROR_OUTPUT" = "";
310+
"TEST_PASS" = $false ;
311+
"TEST_DIFFERENCE" = "";
312+
}
313+
314+
315+
313316
Write-Host "====================[Rule=$CurrentRuleName,Suite=$CurrentSuiteName/Query=$CurrentQueryName]===================="
314317

315318

0 commit comments

Comments
 (0)