diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-11-24 13:42:39 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-11-24 13:42:39 -0700 |
commit | 10f8fe00677c756bd69adcf90b96a7e36bae8f56 (patch) | |
tree | d0394e648a5ba3a160c3b68e4aac2e2fd44d21b1 /components/script/dom/servohtmlparser.rs | |
parent | 51aa2fde10daa8c98f5407e35b8abf01bd364788 (diff) | |
parent | 8f4f6407d4ec6836a9c3a7ebeebc8c52997b4cff (diff) | |
download | servo-10f8fe00677c756bd69adcf90b96a7e36bae8f56.tar.gz servo-10f8fe00677c756bd69adcf90b96a7e36bae8f56.zip |
auto merge of #4090 : mttr/servo/mach_infer_test, r=jdm
Fixes #4086
Lets `./mach test` take a file or directory as an argument, and infers `test-content`, `test-wpt`, or `test-ref` from the file's path.
Usage Example:
```
$ ./mach test tests/wpt/web-platform-tests/dom/interfaces.html
0:00.27 LOG: MainThread INFO Using 1 client processes
...
```
Note that while there is no functionality for `test-ref` to accept individual files, `./mach test tests/ref` will still trigger `test-ref`.
Passing arguments properly through python would have been ugly (though maybe there are some mach internals I could have taken advantage of), so this instead runs a new mach process and lets the individual test suites manage their arguments like normal.
Diffstat (limited to 'components/script/dom/servohtmlparser.rs')
0 files changed, 0 insertions, 0 deletions