Skip to content

Commit b48ab64

Browse files
[Win] The number of webkit-patch iterations on EWS should be configurable.
https://bugs.webkit.org/show_bug.cgi?id=178517 Reviewed by Darin Adler. Add a new RESET_AFTER_ITERATION argument to the EWS shell script. * EWSTools/start-queue-win.sh: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@225178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 0511867 commit b48ab64

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

Tools/ChangeLog

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2017-11-27 Per Arne Vollan <[email protected]>
2+
3+
[Win] The number of webkit-patch iterations on EWS should be configurable.
4+
https://bugs.webkit.org/show_bug.cgi?id=178517
5+
6+
Reviewed by Darin Adler.
7+
8+
Add a new RESET_AFTER_ITERATION argument to the EWS shell script.
9+
10+
* EWSTools/start-queue-win.sh:
11+
112
2017-11-27 Per Arne Vollan <[email protected]>
213

314
[Win] Switch to VS2017 on EWS bots.

Tools/EWSTools/start-queue-win.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
#!/bin/sh
2+
3+
if [[ $# -lt 4 ]]; then
4+
echo "Usage: start-queue-win.sh WEBKIT_BUGZILLA_USERNAME WEBKIT_BUGZILLA_PASSWORD BOT_ID RESET_AFTER_ITERATION"
5+
exit 1
6+
fi
7+
28
export WEBKIT_BUGZILLA_USERNAME=$1
39
export WEBKIT_BUGZILLA_PASSWORD=$2
410
export BOT_ID=$3
11+
export RESET_AFTER_ITERATION=$4
512

613
function error_handler()
714
{
@@ -52,7 +59,7 @@ function start_ews()
5259
echo "TASK: test-webkitpy"
5360
~/WebKit/Tools/Scripts/test-webkitpy
5461
echo "TASK: webkit-patch win-ews"
55-
~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration 10
62+
~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration $RESET_AFTER_ITERATION
5663
echo "TASK: reboot"
5764
shutdown /r
5865
}

0 commit comments

Comments
 (0)