Commit Graph
191 Commits
Author SHA1 Message Date
Edwin Gao 3c9ca1283c Bug 1559975 - convert testing/tools/iceserver to python3 syntax r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35339
2019-07-05 14:28:35 +00:00
Henrik Skupin 189ebbf319 Bug 1532919 - [marionette] Remove outdated browsermob-proxy mixin from marionette harness package. r=ato
The development of the package has been moved to:
https://github.com/AutomatedTester/browsermob-proxy-py

The in-tree version is outdated, and no longer developed.

Differential Revision: https://phabricator.services.mozilla.com/D22483
2019-03-07 12:26:43 +00:00
Greg Tatum c2c8d72671 Bug 1525358 - Rename perf.html to profiler.firefox.com; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D18728
2019-02-21 23:16:40 +00:00
Jeff Gilbert 9b5867cbad Bug 1349064 - Wrap std::regex_error for GCC. r=glandium 2019-02-21 11:23:59 -08:00
Masatoshi Kimura 26288e989f Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor 2019-02-17 15:03:02 +09:00
Ehsan Akhgari 498e2df734 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Mike Hommey 3ffca0bf0a Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj
With `ac_add_options --enable-project=tools/crashreporter` in a
mozconfig, `./mach build` builds minidump_stackwalk, dump_syms
and fileid.

One caveat is that due to limitation in how the build system works
currently, it's cumbersome to keep dump_syms as a host program for
Gecko, and to make it a target program for this project. For now,
keep it as a host program. We're not going to use it on automation,
but it's still convenient to have for quick local builds (I've had
to resort to awful hacks downstream).

Differential Revision: https://phabricator.services.mozilla.com/D16299
2019-01-11 16:01:15 +00:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Jeff Gilbert ec51f3812f Bug 1499844 - Fix win64 clang-cl -Wformat warnings. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D9027
2018-10-23 14:18:15 +00:00
Chris Manchester 6750221dc2 Bug 1496405 - Always build minidumpwriter on Windows to support 64 or 32 bit python. r=ted,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D7953
2018-10-06 01:16:01 +00:00
Tom Ritter 7af2ad4535 Bug 1475566 Disable #pragma comments for MinGW Builds r=glandium
In the MinGW browser build job, we're going to use -fms-extensions,
which will tell clang to start processing these comments. Clang
cannot process them correctly (it's an upstream bug) but it doesn't
need to, because we include the libs we need in moz.build files.

So we exclude them for MinGW builds. mingw-clang gets them wrong and
mingw-gcc (which doesn't even work anymore on -central) ignored them.

In the future, with a llvm fix, we could clean up the moz.build
files and re-enable these comments.

Differential Revision: https://phabricator.services.mozilla.com/D3527
2018-08-29 03:50:39 +00:00
Masatoshi Kimura 9e78698153 Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj 2018-07-31 22:10:07 +09:00
Henrik Skupin c8762123b0 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6
2018-06-22 13:32:05 +02:00
Margareta Eliza Balazs 046f765d04 Backed out changeset 52e86ed85e54 (bug 1470414) for bustage in ./config/tests/test_mozbuild_reading.py::TestMozbuildReading on a CLOSED TREE 2018-06-25 17:29:18 +03:00
Henrik Skupin fdc82b2f2f Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6
2018-06-22 13:32:05 +02:00
Rob Wood 7d679a4c86 Bug 1456629 - Create a python tool to view local gecko profiles in perf-html.io; r=jmaher
MozReview-Commit-ID: 69e4dmKiRfw
2018-04-24 16:49:14 -04:00
Nick Thomas 740bf81a5c Bug 1449350 - distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('six'), r=aki 2018-03-28 11:50:40 +13:00
Jared Wein 4dd01e2014 Backed out changeset 99809c2e06ae since it wasn't supposed to get pushed. r=me 2018-03-03 00:17:58 -05:00
Jared Wein 5e7a89e27d revert bug 1436857 2018-02-20 12:51:54 -08:00
Henrik Skupin 3de18ade02 Bug 1436857 - Upgrade psutil from version 3.1.1 to 5.4.3. r=gps
MozReview-Commit-ID: FQTGv4jPE83
2018-02-08 23:22:16 +01:00
Mike Hommey 2afc3014a2 Bug 1433703 - Remove the libxss-based code from the screenshot tool. r=gps
It hasn't been used for a long while, and the screenshot tool is only
used for tests. So keeping the code essentially always disabled doesn't
have much value.
2018-01-30 13:49:26 +09:00
Sylvestre Ledru aeb1902651 Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
MozReview-Commit-ID: 3v8D600g8St
2018-01-10 08:52:04 +01:00
Andrew Halberstadt 574920bfb2 Bug 1429158 - Ensure 'six' and 'mozterm' are available from the one-click-loaner mach environment, r=jmaher
Mach itself now depends on 'six', so it needs to be packaged in the test archive.

MozReview-Commit-ID: 8lWc0cxwrss
2018-01-09 14:29:45 -05:00
Sylvestre Ledru 37064ac043 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m
2017-12-07 22:09:15 +01:00
Mike Hommey 0cbbbd39cd Bug 1423094 - Remove last use of msvcrt='static'. r=gps 2017-12-05 15:34:58 +09:00
Ted Mielczarek cd630012c2 bug 1407368 - rename Breakpad's src/common/memory.h. r=gsvelto
memory.h conflicts with a system header, so we have workarounds to
change include paths to work around this.

This is mostly a cherry-pick of this upstream commit:
https://chromium.googlesource.com/breakpad/breakpad/+/8bb3d55af734fd469213e0b88f5b5ad7ffec0abf

..but the patch was applied separately to toolkit/crashreporter/google-breakpad
and toolkit/crashreporter/breakpad-client since we've forked the latter,
and there's also one other fixup of a source file included.

MozReview-Commit-ID: HH92HZG7y9n
2017-10-17 19:44:36 -04:00
David Major 2f8a0aa015 Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
Sebastian Hengst cd3a8b86af Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE 2017-08-23 18:12:46 +02:00
David Major 0aace12760 Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Andrew Halberstadt 17bb4f21d5 Bug 1382775 - Move testing/tools/autotry to tools/tryselect/selectors/syntax.py, r=chmanchester
The |mach try| implementation isn't really testing specific so figured while doing this refactor
anyway we could take the opportunity to move it to /tools. This renames the "autotry" module to
"syntax" as one of the 'selectors' under the newly created tryselect module.

MozReview-Commit-ID: DmnGU5sKuCk
2017-07-17 21:36:23 -04:00
Ed Lee a32e6c12c9 Bug 1382827 - |mach try --artifact| should remove |--artifact| if "-nightly" platforms are requested. r=chmanchester
MozReview-Commit-ID: Dqle5sBlZNr
2017-07-20 13:37:31 -07:00
Bryce Van Dyk 08a42fa100 Bug 1372051 - Remove external media tests from /testing, /build, /python. r=maja_zf
MozReview-Commit-ID: 7X2kYf7HLZY
2017-06-12 10:27:42 +12:00
James Graham d0dd87c178 Bug 1294820 - Add support for running wpt from one-click loaner mach environment, r=ahal
Allow running |mach wpt| on one click loaners in order to run
web-platform-tests tests.

This implementation is just like the one for other testsuites using
thee packaged tests rather than the checkout that we get with wpt, at
least on Linux. That's also where the tests run from so it seems
reasonable for now. Moving to the checkout in the future could remove
some of the logic here by using a fake mozbuild environment so that
the testsuite itself doesn't have to implement anything much.

MozReview-Commit-ID: CaewrdjJ2ef
2017-06-19 19:20:41 +01:00
Andrew Halberstadt 8a700d5b56 Bug 1368438 - Add -j to mach try, r=chmanchester
The -j try syntax specifies a "job" task. Job tasks are different from
unittests in that they typically don't require a build and run from the
source tree. Examples include linters (eslint, flake8, etc), python tests
(mozbase, mochitest, etc) and misc things like doc generation.

Sometimes, developers might only want to run a specific "job" task with a
syntax like "./mach try -j mozbase".

This means a few assumptions need to be broken in |mach try|. Platforms
and unittests should no longer be required if -j was specified. Most of
the changes in this patch revolve around dealing with those broken
assumptions.

MozReview-Commit-ID: O0y6V2Wwej
2017-06-15 08:14:22 -04:00
Andrew Halberstadt 1dceb6b951 Bug 1368438 - Make it possible to only schedule builds with |mach try|, r=chmanchester
Currently if no unittests, paths or tags are specified it will error out.

MozReview-Commit-ID: O0y6V2Wwej
2017-06-15 08:14:17 -04:00
Steve Fink a4867ba349 Bug 1343568 - Add --upload-xdbs option to mach try, r=chmanchester 2017-06-07 08:55:50 -07:00
Geoff Brown 9eb2e1e700 Bug 1355260 - Allow for variability in mochitest-dt and bc e10s names in try syntax; r=chmanchester 2017-04-12 09:15:55 -06:00
Chris Manchester af68b9a6ef Bug 1343361 - Auomatically replace -u all with a set of suites that do not include compiled tests when requesting an artifact build via |./mach try|. r=maja_zf
MozReview-Commit-ID: BYgzbYrbw7E
2017-02-28 14:27:57 -08:00
Andrew Halberstadt 45dbf6c503 Bug 1337828 - Pass unexpected test paths as is from mach_test_package_bootstrap to the test harness, r=maja_zf
This was a bug in the mach test package bootstrap that could happen in one-click loaners. If a user neglected to
pass in --flavor, this meant that instead of a nice error message out of mochitest, they'd get a cryptic
traceback.

With this fix, it will be obvious that the problem is "no tests were found".

MozReview-Commit-ID: 5LEQFVDoJrT
2017-02-09 09:55:18 -05:00
Andrew Halberstadt 83bc098b2b Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher
Previously the run-wizard script would add a command to source the virtualenv in ~/.bashrc after
mozharness finished setting things up. This is fragile, assumes people are using bash, etc. Plus
it appeared to intermittently fail for some users.

Instead, this activates the virtualenv directly from individual mach commands that need it. This
guarantees we will always be using the virtualenv if required (and won't be using it if not). The
'activate_this.py' script is invoked the same way that we do it for in-tree mach commands:
https://dxr.mozilla.org/mozilla-central/rev/9c06e744b1befb3a2e2fdac7414ce18220774a1d/python/mozbuild/mozbuild/virtualenv.py#456

MozReview-Commit-ID: CfcoiVJXQTl
2017-01-31 11:53:36 -05:00
Bob Clary a979244678 Bug 1279259 - make TURN server port configurable, r=jmaher. 2017-01-25 01:56:45 -08:00
Byron Campen [:bwc] 7d3bebb1ca Bug 1056934 - Part 1: TLS support in the test ICE server. r=drno
MozReview-Commit-ID: 9Vz87jqHwGc
2016-12-16 17:04:56 -06:00
Joel Maher b1042ce50d Bug 1326467 - remove old testing/tools/ files. r=ted
MozReview-Commit-ID: H647RF4nhAu
2017-01-06 11:33:45 -05:00
Andrew Halberstadt facdedb37b Bug 1312739 - Fix marionette SEARCH_PATHS in mach_test_package_bootstrap.py, r=jmaher
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.

MozReview-Commit-ID: DCNz3xEVJfY
2016-12-20 14:08:21 -05:00
Phil Ringnalda 5d05be41ea Backed out 3 changesets (bug 1312739) for "'NoneType' object has no attribute 'startswith'" bustage in everything mochitest
CLOSED TREE

Backed out changeset 1f3f88337227 (bug 1312739)
Backed out changeset ecb1d15e8075 (bug 1312739)
Backed out changeset b2adce340421 (bug 1312739)
2016-12-21 20:19:24 -08:00
Andrew Halberstadt 75f2f0f42d Bug 1312739 - Fix marionette SEARCH_PATHS in mach_test_package_bootstrap.py, r=jmaher
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.

MozReview-Commit-ID: DCNz3xEVJfY
2016-12-20 14:08:21 -05:00
Gabriele Svelto 088fc29892 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted
* * *
Bug 1264367 - Accomodate for the new version of Breakpad
2016-10-05 11:46:07 +02:00
Wes Kocher d31d166f3f Backed out changeset 1adfbab318a6 (bug 1264367) for breaking crash stacks CLOSED TREE 2016-10-03 14:50:27 -07:00
Gabriele Svelto 8bd242ea95 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-10-03 13:43:28 +02:00
Maja Frydrychowicz d228ddcfb9 Bug 1278702 - Error out when compiled-code test is requested with artifact build; r=chmanchester
MozReview-Commit-ID: Es66ZuFq6PJ
2016-09-21 14:22:34 -04:00