diff options
| author | Eric Huss <eric@huss.org> | 2018-04-11 17:17:14 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2018-04-20 12:43:35 -0700 |
| commit | c3af11808640c2a77a474bcd09b61e63d4553917 (patch) | |
| tree | 7ca0867a977f1f704f2f4eaab5a65f35e4a1d213 /src/tools/compiletest | |
| parent | bf816a2fe08c6d40ea356306ef4c750d3667dc3d (diff) | |
| download | rust-c3af11808640c2a77a474bcd09b61e63d4553917.tar.gz rust-c3af11808640c2a77a474bcd09b61e63d4553917.zip | |
Add doc for output_base_name_stage.
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 4d1fca8207b..aabf2e6f8f0 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -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) } |
