Corral debug command-line options into a --debug/-Z flag

This should make help output a lot cleaner and simplify the way that
uncommon debug options are passed.
This commit is contained in:
Martin Robinson 2014-11-02 23:03:04 -08:00
parent 1a3ff8739c
commit 628cf9c0df
2 changed files with 45 additions and 18 deletions

View file

@ -223,7 +223,8 @@ fn capture(reftest: &Reftest, side: uint) -> (u32, u32, Vec<u8>) {
command
.args(reftest.servo_args.as_slice())
// Allows pixel perfect rendering of Ahem font for reftests.
.arg("--disable-text-aa")
.arg("-Z")
.arg("disable-text-aa")
.args(["-f", "-o"])
.arg(png_filename.as_slice())
.arg({