Commit Graph

137 Commits

Author SHA1 Message Date
Andrew Halberstadt
a757814e36 Bug 1296067 - Add mach test package integration for marionette-test, r=armenzg
This makes it possible to run |mach marionette-test| from a test package (and therefore
also an interactive loaner).

MozReview-Commit-ID: Lxhe8KMQaWq

--HG--
extra : rebase_source : ee2c01a80d863c2044d8d30b0e5116c8a9704253
2016-08-17 12:04:37 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Andrew Halberstadt
da291f0301 Bug 1278890 - Add reftest support to test package mach environment, r=armenzg
This adds reftest support to the test package mach environment. It will allow
developers to easily run reftests after checking out an interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 84b4a9fff7f2f27a325ffad4af1de7726bad296e
2016-07-13 10:57:22 -04:00
Andrew Halberstadt
d3c5539c81 Bug 1278890 - Add xpcshell support to test package mach environment, r=armenzg
This adds the 'xpcshell-test' command to the mach environment found in the test
package. This will allow developers to easily run xpcshell after checking out
and interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 71077c9142f33843ed87d4bc4617a780f775939b
2016-07-13 10:55:37 -04:00
Andrew Halberstadt
57cb071e1b Bug 1278890 - Add a method for normalizing test paths to the test package mach environment, r=armenzg
The test path structure is slightly different in the test package compared to a srcdir. So we may need
to normalize the specified paths such that they are relative to a srcdir. Because every test harness
needs to do this, this method is being added to the bootstrap for re-use.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : b4cedaecfeab777971c9840e932c0aa2bff88240
2016-07-13 10:49:42 -04:00
Andrew Halberstadt
a286d3bf33 Bug 1278890 - Search for a firefox binary in the test package mach bootstrap, r=armenzg
When running test harnesses from the test package, the firefox binary will live somewhere
outside of the mach context. There are two common situations where a developer might be
running from a test package:
1) From a mozharness context
2) From an objdir context

This patch will attempt to detect either of those situations and automagically find the
firefox binary.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 53c87a83bacf6b90a5849559f5616b7a45970627
2016-07-13 10:50:13 -04:00
Chris Manchester
6167f8d527 Bug 1281937 - Provide a more helpful error message when ./mach try fails to push to try. r=jdm
MozReview-Commit-ID: G17BmFo1fTA
2016-06-29 13:12:18 -07:00
Chris Manchester
26a0b6c6cd Backed out changeset c407d7f3ba96 (bug 1258451) for causing issues for users of ./mach try
MozReview-Commit-ID: EJZKxaRnQxe
2016-06-29 13:12:18 -07:00
Chris Manchester
4814ca9f66 Backed out changeset b34ff89e8bba (bug 1258451)
MozReview-Commit-ID: 1E3tic7Zso9
2016-06-29 13:12:17 -07:00
Chris Manchester
a035970fe6 Backed out changeset efec1285a2a1 (bug 1281570) as part of the backout of bug 1258451
MozReview-Commit-ID: KaUcqC4Es6Z
2016-06-29 13:12:17 -07:00
Phil Ringnalda
98d7a9d9c5 Merge m-i to m-c, a=merge 2016-06-25 16:23:43 -07:00
Jared Wein
568b6e3746 Bug 1281570 - Provide recommendations to fix typos when using 'mach try'. r=chmanchester
MozReview-Commit-ID: HIx5QevA3Iy
2016-06-24 21:36:39 -04:00
Jared Wein
e983d3aa29 Bug 1258451 - Add a whitelist to 'mach try' for platforms, unittest suites, and talos suites. r=chmanchester
MozReview-Commit-ID: 6Hh7xGoulsC

--HG--
extra : rebase_source : 4c61f36360948374544016edf46dffa63d1323a1
2016-06-22 11:19:00 -04:00
Chris Manchester
359319b18b Bug 1258451 - Fixup to make -p all an acceptable platform selection in mach try. r=me
MozReview-Commit-ID: 2dXP3sPcJgX
2016-06-24 11:07:58 -07:00
Andrew Halberstadt
a8e509a525 Bug 1278900 - Fix up the test package mach bootstrap script, r=armenzg
This is a bit of a hodge podge of small fixes that I needed to run |mach mochitest|
on an interactive worker. Included:

1) Add some packages to SEARCH_PATHS that mochitest needs
2) Always add SEARCH_PATHS even if mach package is found
3) Don't try to register commands that don't exist (i.e it was in an unused test zip)

MozReview-Commit-ID: BIXcCm4LzE2

--HG--
extra : rebase_source : 6ab5ba4e941fd26a4c126a42c2df468d0251730c
2016-06-08 10:41:13 -04:00
Byron Campen [:bwc]
ba155973d6 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 7f1d48ce6b6d042c01efa68cf84a3afd4f43384c
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc]
e1f116b2c7 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 340531e580f5035be044807def4927fbd138d0ed
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00
Byron Campen [:bwc]
a74abced8d Bug 1231981 - Part 1: Very basic test TURN server for running in CI. r=ahal,drno
MozReview-Commit-ID: 96vhyPCs99p

--HG--
extra : rebase_source : 12fa3a2f79c3ff8d9d0d438f96e78fea3b51c785
extra : source : ce0070f40160de58b31944d0c0fd971476726dae
2016-04-26 09:29:03 -05:00
Wes Kocher
20598f44f6 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN

--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Byron Campen [:bwc]
d7586bf7c1 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 52c5cf00cca6acab4bfa1a7de927c322f9539ace
extra : source : 9060aea1dd3a91974484ef00fe3d2831ea22a985
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc]
91dc57493a Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 38fe539b1f2ec1e6dc15e9630c37a6dec590f6c2
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00
Byron Campen [:bwc]
b9a7bae98c Bug 1231981 - Part 1: Very basic test TURN server for running in CI. r=ahal,drno
MozReview-Commit-ID: 96vhyPCs99p

--HG--
extra : rebase_source : a0c499c2d8165d0b41cee8af11dcbe3f57229941
extra : source : ce0070f40160de58b31944d0c0fd971476726dae
2016-04-26 09:29:03 -05:00
Carsten "Tomcat" Book
d762cab321 Backed out changeset a244bcd9911b (bug 1231981) for mass bustage with Timed out while waiting for websocket/process bridge startup on a CLOSED TREE 2016-04-25 16:29:13 +02:00
Carsten "Tomcat" Book
1fe3914869 Backed out changeset de3f062c9a99 (bug 1231981) 2016-04-25 16:28:55 +02:00
Carsten "Tomcat" Book
a41ff18ffd Backed out changeset 507145be7f82 (bug 1231981) 2016-04-25 16:28:52 +02:00
Byron Campen [:bwc]
c51311eeca Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : f028c9f67f6e3ed9ef9aff7d5deffbb2f44d1331
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc]
008efedd31 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : f1404f32ab81d378b695a66bbdc6c184af20f9b0
2016-03-15 17:02:00 -05:00
Byron Campen [:bwc]
7f5a166b2a Bug 1231981 - Part 1: Very basic test TURN server for running in CI. r=drno, r=ahal
MozReview-Commit-ID: 96vhyPCs99p

--HG--
extra : rebase_source : 1b0901e9d2a374a99ec51c30b7315f221a7a7e27
extra : source : ce0070f40160de58b31944d0c0fd971476726dae
2016-02-24 14:40:25 -06:00
Geoff Brown
a417b8b2a7 Bug 1259684 - Allow more options in 'mach try'; r=chmanchester 2016-03-31 20:35:53 -06:00
Chris Manchester
e006454001 Bug 1258525 - Fix mach try chunk selection for selecting a directory of devtools. r=ahal
MozReview-Commit-ID: IpYFWlbnACH

--HG--
extra : rebase_source : 05b5fed8250d819024c8cfbc68e66940999c967b
2016-03-21 15:34:00 -07:00
Mike Hommey
0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Jacek Caban
a7fe14a95a Bug 1216681 - Cross compilation fixup. 2016-02-15 16:44:39 +01:00
Chris Manchester
7c92933074 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.

MozReview-Commit-ID: 8zkfLWjKVs2
2015-10-29 13:25:03 -07:00
Phil Ringnalda
d7b348b2df Back out ff446e81eaf5 (bug 1216681) for Linux PGO bustage
CLOSED TREE
2016-02-11 20:27:36 -08:00
Chris Manchester
89842ddcd7 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.

--HG--
extra : commitid : GwkhBdm81g3
2015-10-29 13:25:03 -07:00
Carsten "Tomcat" Book
6244cfb10e Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès
cb348f4346 Bug 1230862 - Remove mozhttpd. r=wlach
--HG--
extra : commitid : HRDp24nhYo8
extra : rebase_source : 76443fa9938e488fcd06af7ba0676d491c9da36e
2016-02-09 03:26:43 +01:00
Chris Manchester
a2f2f2792b Bug 1236382 - Add commonly used arguments to mach try, remove the extra arguments functionality. r=jgraham
Using nargs='*' in conjunction with nargs=REMAINDER creates an ambiguity when
the argument using nargs='*' is optional, it is not specified, and the user
intends their arguments to be interpreted as "extra" arguments. This commit
removes the nargs=REMAINDER argument for mach_try, and implements its most
common users from trychooser as a set of regular arguments to echo to
generated try syntax.

MozReview-Commit-ID: FOuDZxUfHu9
2016-01-04 14:07:11 -08:00
Ted Mielczarek
ea6f9a1958 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Jacek Caban
f5a9dd2cb0 Bug 1244770 - Fixed minidumpwriter compilation on mingw. r=ted 2016-02-02 15:28:59 +01:00
Chris Manchester
4c18bc2045 Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. r=ted
--HG--
extra : commitid : K6BGWSIH6Nk
2015-08-18 17:04:45 -07:00
Nathan Froyd
b1bbf96de9 Backout 24dbe7da7370:a319694b46d5 (bug 1069556) for build bustage on various platforms on a CLOSED TREE
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
2016-01-29 11:55:43 -05:00
Ted Mielczarek
478ab040e0 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : HeAH4kH17B1
extra : rebase_source : c9942aaca1d4e9555ecd44a23d7020a8a7ba1d77
extra : source : 31c98f5e107b9271be88e7c8543c4dbb4a2b6526
2016-01-27 09:39:53 -05:00
Carsten "Tomcat" Book
db55b0fa77 Backed out changeset 31c98f5e107b (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
2016-01-26 14:53:02 +01:00
Ted Mielczarek
bf718146b7 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : GR2H5y5DM7E
extra : rebase_source : 212b8f04703555658e1df026de2211ea20ac390b
2015-11-09 08:14:52 -05:00
Matthew Noorenberghe
15c57dfa41 Bug 1241633 - Make screenshot.exe a GUI application to avoid a console window when run. r=ted
--HG--
extra : commitid : AhoMqIeagXk
extra : rebase_source : dd29dfcf4776078cf329d436e70c93f6236d4b6c
2016-01-21 13:33:37 -08:00
Chris Manchester
58d5a05e65 Bug 1216681 - Add a fileid utility to extract the breakpad GUID from object files for identification in fix_stack_using_bpsyms. r=ted
fix_stack_using_bpsyms.py locates a .sym file based on file name only, not uuid or full path,
which causes a failure if a duplicate leaf file name is introduced. This patch introduces a
small utility program on mac and linux to extract a breakpad guid from a shared library or
executable to identify the correct symbol file when this ambiguity occurs. A subsequent commit
implements this for windows.

--HG--
extra : commitid : 2O7REfHuDus
2015-10-21 16:37:42 -07:00
Chris Manchester
3d18fb1c81 Bug 1230596 - Allow running talos on specific platforms through mach try. r=jgraham
--HG--
extra : commitid : AeckQOMrkDy
2015-12-07 15:13:03 -08:00
Landry Breuil
d3fda7e08c Bug 1220411 - add XLDFLAGS to correctly find X libs when linking screentopng r=glandium 2015-11-05 09:48:37 +01:00
Chris Manchester
d17a7f412b Bug 1219082 - Fix reference to "resolver_func" in mach try. r=jgraham
--HG--
extra : commitid : AddB19SMV0w
2015-10-27 20:54:14 -07:00