977
edits
Lukasblakk (talk | contribs) |
Lukasblakk (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
try: [dbo] p:[platforms] u:[unittests] t:[talos_suites] | |||
# unittests/talos are OPTIONAL - if not present default is None | # unittests/talos are OPTIONAL - if not present default is None | ||
This covers: | This covers: | ||
* Build Types | * Build Types both(b) || opt(o) || debug(d) | ||
* Platforms all || | * Platforms all || p:{linuxlinux64,osx,osx64,win32,win64,mobile-{qt,android, etc}} | ||
* Unittest Suites all || none || | * Unittest Suites all || none || u:{crashtest,reftest,mochitest{1,2,3,4,5},xpcshell,etc} | ||
* Talos Suites all || none || | * Talos Suites all || none || t:{tp4,tscroll,tspider,etc} | ||
==Order== | ==Order== | ||
Line 30: | Line 30: | ||
<pre> | <pre> | ||
# both opt/debug builds, all platforms, no unittests/talos | # both opt/debug builds, all platforms, no unittests/talos | ||
hg commit -m "bug 432432 testing something | hg commit -m "bug 432432 testing something try:b p:all" | ||
# linux debug build, with all unittests, no talos | # linux debug build, with all unittests, no talos | ||
hg commit -m "bug 432432 testing something | hg commit -m "bug 432432 testing something try:d p:linux u:all" | ||
# all builds, platforms, unittests & talos (both options work): | # all builds, platforms, unittests & talos (both options work): | ||
hg commit -m "bug 432432 testing something | hg commit -m "bug 432432 testing something try:b ut:all" | ||
hg commit -m "bug 432432 testing something | hg commit -m "bug 432432 testing something try:b p:all ut:all" | ||
# opt builds on all platforms with talos tp4 & tscroll (no unittests) | # opt builds on all platforms with talos tp4 & tscroll (no unittests) | ||
hg commit -m "bug 432432 testing something | hg commit -m "bug 432432 testing something try:o t:tp4,tscroll" | ||
</pre> | </pre> | ||
===In a try.info file=== | ===In a try.info file=== | ||
try.info file pushed to $topsrc_dir would look like: | try.info file pushed to $topsrc_dir would look like: | ||
try:b p:all | |||
==Scheduler/Builder Parsing== | ==Scheduler/Builder Parsing== | ||
* split on ' | * split on 'try:' | ||
* then split on ' | * then split on ' ' to grab args | ||
====Required arguments==== | ====Required arguments==== | ||
Line 62: | Line 62: | ||
third split: unittests || (unittest && talos) (if not present default is '''none''') | third split: unittests || (unittest && talos) (if not present default is '''none''') | ||
if third split exists and is only | if third split exists and is only u: grab array after for test names to build schedulers | ||
if third split exists and is | if third split exists and is ut: then they want all of both | ||
fourth split: talos (if not present default is none, without overriding -ut from third split) | fourth split: talos (if not present default is none, without overriding -ut from third split) | ||
if fourth split exists and is | if fourth split exists and is t: grab array after for test names to build schedulers |
edits