Skip to content

Commit 9a452db

Browse files
committed
Support '$FOCUS' env variable on winmake too
Signed-off-by: Mario Loriedo <[email protected]>
1 parent 27fdd7f commit 9a452db

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

winmake.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,15 @@ function Local-Machine {
7878
);
7979
Build-Ginkgo
8080
if ($files) {
81-
$files = " --focus-file $files "
81+
$files = "--focus-file ""$files"""
82+
} elseif ($FOCUS_FILE) {
83+
$files = "--focus-file ""$FOCUS_FILE"" --silence-skips"
84+
}
85+
if ($FOCUS) {
86+
$focus = "--focus ""$FOCUS"" --silence-skips"
8287
}
8388

84-
Run-Command "./bin/ginkgo.exe -vv --tags `"$remotetags`" --timeout=90m --trace --no-color $files pkg/machine/e2e/."
89+
Run-Command "./bin/ginkgo.exe -vv --tags `"$remotetags`" --timeout=90m --trace --no-color $focus $files pkg/machine/e2e/."
8590
}
8691

8792
# Expect starting directory to be /podman

0 commit comments

Comments
 (0)