Skip to content

Commit 7e82241

Browse files
committed
skip summary report flag
1 parent d0ca048 commit 7e82241

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

scripts/matrix_testing/CreateMatrixTestReport.ps1

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ param(
123123
[string]
124124
$ReportDir = (Get-Location),
125125

126+
# Skip summary report -- used for Linux hosts that don't support
127+
# the OLE database stuff.
128+
[Parameter(Mandatory = $false)]
129+
[switch]
130+
$SkipSummaryReport,
131+
126132
# Tells the script to use the sytem tmp directory instead of the rule
127133
# directory.
128134
[Parameter(Mandatory = $false)]
@@ -245,6 +251,7 @@ else {
245251
Write-Host "Loaded $($queriesToCheck.Count) Queries."
246252
}
247253

254+
248255
#
249256
# Step 2: Verify All the Required CLI Tools are Installed
250257
#
@@ -420,6 +427,8 @@ foreach ($r in $REPORT) {
420427
[PSCustomObject]$r | Export-CSV -Path $reportOutputFile -Append -NoTypeInformation
421428
}
422429

423-
# write out a summary
424-
Write-Host "Writing summary report to $summaryReportOutputFile"
425-
Create-Summary-Report -DataFile $reportOutputFile -OutputFile $summaryReportOutputFile
430+
if (-not $SkipSummaryReport){
431+
# write out a summary
432+
Write-Host "Writing summary report to $summaryReportOutputFile"
433+
Create-Summary-Report -DataFile $reportOutputFile -OutputFile $summaryReportOutputFile
434+
}

0 commit comments

Comments
 (0)