Fixing issue 1919. list_dir is the more general version that returns a vector with the contents of the directory. list_dir_path contains the old behavior (as a convenience function).
This commit is contained in:
parent
0904f25507
commit
3a0477c398
5 changed files with 31 additions and 20 deletions
|
@ -127,7 +127,7 @@ fn test_opts(config: config) -> test::test_opts {
|
|||
fn make_tests(config: config) -> [test::test_desc] {
|
||||
#debug("making tests from %s", config.src_base);
|
||||
let mut tests = [];
|
||||
for file: str in os::list_dir(config.src_base) {
|
||||
for file: str in os::list_dir_path(config.src_base) {
|
||||
let file = file;
|
||||
#debug("inspecting file %s", file);
|
||||
if is_test(config, file) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue