about summary refs log tree commit diff
path: root/src/librustpkg/tests.rs
AgeCommit message (Collapse)AuthorLines
2013-05-03rustpkg: Handle sysroot more correctlyTim Chevalier-7/+48
In rustpkg, pass around sysroot; in rustpkg tests, set the sysroot manually so that tests can find libcore and such. With bonus metadata::filesearch refactoring to avoid copies.
2013-05-03rustpkg: Implement install commandTim Chevalier-20/+51
The install command should work now, though it only installs in-place (anything else has to wait until I implement RUST_PATH). Also including: core: Add remove_directory_recursive, change copy_file Make copy_file preserve permissions, and add a remove_directory_recursive function.
2013-04-28fix typo in librstpkg tests, allowed by old parserJohn Clements-1/+1
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+1
2013-04-24rustpkg: Preliminary work on install commandTim Chevalier-0/+93
Mostly just tests (that are ignored); install command is still stubbed out.
2013-04-12rustpkg: Factor out tests; use a condition instead of returning an optionTim Chevalier-0/+11
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<Path>.