diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-02-25 14:41:52 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-02-25 14:41:52 -0500 |
| commit | d21434c9ca5ee4f091b56f86a3e789c806be681d (patch) | |
| tree | cd6d543a1236fce38e8478e4ee71a0954462027c | |
| parent | a04b4b62139666507a364afa902996563c41159c (diff) | |
| download | rust-d21434c9ca5ee4f091b56f86a3e789c806be681d.tar.gz rust-d21434c9ca5ee4f091b56f86a3e789c806be681d.zip | |
add comment and stop creating directories in runtest
| -rw-r--r-- | src/compiletest/runtest.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index b7a489d9801..7cad5a4391c 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -1520,7 +1520,8 @@ fn output_testname(filepath: &Path) -> PathBuf { fn output_base_name(config: &Config, testpaths: &TestPaths) -> PathBuf { let dir = config.build_base.join(&testpaths.relative_dir); - fs::create_dir_all(&dir).unwrap(); + + // Note: The directory `dir` is created during `collect_tests_from_dir` dir .join(&output_testname(&testpaths.file)) .with_extension(&config.stage_id) |
