mozilla/rust — pull request #5861 by catamorphism (2013-04-12 23:38:56+00:00)
Title: rustpkg: Factor out tests; use a condition instead of returning an option

r? @graydon

Pulled out tests into their own modules inside the files they test,
as per the draft style guidelines.

Started a new module, path_util, for utility functions to do with
paths and directories.

Changed default_dest_dir to use a condition and return Path
instead of Option.