Commit Graph

43 Commits

Author SHA1 Message Date
James Graham
f9f7848202 Bug 1402970. Make mach wpt-create work correctly again. r=bzbarsky 2017-09-26 16:13:04 -04:00
Jeremy Chen
4169d67990 Bug 1399805 - fix the default path of fix_macosx_stack.py for running wpt tests. r=jgraham
We try to find fix_macosx_stack.py on the wrong path, which leads us can't run
wpt tests without setting stack fix directory manually (--stackfix-dir).
In this patch, we fix this issue by pointing the path to @topobjdir/dist/bin.

MozReview-Commit-ID: 8JzWWgVM6fM

--HG--
extra : rebase_source : a7822998d7668b976284852bdca86e70d615b611
2017-09-14 19:07:23 +08:00
James Graham
62407a872c Bug 1390896 - Make mach wpt compatible with latest upstream, r=maja_zf
Upstream wpt changed from having a wptrun script to a wpt script with
a run subcommand. This involved some internal movement of code which
broke the `mach wpt` command when used with a non-firefox
product. This commit changes the mach integration to be compatible
with the new upstream API.

MozReview-Commit-ID: 1hvmZedNHSX

--HG--
extra : rebase_source : decd24551c2c5eaaae21eb64c7c376110b3de5b7
2017-08-16 15:42:30 +01:00
Makoto Kato
2e5554c883 Bug 1386496 - Ahem.ttf is broken on web-platform-tests. r=jgraham
Ahem.ttf is copied to $(DIST)/bin/firefox/fonts, but this file is broken due to text mode copy.  So we should use binary mode instead.

MozReview-Commit-ID: KP7yNyPiejU

--HG--
extra : rebase_source : 2de749f458a6d4650f9044f1912ff97835c5b795
2017-08-02 12:35:53 +09:00
James Graham
5d62758e55 Bug 1341078 - Run CSS tests on Linux, r=ahal
These are initially run on Linux only for capacity reasons.

MozReview-Commit-ID: Ge4nu1NGDdr
2017-07-20 13:05:26 +01:00
James Graham
50eabaa44d Bug 1377886 - Improve handling of reftests in mach wpt-create, r=automatedtester
Create an emmpty reference file if one doesn't exist, and open it in
the editor.

MozReview-Commit-ID: 5aBLp2AdnzY

--HG--
extra : rebase_source : bae3df50689895e6ac02cc740acea57be5c24b2e
2017-07-03 15:39:20 +01:00
James Graham
04a7d622fd Bug 1377886 - Don't start Firefox with mach wpt-create, r=automatedtester
This confuses people and isn't needed to update the manifest these days.

MozReview-Commit-ID: 4t4zdXLMob5

--HG--
extra : rebase_source : 9c43570073b15d11b3a52c830f9f3fd1f9f063c7
2017-07-03 15:38:10 +01:00
James Graham
105552d940 Bug 1363428 - Copy the Ahem font into the bundled font directory, r=maja_zf
MozReview-Commit-ID: 3VgrawYWoWp
2017-06-24 12:03:12 +01:00
Wes Kocher
ea40157e54 Backed out 16 changesets (bug 1363428) for Wr failures a=backout CLOSED TREE
Backed out changeset e86d6d5c2a25 (bug 1363428)
Backed out changeset a0687a63e7b9 (bug 1363428)
Backed out changeset 858dc97498c7 (bug 1363428)
Backed out changeset 582a8dce7932 (bug 1363428)
Backed out changeset 26ae2fd48587 (bug 1363428)
Backed out changeset 7fa8e20fe001 (bug 1363428)
Backed out changeset 829c13a75667 (bug 1363428)
Backed out changeset a94d2c400b04 (bug 1363428)
Backed out changeset ec4a6b343b37 (bug 1363428)
Backed out changeset c27b94038e71 (bug 1363428)
Backed out changeset d1c03b96d270 (bug 1363428)
Backed out changeset 60c1c95b46ca (bug 1363428)
Backed out changeset b0604d88973f (bug 1363428)
Backed out changeset f0b218979773 (bug 1363428)
Backed out changeset 1d359561373c (bug 1363428)
Backed out changeset 956d6c0a646e (bug 1363428)

MozReview-Commit-ID: K8EBA8ACZLC
2017-06-23 14:13:27 -07:00
James Graham
047b39e813 Bug 1363428 - Copy the Ahem font into the bundled font directory, r=maja_zf
MozReview-Commit-ID: 3VgrawYWoWp

--HG--
extra : rebase_source : 7e544fe8d66806e32d100196fbb411b1bfaebdba
2017-06-01 15:20:11 +01:00
James Graham
4480587bb8 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

--HG--
extra : rebase_source : 491b8014d48f06ff5bd41b28cc985608981fbdf4
2017-06-19 19:20:41 +01:00
James Graham
da37bf2cf8 Bug 1370936 - Skip directories when updating metdata, r=ato
MozReview-Commit-ID: HLFo9vhYS8p

--HG--
extra : rebase_source : 91cf679c342f1478c718e2a41a853bd0db02d4cd
2017-06-16 10:45:55 +01:00
James Graham
e14e7c3ce8 Bug 1371358 - Don't check the webdriver binary exists before running wpt tests, r=ato
This ensures that developers can run the majority of tests with the
default config, but makes things a little more confusing for marionette
developers.

MozReview-Commit-ID: 9wd761ZgCyx

--HG--
extra : rebase_source : d601fa10d1896afd3c450b2d44a2024b9963096f
2017-06-08 18:15:31 +01:00
James Graham
1043e6ecc4 Bug 1369109 - Add --rebuild option to mach wpt-manifest-update, r=maja_zf
This is required for cases where files have not changed but the
manifest logic has changed.

MozReview-Commit-ID: E46HtouILS2

--HG--
extra : rebase_source : f9d350018752f866052cf6a7a1ffd8f1d5f4ee39
2017-06-05 16:39:45 +01:00
Andreas Tolfsen
e28e599370 Bug 1368264 - Have mach pick up geckodriver from dist/bin r=jgraham
MozReview-Commit-ID: Fs9F6o7jNDP

--HG--
extra : rebase_source : 828d8aab4cba6c951768bbf3e6de5a55af889918
2017-06-05 11:30:59 +01:00
James Graham
0465b8008b Bug 1370203 - Check hosts are configured with |mach wpt|, r=farre
For Chrome and Edge we don't have any way to set the DNS configuration
to include web-platform.test, so we need to error if this isn't already set.

MozReview-Commit-ID: BHRsTiuV28x

--HG--
extra : rebase_source : cfd3c35a513f98b47a7ffc9328058e6d104d2b2e
2017-06-05 13:29:47 +01:00
James Graham
c91c59475c 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 15:45:47 +01:00
Carsten "Tomcat" Book
85e7cbd833 Backed out changeset 64ff9b546c6e (bug 1367041) 2017-05-31 14:21:53 +02:00
James Graham
e2b80fffd2 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 10:58:35 +01:00
Carsten "Tomcat" Book
8074efcb96 Backed out changeset 448b7c4ed09e (bug 1367041) 2017-05-31 10:47:06 +02:00
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