ReferencePlatforms/Test/Win7: Difference between revisions

Make it more clear how to set up slave-alloc on Win7 slaves
(add note about runslave.py)
(Make it more clear how to set up slave-alloc on Win7 slaves)
Line 17: Line 17:
* Unpack scripts.tar.gz into C:\mozilla-build\python25
* Unpack scripts.tar.gz into C:\mozilla-build\python25
* Copy C:\mozilla-build\python25\Lib\site-packages\pywin32_system32\*.dll to C:\windows\system32
* Copy C:\mozilla-build\python25\Lib\site-packages\pywin32_system32\*.dll to C:\windows\system32
* install runslave.py from http://hg.mozilla.org/build/puppet-manifests/file/tip/modules/buildslave/files/ in C:\
 
== Deploy slave-alloc ==
* {{bug|629692}} - slave-side slave-alloc support for w7/32
* Install [http://hg.mozilla.org/build/puppet-manifests/raw-file/tip/modules/buildslave/files/runslave.py runslave.py] in C:\
** You will need to do this with administrator privs.  The only way to get these privs is to right-click "Command Prompt" on the start menu, and select "Run as Administrator".  Then use 'wget' to download the file.
** You will need to do this with administrator privs.  The only way to get these privs is to right-click "Command Prompt" on the start menu, and select "Run as Administrator".  Then use 'wget' to download the file.
* install the appropriate startTalos.bat from http://hg.mozilla.org/build/puppet-manifests/file/tip/modules/buildslave/files/
<pre>
REMEMBER: "Run as Administrator"
wget -O c:\runslave.py http://hg.mozilla.org/build/puppet-manifests/raw-file/tip/modules/buildslave/files/runslave.py
dir C:\runslave.py
</pre>
* Install [http://hg.mozilla.org/build/puppet-manifests/raw-file/default/modules/buildslave/files/startTalos-w7.bat startTalos.bat] with:
<pre>
wget -O "c:\Users\cltbld\Desktop\startTalos2.bat" http://hg.mozilla.org/build/puppet-manifests/raw-file/default/modules/buildslave/files/startTalos-w7.bat
</pre>
 
* set startTalos.bat to start on run
* set startTalos.bat to start on run
** see https://bugzilla.mozilla.org/show_bug.cgi?id=430832#c1 although details are vague
** see https://bugzilla.mozilla.org/show_bug.cgi?id=430832#c1 although details are vague
Line 28: Line 40:
*** Conditions: stop if idle ceases, start only on AC power, stop on switch to battery
*** Conditions: stop if idle ceases, start only on AC power, stop on switch to battery
*** Settings: Allow to run on demand, stop if running for more than 3 days, force stop if it does not stop when requested
*** Settings: Allow to run on demand, stop if running for more than 3 days, force stop if it does not stop when requested


= ANGLE libraries =
= ANGLE libraries =
Confirmed users
3,990

edits