servo/python/servo
bors-servo f06e0a818d 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.
2014-12-22 14:05:34 -07:00
..
__init__.py Cargoify servo 2014-09-08 20:21:42 -06:00
bootstrap_commands.py mach clean-snapshots: better no-op output 2014-12-09 09:44:24 +00:00
build_commands.py Have 'mach build' pass arbitrary arguments to Cargo. 2014-12-18 11:15:42 +00:00
command_base.py Switch android to glutin. 2014-12-12 08:13:04 +10:00
devenv_commands.py Remove glut from update-cargo command. 2014-12-12 12:02:03 +10:00
post_build_commands.py Fix 'mach browse-doc' to use the right target directory. 2014-12-03 15:59:51 -08:00
testing_commands.py auto merge of #4048 : mttr/servo/mach_unit_test_fix, r=larsbergstrom 2014-12-22 14:05:34 -07:00