diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-22 14:05:34 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-22 14:05:34 -0700 |
commit | f06e0a818db47ff872b98070077f274dbc7eb704 (patch) | |
tree | 5cabf27ea1eb3e53daf15c095351c2fd1f41e57b /tests/wpt/web-platform-tests/css/css-overflow/overflow-abpos-transform.html | |
parent | 1793e0cb0e0acb1de0a6efe9430006b72acc5eda (diff) | |
parent | f69dfc53cb4870b153c3e8c5d72fe1f3a4552385 (diff) | |
download | servo-f06e0a818db47ff872b98070077f274dbc7eb704.tar.gz servo-f06e0a818db47ff872b98070077f274dbc7eb704.zip |
auto merge of #4048 : mttr/servo/mach_unit_test_fix, r=larsbergstrom
This is a quick and dirty workaround for issue #3928. Basically, `cargo test` is deleting `./target/servo`, which is clearly not ideal if we want to do anything with servo after running the unit tests. This PR makes sure to rebuild after running `./mach test-unit`.
I'm not familiar enough with cargo yet to know why it's doing this or what better alternatives there are to fixing this. Having to rebuild afterwards feels pretty ugly to me, but my rationalization right now is that the time it takes to build is negligible in comparison to the time it takes to run the tests. Ideally, this should be something we could take care of in Cargo.toml, but again, I'm new to this (and the documentation seems less than helpful from what I can tell so far).
I won't be available for the rest of the day, so if anyone has suggestions, or wants to wait for a better solution, I'll get back to it tomorrow probably. Otherwise, this PR at least makes `./mach test` work properly, so there's that.
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-overflow/overflow-abpos-transform.html')
0 files changed, 0 insertions, 0 deletions