Commit graph

23 commits

Author SHA1 Message Date
James Graham
b70f59720d Bug 1367041 - Add |mach wpt| support for Chrome, Edge and Servo, r=AutomatedTester
Using the wptrun infrastructure from upstream, it is now posible to
make it easy to run web-platform-tests in other browsers. The syntax
used is

mach wpt --product [chrome|servo|edge] [tests]

This will try to use the selected product; possibly prompting to
install dependencies like the WebDriver implementation. For servo if
the install isn't on the PATH then --binary can be used to point to
the actual location.

Because manifest metadata is kept in the same directory as expectation
data and we don't want to reuse Firefox expectation data for other
browsers, a new products subdirectory is introduced and added to the
ignore files. This will contain a subdirectory for each product into
which a copy of the test manifest is placed. It may also be used to
store any expectation data for the other products, in the same way as
testing/web-platform/meta.

MozReview-Commit-ID: 8fdCnha5t2F
2017-05-31 09:09:39 +01:00
James Graham
beabf923ac Bug 1356227 - Add support for excluding paths when doing a wpt sync, r=ato
MozReview-Commit-ID: 6zadFuRDmVD
2017-04-20 10:49:21 +01:00
Sebastian Hengst
24eec01c4e Backed out changeset c9919c878c14 (bug 1356227) for neverending W(7) jobs on Windows 7 VM debug. r=backout a=backout
MozReview-Commit-ID: 9y1GTQnUMMG
2017-04-14 17:19:25 +02:00
James Graham
621c088a9b Bug 1356227 - Add support for excluding paths when doing a wpt sync, r=ato
MozReview-Commit-ID: 6zadFuRDmVD
2017-04-13 16:22:32 +01:00
James Graham
ba37a80fb5 Bug 1316667 - Use a path that exists when resolving stackfix dir, r=jmaher
This fixes a bug on Windows where we try to append .exe to the path
and so get an invalid, non-existing path by using the Fx binary as the
path and then stripping off the filename.

MozReview-Commit-ID: 8EWGGcz40iw

--HG--
extra : rebase_source : b4a54cc7197a40b55937c8f94ec01f75314581b0
2016-11-11 18:09:22 +00:00
James Graham
003f075ff9 Bug 1309932 - Allow wpt sync script to work with non-merge PRs, r=Ms2ger
MozReview-Commit-ID: DsrFzoBnfbp
2016-10-25 18:10:30 +01:00
James Graham
053e1545f8 Bug 1238043 - Enable assert stack fixup for wpt, r=ted
MozReview-Commit-ID: GLZ4nMLilel

--HG--
extra : rebase_source : 8eaedf4538bf3da0737e7b3f89d35888feb1441f
2016-10-12 23:04:58 +01:00
James Graham
b20e631b19 Bug 1302796 - Add --check-clean flag to mach manifest update and mozlint integration, r=ahal,Ms2ger
MozReview-Commit-ID: 8Z4ywNEbF8G

--HG--
extra : rebase_source : 029995f188d14d0b70ed6e146a0feb71a046512f
2016-09-13 14:20:20 +01:00
James Graham
b27798bb79 Bug 1302105 - Add wpt* aliases for web-platform-tests* commands, r=Ms2ger
MozReview-Commit-ID: KPhtTUyKs3z

--HG--
extra : rebase_source : dbd493550fb247c5f7d165e5bcb6738e341fbfe8
2016-09-12 15:10:55 +01:00
James Graham
f793c63206 Bug 1301473 - Add a wpt-manifest-update command, r=Ms2ger
This updates the manifest without loading any of the test-running
infrastructure, or requiring a build.

MozReview-Commit-ID: HJko5gUB3ov

--HG--
extra : rebase_source : 8ce14b2e76a6f1daf286ff6758c57604c072a6ad
2016-09-12 15:06:32 +01:00
Jonathan Kingston
3efe77ae49 Bug 1273288 - Fix issue with undefined proc variable when editor isn't possible r=jgraham
MozReview-Commit-ID: JNoFf6Jt3aN

--HG--
extra : rebase_source : 220f7c92af77c591d8e6a408aa61ea9772a8fc85
2016-06-07 14:44:52 +01:00
Dan Minor
a4dfe739fb Bug 1272141 - Make web-platform-tests-create mach command create intermediate directories; r=jgraham
MozReview-Commit-ID: 5kd68NQTwXy

--HG--
extra : rebase_source : 47f68d11f51973d6492d52a4536f59d57d18447b
2016-05-11 17:17:47 -04:00
James Graham
43181c6907 Bug 1257797 - Pass product argument by default when running mach web-platform-tests-update, r=Ms2ger
MozReview-Commit-ID: QtlQrpaL9J
2016-03-18 11:02:41 +00:00
James Graham
ee563cbdb7 Bug 1216168 - Add reftest support for mach web-platform-tests-create, r=Ms2ger 2015-10-19 16:50:52 +01:00
James Graham
f6a1734e70 Bug 1214783 - Create a |mach web-platform-tests-create| command, r=Ms2ger
This provides a simple way of creating a web-platform-test with all
the boilerplate added automatically. It also updates the manifest file
with the new test and opens it in the configured editor and source
build.
2015-10-15 14:48:36 +01:00
James Graham
85264337fd Bug 1176632 - Defer creating the web-platform-tests command line argument parser for mach, r=chmanchester 2015-07-07 10:05:35 +01:00
Gregory Szorc
3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
James Graham
d27ca37fce Bug 1169410 Add support for web-platform-tests to |mach test| r=gps
--HG--
extra : rebase_source : 9a1fb715e0844a61c47a1de53f8a4a54ff2e05f0
extra : amend_source : 8fb1e54b76ae543fa2b01002c2d300334dc051be
2015-05-28 20:27:23 +01:00
James Graham
e39a10fe1d Bug 1124181 - Store local base SHA1 of last web-platform-tests update explicitly, r=ahal 2015-02-06 16:11:51 +00:00
James Graham
0b6aa78619 Bug 1102907 - Script for allowing web-platform-tests changes to be upstreamed, r=ahal
This extends the upstream update script with steps for pushing
local changes to upstream. The general approach is to look for all
commits to the tests directory since the last sync, rewrite those
so they apply to upstream at the last sync point, then rebase onto
the sync commit, before creating and merging a PR for each in turn.

--HG--
rename : testing/web-platform/fetchlogs.py => testing/web-platform/update/fetchlogs.py
2015-01-13 09:42:40 +00:00
James Graham
249cf1fd51 Bug 1025066 - Add certs and mach integration for running web-platform-tests with https, r=ted 2015-01-10 10:42:44 +00:00
James Graham
ace556f63b Bug 1103906 - Enable logger for mach web-platform-tests-update script, r=ato 2014-11-24 12:56:31 +00:00
James Graham
1d0db0076b Bug 945222 - Initial import of web-platform-tests testsuite 4/4 : Integration with build system, mach and mozharness, r=ahal,gps
--HG--
extra : rebase_source : 0d704f5a3edcbcef56d15b76ef26aae1b7232c4d
2014-09-04 12:52:43 +01:00