function Get-Help() {
Write-Host "Common settings:"
Write-Host " -subset Build a subset, print availabe subsets with -subset help"
+ Write-Host " -subsetCategory Build a subsetCategory, print availabe subsetCategories with -subset help"
Write-Host " -os Build operating system: Windows_NT or Unix"
Write-Host " -arch Build platform: x86, x64, arm or arm64"
Write-Host " -configuration <value> Build configuration: Debug or Release (short: -c)"
exit 0
}
+$subsetCategory = $subsetCategory.ToLowerInvariant()
+
# VS Test Explorer support for libraries
if ($vs) {
if (-Not (Test-Path $vs)) {
{
echo "Common settings:"
echo " --subset Build a subset, print availabe subsets with -subset help"
+ echo " --subsetCategory Build a subsetCategory, print availabe subsetCategories with -subset help"
echo " --os Build operating system: Windows_NT or Unix"
echo " --arch Build platform: x86, x64, arm or arm64"
echo " --configuration <value> Build configuration: Debug or Release (short: -c)"
exit 0
;;
-subsetcategory)
- subsetCategory=$2
- arguments="$arguments /p:SubsetCategory=$2"
+ subsetCategory="$(echo "$2" | awk '{print tolower($0)}')"
+ arguments="$arguments /p:SubsetCategory=$subsetCategory"
shift 2
;;
-subset)