Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
Ted Mielczarek 466bb937bf bug 1517806 - make mozdebug's Visual Studio detection with vswhere more useful. r=ahal,froydnj
mozdebug has code to locate Visual Studio using vswhere.exe, but it only
works if vswhere is in PATH. We have a copy vendored in the source tree,
so this change adds support for using that binary when available. Additionally
the code parsing the output of vswhere appeared to be using a key that
does not exist in the JSON output, so this change fixes that to match the
documentation: https://github.com/Microsoft/vswhere/wiki#examples .

Differential Revision: https://phabricator.services.mozilla.com/D16542

--HG--
extra : moz-landing-system : lando
2019-04-01 14:22:56 +00:00
Kartikaya Gupta c16409b618 Bug 1510031 - Add rust-gdb to the list of debuggers. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D13758

--HG--
extra : moz-landing-system : lando
2018-12-06 18:48:06 +00:00
Andrew Halberstadt ce87b08ac4 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

Differential Revision: https://phabricator.services.mozilla.com/D10759

--HG--
extra : moz-landing-system : lando
2018-12-05 19:20:16 +00:00
Andreea Pavel e3299fd2db Backed out 5 changesets (bug 1498640, bug 1436037, bug 1497660, bug 1505579) for mass failures on a CLOSED TREE
Backed out changeset 914a7a899dd1 (bug 1436037)
Backed out changeset e072757bf691 (bug 1436037)
Backed out changeset b0805a8cf6eb (bug 1505579)
Backed out changeset aa32ba9e6df3 (bug 1498640)
Backed out changeset ce441b8a784c (bug 1497660)
2018-11-15 07:53:41 +02:00
Andrew Halberstadt b03e2aa337 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

MozReview-Commit-ID: C07FANaYzf7

Depends on D10758

Differential Revision: https://phabricator.services.mozilla.com/D10759

--HG--
extra : moz-landing-system : lando
2018-11-15 00:49:45 +00:00
Arshad Kazmi 22b28be272 Bug 1428707 - Move testing/mozbase/mozdebug/mozdebug/setup.cfg to testing/mozbase/mozdebug/setup.cfg r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9987

--HG--
extra : moz-landing-system : lando
2018-11-02 17:56:57 +00:00
Arshad Kazmi ef37b99296 Bug 1428707 - Validated python3 support, updated package version r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9565

--HG--
extra : moz-landing-system : lando
2018-10-24 11:04:58 +00:00
James Graham 04f21f657a Bug 1494963 - Expose mozdebug's DebuggerInfo type r=ahal
Otherwise it doesn't work with multiprocessing, which breaks debugging wpt on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D7173

--HG--
extra : moz-landing-system : lando
2018-09-28 15:55:18 +00:00
Xidorn Quan 044a4b8c2c Bug 1489017 - Locate devenv.exe via vswhere on Windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5117

--HG--
extra : moz-landing-system : lando
2018-09-07 14:59:55 +00:00
Tom Ritter 0f2235111d Bug 1469933 When using ./mach run --debugger=windbg, use the x64 version of WinDBG r=ted
Summary: Bug 1469933 When using ./mach run --debugger=windbg, use the x64 version of WinDBG r?ted

Reviewers: ted

Reviewed By: ted

Bug #: 1469933

Differential Revision: https://phabricator.services.mozilla.com/D1730

--HG--
extra : amend_source : 67de4dae3a129df77976da82005acb47ad64b5ed
2018-06-27 16:16:57 +03:00
Dave Hunt 696d9f1858 Bug 1388016 - Run mozbase tests against Python 2 and 3; r=ahal
MozReview-Commit-ID: LdmTHHrLZwq

--HG--
extra : rebase_source : e7f21bb73ffc1a322a10eef21b705b14a2077144
2018-06-21 06:26:17 +01:00
Andrew Halberstadt f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
Tom Prince a45ea20b93 Bug 1413575: Adjust in-tree references to mozbase documentation to point in-tree. r=ahal
MozReview-Commit-ID: rctbByyjTA

--HG--
extra : rebase_source : a682eb6d77b79640ac9ec20e9d64340613bcfed7
2017-11-20 11:43:13 -07:00
Andrew Halberstadt ddfe7fc78a Bug 1412012 - [mozdebug] Add a basic test for get_default_debugger_name, r=jmaher
MozReview-Commit-ID: CwkXKJWd55M

--HG--
extra : rebase_source : e933232fff154d933953f238da14318d7ed2d0fe
2017-10-26 10:14:33 -04:00
Andrew Halberstadt 9305f47839 Bug 1411776 - [mozdebug] Fix 'module has no attribute' error when using --debugger, r=jmaher
This fixes a regression from bug 1397849.

MozReview-Commit-ID: 4JrnkYVwTo

--HG--
extra : rebase_source : 70d37791a35fd2f6877ad1556ca9cd92804f52e0
2017-10-26 10:13:53 -04:00
Steve Armand fa0b6e7c7e Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Ganti Sai Sarath Chandra 6ed789d12b Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal
MozReview-Commit-ID: DRi8KFyCnBn

--HG--
extra : rebase_source : 3ac98bdc648f8a0e3dc6d3b6d42e19dfc295a396
2017-08-19 04:19:06 +05:30
Julian Seward 9c349f1195 Bug 1248365 - Make Valgrind Mochitests run greener on Taskcluster. r=n.nethercote.
--HG--
extra : rebase_source : d1c3a1fb594e73cb5978e81636a9b3ed3dd341aa
2016-11-28 15:46:43 +01:00
Francesco Pischedda f45ed99748 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Eric Rahm 75eb6669f0 Bug 1282184 - Use lldb from Xcode install rather than system install if possible. r=ted
This works around issues with System Integrity Protection kicking in on OSX when
trying to run /usr/bin/lldb by attempting to using the version installed with
XCode's command line utilities.

In particular SIP prevents us from setting DYLD_LIBRARY_PATH which is needed
to run DMD.
2016-06-28 11:50:16 -07:00
James Willcox 502a4ed174 Bug 1264154 - Fix Fennec debugging on Mac r=ted 2016-04-29 10:56:20 -05:00
Jeff Walden 91ee6d2f97 Bug 1255228 - ./mach mochitest --debugger=DEBUGGER should interpret DEBUGGER as a path, if interpretation as a PATH-based executable name doesn't work. r=ted
--HG--
extra : rebase_source : 4f9d8a583b839ffd2945d08c050e9b83d1a8129d
2016-03-10 14:55:34 -08:00
Julian Seward 9c5cac6016 Bug 1245566 - Enable taskcluster scheduling for valgrind-mochitest runs: mochitest_valgrind_mods. r=jgraham. 2016-02-18 11:34:40 +01:00
Nathan Froyd 2af2f8f5f5 Bug 1236983 - add windbg smarts to mozdebug; r=jmaher,aklotz 2016-01-05 12:47:39 -05:00
Geoff Brown 446af250a7 Bug 1219807 - Support 'mach run --debug' for Android; r=jmaher 2015-11-19 13:15:34 -07:00
Julian Seward 0ce48c0f5e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-28 12:01:42 +02:00
Wes Kocher d4897fa1ef Backed out changeset feceb41f1c3c (bug 1185244) for breaking running tests locally CLOSED TREE a=backout 2015-09-22 17:08:37 -07:00
Julian Seward b3bc139b1e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-22 12:00:57 +02:00
Tom Tromey d09e9bb441 Bug 1075072 - Pass debuggerArgs as a string to get_debugger_info. r=ted 2014-10-24 09:40:00 -04:00
Steve Fink 271f77de85 Backed out changeset b43ed5b85b1a (bug 1075072) because it broke other workflows.
DONTBUILD because NPOTB
2014-10-13 09:38:17 -07:00
Steve Fink 20c51900f1 Bug 1075072 - debuggerArgs is a list not str, r=gps 2014-09-30 11:30:52 -07:00
Alessio Placitelli c4826f34f0 Bug 1067037 - Split debugger arguments passed through --debugger-args. r=ted 2014-09-23 08:11:00 -04:00
Alessio Placitelli a3d6dd49d1 Bug 1067037 - Fixes the usage of passed debugger arguments in mozdebug. r=ted 2014-09-18 07:14:42 -04:00
Alessio Placitelli e1fff09053 Bug 928397 - Add mozdebug package to mozbase. r=ted.mielczarek 2014-07-02 13:51:00 +02:00