Skip to content

Commit d21434c

Browse files
committed
add comment and stop creating directories in runtest
1 parent a04b4b6 commit d21434c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiletest/runtest.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,8 @@ fn output_testname(filepath: &Path) -> PathBuf {
15201520

15211521
fn output_base_name(config: &Config, testpaths: &TestPaths) -> PathBuf {
15221522
let dir = config.build_base.join(&testpaths.relative_dir);
1523-
fs::create_dir_all(&dir).unwrap();
1523+
1524+
// Note: The directory `dir` is created during `collect_tests_from_dir`
15241525
dir
15251526
.join(&output_testname(&testpaths.file))
15261527
.with_extension(&config.stage_id)

0 commit comments

Comments
 (0)