Skip to content

Commit

Permalink
Add doc for output_base_name_stage.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 20, 2018
1 parent bf816a2 commit c3af118
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,8 @@ impl<'test> TestCx<'test> {
dir.join(&self.output_testname(&self.testpaths.file))
}

/// Same as `output_base_name`, but includes the stage ID as an extension,
/// such as: `.../compile-fail/foo/bar.stage1-<triple>`
fn output_base_name_stage(&self) -> PathBuf {
self.output_base_name().with_extension(&self.config.stage_id)
}
Expand Down

0 comments on commit c3af118

Please sign in to comment.