Commit graph

550 commits

Author SHA1 Message Date
bors-servo
c0d8488b71 Auto merge of #6038 - mbrubeck:jinankjain-Bug#5933, r=mbrubeck
Require either `--dev` or `--release`, unless a default build.mode is set in `.servobuild`.  This is @jinankjain's patch from #5965, rebased onto master.  It is already reviewed, and only waiting for servo/saltfs#28 to be deployed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6038)
<!-- Reviewable:end -->
2015-05-14 11:26:18 -05:00
Andreas Tolfsen
b1d03dc460 build: native notifications on Mac OS
Also refactors the notification function to introduce some single
responsibility.
2015-05-13 18:11:31 +01:00
Jinank Jain
c98d55fe28 Add --dev option to mach build
Require either --dev or --release, unless a default build.mode is set
in .servobuild.  Fixes #5933.
2015-05-13 09:25:43 -07:00
andars
c160248717 Add mac support for build notifications
Closes #5582
2015-05-12 18:38:47 -07:00
bors-servo
3e69bf8cd2 Auto merge of #6023 - mbrubeck:dev-nop, r=larsbergstrom
This is part of #5965.  It needs to land before the rest of that PR, so we can land servo/saltfs#28 without breaking automated builds for other PRs. r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6023)
<!-- Reviewable:end -->
2015-05-12 15:39:11 -05:00
Matt Brubeck
2dc048116e Add a no-op --dev option to the mach build command.
This is part of #5965.  It needs to land before the rest of that PR, so we can
land servo/saltfs#28 without breaking automated builds for other PRs.
2015-05-12 11:32:08 -07:00
Matt Brubeck
041d527335 Fail the build if openssl.makefile fails 2015-05-06 09:59:18 -07:00
Manish Goregaokar
88d180cc8a fix typo 2015-04-30 19:35:21 +05:30
Dhananjay Nakrani
bed9fc101b Add more directories into './mach grep' command. 2015-04-25 10:47:41 -07:00
Dhananjay Nakrani
27943c0ea5 Add a './mach grep' command. [Issue #5838] 2015-04-25 10:06:49 -07:00
Matt Brubeck
79894f7ec5 Show a notification for all builds > 30 sec.
The 300 second threshold was originally from the Gecko/Firefox build system.
It doesn't fit Servo builds, which are shorter, and often hover right around
the 300 second mark (making the notification unpredictable).
2015-04-23 11:42:09 -07:00
bors-servo
5502b5147f Auto merge of #5784 - mbrubeck:ssl-static, r=larsbergstrom
Required by the latest version of the openssl-sys build script. Fixes #5145.

r? @larsbergstrom or @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5784)
<!-- Reviewable:end -->
2015-04-21 19:35:44 -05:00
Matt Brubeck
b4b828260c Set the OPENSSL_STATIC env var for Android builds
Required by the latest version of the openssl-sys build script. Fixes #5145.
2015-04-21 17:22:21 -07:00
bors-servo
f795440ee3 Auto merge of #5776 - servo:split-unit-tests, r=mbrubeck
Closes #5707. (Includes a rebase of it.)
Fixes #5688.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5776)
<!-- Reviewable:end -->
2015-04-21 14:06:22 -05:00
Simon Sapin
ce1f2bab7b Fix up the splitting of the unit tests crate.
Closes #5707. (Includes a rebase of it.)
Fixes #5688.
2015-04-21 20:22:10 +02:00
Prabhjyot Singh Sodhi
7b9c9e1453 Split up the unit tests crate 2015-04-21 20:05:53 +02:00
Manish Goregaokar
f4f465d1b5 Alias cargo-update to update-cargo 2015-04-21 19:47:17 +05:30
Ms2ger
9be71b941f Remove the remaining traces of content tests. 2015-04-16 11:29:58 +02:00
Dhananjay Nakrani
73832175f4 Add Desktop Notifications for Long builds. Supported for Linux & Windows platforms.
Incorporate suggestions from Code review. Change function name to lower case.
2015-04-15 12:29:02 -07:00
Damien
1ee479707b Handle proxies in boostrap script
The urllib version used a `FancyURLOpener` which use urllib. But urllib does not not handle proxies with SSL well.
A better solution would be to use `requests` but I prefer to stay with the "no-dependency" approach.
2015-04-14 10:13:15 +02:00
Simon Sapin
ec28d98080 Have ./mach test-unit run nothing but cargo test -p unit_tests
All unit tests will move there, and it should be much faster to build
than every other crate together.

Fix #5291.
2015-04-08 01:07:54 +02:00
Matt Brubeck
32e5679175 mach test-unit -p should not build all tests
This changes the `mach test-unit -p foo` command to build only the requested
crate, not the entire `servo` crate.
2015-04-06 10:54:14 -07:00
Matt Brubeck
910869f63c Change mach test-unit parameter from -c to -p
For consistency with Cargo params, and related mach commands like
`mach update-cargo`.  The `-c` version is still available as an alias for
compatibility with old scripts.
2015-04-06 10:54:13 -07:00
James Graham
e31744e48e Better check that required modules are installed 2015-04-03 23:29:22 +01:00
James Graham
b2a5225831 Add support for running W3C CSS tests.
These are run through the same harness as the web-platform-tests.
2015-04-03 23:28:51 +01:00
James Graham
2bde318d24 Make the test-wpt mach command support all the command line arguments of wptrunner.
Also remove the shell script and ensure that default options are set in a single location
2015-04-03 23:28:51 +01:00
Kyle Cesare
f55c85f42f Add space in mach command suggestion. 2015-03-31 15:37:42 -07:00
bors-servo
82f70c5d50 auto merge of #5200 : mbrubeck/servo/cache-dir, r=larsbergstrom
This will be set in servo/saltfs to prevent our buildbot builders from re-downloading the build tools for every build.

r? @larsbergstrom or @metajack or @Manishearth
2015-03-19 13:57:52 -06:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
Ms2ger
a8553c3606 Update web-platform-tests. 2015-03-17 22:02:43 +01:00
bors-servo
cf39c672b6 auto merge of #5210 : GreenRecycleBin/servo/#4968, r=jdm
`./mach test tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm` is still failing with the same message as reported in #3219.
2015-03-16 11:42:59 -06:00
Andreas Tolfsen
b951c2f963 tests: ensure bootstrapping for wpt 2015-03-15 18:03:40 +00:00
Daniel Le
0aa727e5b6 Add HOST_FILE environment variable for test-wpt 2015-03-14 18:45:34 +08:00
Matt Brubeck
4641640d14 Add an environment variable to override cache-dir
This will be set in servo/saltfs to prevent our buildbot builders from
re-downloading the build tools for every build.
2015-03-11 15:07:28 -07:00
Manish Goregaokar
cfdad335bd Add support for $CARGO_HOME in servobuild 2015-03-08 01:34:38 +05:30
Jack Moffitt
aedd157035 Fix post build commands.
`./mach run --release` was completely broken and always ran the dev profile.
2015-03-06 10:36:45 -07:00
Simon Sapin
b613519a52 Make submodule sync silent (and recursive).
This eliminates the

    Synchronizing submodule url for 'support/android-rs-glue'
    Synchronizing submodule url for 'tests/wpt/web-platform-tests'

messages that appeared for every `mach build` command.
2015-03-04 13:43:51 +01:00
bors-servo
315a2349e8 auto merge of #5122 : aweinstock314/servo/master, r=kmcallister
...t based on sys.stdout.isatty() (Issue #5043).
2015-03-02 20:18:49 -07:00
Prabhjyot Singh Sodhi
cb6c675b2e mach commands now warn when it's ambiguous which binary to run
Fixes#5080
2015-03-02 18:50:06 -05:00
Avi Weinstock
534c91d083 Filter out "Downloading rust snapshot" percent indicator in mach's output based on sys.stdout.isatty() (Issue #5043). 2015-03-02 18:21:14 -05:00
bors-servo
39273d6b53 auto merge of #5053 : deepak1556/servo/script_patch, r=jdm
fixes #5046
2015-02-28 12:57:50 -07:00
Robo
7b9241bddb default to number of available cpu for wpt-tests 2015-02-28 23:43:39 +05:30
dhneio
4b9267bd58 Remove outdated warning from test-unit 2015-02-24 08:06:57 -08:00
Ms2ger
322bf23db8 Make 'args' a list in the mach run handler.
This fixes a regression from 894e58f714.
2015-02-24 11:19:13 +01:00
Nathan Froyd
894e58f714 add basic |mach rr-{record,replay}| commands
These are very basic commands for invoking Servo underneath rr.  rr
currently doesn't support all the syscalls that Servo requires, but
that's easy to fix on the rr side.

Fixes #4177.
2015-02-23 23:05:41 -05:00
Prabhjyot Singh Sodhi
12e2f30617 changin os.exit to sys.exit
Fixes #5009
2015-02-22 02:06:07 +05:30
Manish Goregaokar
2711d00666 Remove dependency on backup-flame dir
We should be using the one in the product target dir instead.

This makes the B2G deps distributable again
2015-02-21 09:42:47 +05:30
Manish Goregaokar
5b3868089e Add ./mach build-gonk command 2015-02-21 09:42:47 +05:30
bors-servo
ff10deb814 auto merge of #4992 : psdh/servo/cargodir, r=Manishearth
Fixes #4976
2015-02-20 16:24:53 -07:00
Prabhjyot Singh Sodhi
a0a5130061 ./mach cargo now cd's to servo dir if in root
Fixes #4976
2015-02-21 03:18:42 +05:30