Commit graph

150 commits

Author SHA1 Message Date
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
6b8aaf3c57 Update the README files to reflect the changes to the update procedure. 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
James Graham
f7ff2aa558 Put a copy of mozlog in the tree.
This is required to import the command line options for the wpt tests from the harness
2015-04-03 23:28:51 +01:00
bors-servo
b20cc69a7a auto merge of #5405 : kylc/servo/fix_mach_help_msg, r=Ms2ger
Running `./mach run --release` without a release profile built suggests running `./mach build--release`. This PR adds a space before `--release`.
2015-03-31 17:15:52 -06:00
Kyle Cesare
f55c85f42f Add space in mach command suggestion. 2015-03-31 15:37:42 -07:00
bors-servo
9f3493b5bb auto merge of #5039 : psdh/servo/tidy, r=jdm
Fixes #5034
2015-03-31 12:42:56 -06:00
Prabhjyot Singh Sodhi
2fdc1cbaa8 Making tidy.py check ports/glutin and ports/gonk 2015-03-31 16:37:30 +05:30
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
bors-servo
e8ea416581 auto merge of #5168 : Manishearth/servo/cargo-home, r=SimonSapin 2015-03-08 00:03:45 -07:00
Manish Goregaokar
cfdad335bd Add support for $CARGO_HOME in servobuild 2015-03-08 01:34:38 +05:30
bors-servo
3b14df16c6 auto merge of #5172 : servo/servo/alpha, r=SimonSapin
Rebase of #5123. (Fixes #5123.) Thanks @gille-leblanc!

Reftest list check is checked using Python's default string comparison.
Also added a notice in the tidy script when there are no errors.

Fixes #5092
2015-03-07 10:48:51 -07:00
Gilles Leblanc
54dfb659ec Organize reftest list alphabetically and make the tidy script check it
Reftest list check is checked using Python's default string comparison.
Also added a notice in the tidy script when there are no errors.

Fixes #5092
2015-03-07 17:51:17 +01:00
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
8bc4d07e50 auto merge of #5033 : Manishearth/servo/gonk-warn, r=Ms2ger
Rust still reports that the `*mut ANativeWindow` argument in `gnw_perform` in `gonk/src/window.rs` is ffi unsafe,
however `ANativeWindow` is marked as `#[repr(C)]` and should be okay.
2015-02-28 14:09:48 -07: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
Manish Goregaokar
d715241085 Test gonk in tidy 2015-02-23 21:19:35 +05:30
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
awlnx
d8f1c10179 fixes issue #4103 2015-02-18 18:11:22 -05:00
Prabhjyot Singh Sodhi
7911c0c145 Mach bootstrapping will sync modules
Fixes #4916
2015-02-19 01:39:27 +05:30
bors-servo
b70e3cc5be auto merge of #4877 : psdh/servo/imperror, r=jdm
#4874
2015-02-18 11:33:55 -07:00
awlnx
1e8cc99ff3 Fixes #4898. 2015-02-13 00:38:26 -05:00
Prabhjyot Singh Sodhi
1ff95c33ca improving mach run error message in case of missing binaries 2015-02-13 00:20:01 +05:30
Prabhjyot Singh Sodhi
d322811bfb adding --release flag to mach run command 2015-02-06 00:42:31 +05:30
bors-servo
3da41c2b16 auto merge of #4816 : mskrzypkows/servo/mskrzypkows_b, r=jdm
Sorry again the same pull request because I accidentally removed commit from branch.
2015-02-03 07:09:52 -07:00
Manish Goregaokar
3fd8e2da27 Fix the docs again 2015-02-03 16:47:44 +05:30
Manish Goregaokar
954a044570 Import registrar 2015-02-03 15:41:47 +05:30
Manish Goregaokar
a3cab14183 Fix doc upload 2015-02-03 00:14:45 +05:30