Javascript:Automation Builds: Difference between revisions

Jump to navigation Jump to search
autospider.sh has been replaced by autospider.py
(→‎SM(tsan): make this a little scarier)
(autospider.sh has been replaced by autospider.py)
 
Line 7: Line 7:
* Run tests, possibly differently depending on the specific build
* Run tests, possibly differently depending on the specific build


All of this is done by running the shell script js/src/devtools/automation/autospider.sh <variant>, where <variant> is one of the filenames in js/src/devtools/automation/variants/.
All of this is done by running the Python script js/src/devtools/automation/autospider.py <variant>, where <variant> is one of the filenames in js/src/devtools/automation/variants/.


= Reproducing a build =
= Reproducing a build =


You should be able to closely replicate a TH build by running autospider.sh yourself. For example, to replicate '''SM(cgc)''', you could be anywhere within your checkout, and run
You should be able to closely replicate a TH build by running autospider.py yourself. For example, to replicate '''SM(cgc)''', you could be anywhere within your checkout, and run


   <gecko-root>/js/src/devtools/automation/autospider.sh --clobber compacting
   <gecko-root>/js/src/devtools/automation/autospider.py --clobber compacting


The default objdir is <gecko-root>/obj-spider. You can change it by setting the $OBJDIR environment variable.
The default objdir is <gecko-root>/obj-spider. You can change it by setting the $OBJDIR environment variable.


To narrow the test down, delete some of the lines at the end of autospider.sh that run the various tests.
To narrow the test down, delete some of the lines at the end of autospider.py that run the various tests.


== Mapping variants to SM(...) names ==
== Mapping variants to SM(...) names ==
Confirmed users
33

edits

Navigation menu