bors-servo
2049357d14
Auto merge of #7759 - jdramani:cmp_dromaeo_output_tool, r=mbrubeck
...
Add a tool for comparing Dromaeo outputs
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7759 )
<!-- Reviewable:end -->
2015-09-29 18:58:28 -06:00
Nicolas
a3eee70727
allow ./mach test
to run tests in tests/wpt/mozilla/
2015-09-29 17:27:04 -04:00
Matt Brubeck
aa7e9ddb73
Fix build notifications in Python 2.x on Linux
...
In Python 2.x on Linux, `sys.platform == 'linux2'`.
https://docs.python.org/2/library/sys.html#sys.platform
2015-09-28 10:01:29 -07:00
Jaydeep
19be6f9f8e
fix issue#6888
2015-09-27 10:18:15 -07:00
Tamir Duberstein
b6bbd75479
mach: fix OS X notifications
2015-09-26 16:14:45 -04:00
Ms2ger
65e50be657
Fix a comparison that should be an assignment in host_triple().
2015-09-23 09:40:08 +02:00
bors-servo
2733060564
Auto merge of #7565 - akiss77:config-gold, r=SimonSapin
...
Make the use of gold linker configurable
Currently, ld.gold is always used for linking if found on the
system. There are some cases however when one may want to opt out
from using it. This patch adds the boolean field `rustc-with-gold`
to the `[tools]` section of `.servobuild`, which if set false,
disables the use of ld.gold.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7565 )
<!-- Reviewable:end -->
2015-09-08 13:57:13 -06:00
Akos Kiss
9afa930728
Make the use of gold linker configurable
...
Currently, ld.gold is always used for linking if found on the
system. There are some cases however when one may want to opt out
from using it. This patch adds the boolean field `rustc-with-gold`
to the `[tools]` section of `.servobuild`, which if set false,
disables the use of ld.gold.
2015-09-08 17:10:46 +00:00
bors-servo
c442132196
Auto merge of #7494 - wilmoz:upgradeWptRunner, r=jdm
...
Add a mach command to upgrade wptrunner
https://github.com/servo/servo/issues/7491
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7494 )
<!-- Reviewable:end -->
2015-09-08 08:41:05 -06:00
Josh Matthews
152b76b963
Remove obsolete method call that breaks ./mach update-css.
2015-09-03 00:37:44 -04:00
wilmoz
adbc6d045b
Add a mach command to upgrade wptrunner
2015-09-02 12:29:56 -05:00
Corey Farwell
e38df50bbf
Revert "Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking web-platform-tests."
...
This reverts commit 47d6d958f5
.
2015-09-02 09:34:01 -04:00
Josh Matthews
7457dbf3fc
Remove hack for android builders now that build is successful once more.
2015-09-01 09:10:25 -04:00
Dhananjay Nakrani
ecd7c8b034
Exclude minified js files and tests/jquery from 'mach grep'.
2015-08-26 11:09:13 -07:00
Ms2ger
13086abfdc
Check the return code of cargo build (except on Android).
2015-08-25 16:32:51 +02:00
Corey Farwell
2ab43bea5d
Utilize Python context managers for opening/closing files
...
In some of these cases, files were not being closed
2015-08-21 11:15:17 -04:00
bors-servo
95c6301cf4
Auto merge of #7249 - servo:gold, r=paulrouget
...
Only use a rustc wrapper script when ld.gold is available.
Fixes #7247 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7249 )
<!-- Reviewable:end -->
2015-08-17 01:26:26 -06:00
Simon Sapin
1dab9294f4
Only use a rustc wrapper script when ld.gold is available.
...
Fixes #7247 .
2015-08-17 09:20:07 +02:00
bors-servo
a1aed50b5a
Auto merge of #7229 - servo:gold, r=metajack
...
Use the gold linker when available.
This shaves 50 seconds off the build time on my machine.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7229 )
<!-- Reviewable:end -->
2015-08-15 10:25:26 -06:00
Simon Sapin
fb7a53c6cf
Use the gold linker when available.
...
This shaves 50 seconds off the build time on my machine.
2015-08-15 18:09:18 +02:00
Vinzent Steinberg
824384a1c2
Fix 'mach test'
2015-08-15 14:38:44 +02:00
Vinzent Steinberg
fe7b443c16
mach: Print commands if '--verbose' is set
...
Fixes #6363 .
2015-08-15 13:58:36 +02:00
wilmoz
dafe077280
fixes test-wpt cannot be run from anywhere but the root
2015-08-11 11:30:06 -05:00
Corey Farwell
f873db5ab0
Allow Servo tests to be built/run with --release mode
...
Fixes #5075
2015-08-10 08:59:54 -04:00
Ms2ger
47d6d958f5
Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking web-platform-tests.
...
This reverts commit c315404db8
, reversing
changes made to b00583bd4e
.
2015-08-09 11:20:40 +02:00
Corey Farwell
33f78314d9
Use one Python virtual environment for all mach commands
...
Prior to this commit:
* Our Python dependency story was a bit of a mess. We had complete
Python packages (wheels and directories) living in-tree, despite
not having any changes from upstream. This is particularly bad because
`setup.py` never gets run on these packages which could (sometimes
silently) unintended breakage.
* Python virtual environments (virtualenv) were only utilized for
testing web-platform tests
After this commit:
* A single virtualenv (`python/_virtualenv`) is activated upon *every*
call to mach
* A requirements file (`python/requirements.txt`) is added to describe
the dependencies needed by Python modules in `python/`. The child
commit immediately following this will remove all the dependencies
no longer needed in-tree (for the sake of keeping this commit
readable).
Relevant to https://github.com/servo/servo/issues/861
Fixes https://github.com/servo/servo/issues/6999
2015-08-08 18:48:02 -04:00
Michael Howell
a93b4bba6d
test-tidy fixes.
2015-07-31 21:49:01 -07:00
Michael Howell
f82f46680e
UI cheeze.
2015-07-31 21:24:23 -07:00
Michael Howell
c602af2050
Integrate dromaeo with mach.
2015-07-31 21:24:22 -07:00
Matt Brubeck
63d39a464f
Upgrade cocoa, openssl, and selectors
2015-07-30 14:19:08 -07:00
Corey Farwell
d1acefa452
Prevent warning about redefining Python variable
...
'e' is also used later on in a list comprehension, and flake8 warns when
variables get redefined within a function
2015-07-26 22:07:23 +07:00
Matt Brubeck
4c3a6b839b
Perform argument validation before bootstrapping.
...
If there's an error in the command-line arguments for `mach build`, we should
print it before starting a (potentially) long bootstrap process, not after.
2015-07-25 07:53:53 -07:00
Matt Brubeck
859f99d5e8
Update WPT test expectations for --release builds
2015-07-23 22:57:54 -07:00
Sam Gibson
29a34dbdb5
Resolves code review comments
...
* Lots of rust-isms
* Mutable iterator for modifying entries (much better)
2015-07-22 11:49:06 +12:00
Sam Gibson
8086034e0b
Commit HSTS preload list to source control
...
* No longer download the HSTS list as a bootstrap step
* Check the current revision of the HSTS list into source
2015-07-22 11:49:06 +12:00
Sam Gibson
865fb2eacb
Resolve tidy issues
2015-07-22 11:49:05 +12:00
Sam Gibson
aa19a9a741
Preload an HSTS domain list from chromium
...
This resolves the first part of servo/servo#6105 . The remaining part is
to update the list based on the STS headers from the server.
2015-07-22 11:48:03 +12:00
Simon Sapin
c85bfe1350
Include private items in ./mach doc
and http://doc.servo.org/
...
See https://github.com/rust-lang/rust/issues/15347
2015-07-17 22:31:57 +02:00
James Graham
6797ac6b58
Improve |mach test|.
...
Make mach test work with wpt tests.
Allow specifying specific testsuites on the command line
Allow specifying paths to CSS tests on the command line
2015-07-01 12:14:23 +01:00
Michael Tremel
bb426d3575
notify_darwin should trap import errors and provide the useful package name for the user to install.
2015-06-27 17:13:36 -07:00
Jesse Ruderman
e6dc0d06d6
Add space between sentences
2015-06-26 13:17:15 -07:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
bors-servo
d6263c9b6e
Auto merge of #6306 - metajack:shared-target-dir, r=mbrubeck
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by
25%. When rust-lang/cargo#497 is fixed, this speedup will increase
dramatically.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6306 )
<!-- Reviewable:end -->
2015-06-15 13:08:14 -06:00
Jack Moffitt
a0237085c6
Use Cargo's target directory sharing.
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by a
large amount, and also speeds up other build combos found in our CI.
2015-06-15 11:48:47 -06:00
Francesc Bautista
c99f65c4dc
Set 'mach test-ref' default render mode to cpu and added a cli argument to 'mach test' to be able to select the render-mode.
2015-06-13 23:16:29 +02:00
Matt Brubeck
4b5c43835b
Handle non-zero return codes in mach run
2015-06-04 13:52:23 -07:00
Corey Farwell
848c57653c
Add flake8 to the tidy process for Python files
...
Fixes #6236
Also included in this commit are the changes need to make flake8 pass
for the existing python file
2015-06-04 11:17:34 -04:00
Corey Farwell
ddc99190bb
Pass release/dev arguments to command function for jQuery update
2015-06-03 18:45:08 -04:00
bors-servo
9aa1d93282
Auto merge of #6268 - frewsxcv:tidy-python, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6268 )
<!-- Reviewable:end -->
2015-06-03 08:04:11 -05:00
bors-servo
2e93ae7f76
Auto merge of #6267 - brson:system-rust, r=SimonSapin
...
The existing code for setting up the environment assumes that
the directory layout containing rust and cargo conforms to the
one used by rust-installer's tarballs. This makes overriding
the system root awkward for simple cases where I want to test
my own build directly from the rust build directory. This
patch just adds a second path to PATH and LD_LIBRARY_PATH
to accomodate both disk layouts.
Conflicts:
python/servo/command_base.py
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6267 )
<!-- Reviewable:end -->
2015-06-03 01:54:00 -05:00