Skip to content

Commit 77ae759

Browse files
committed
tweak incremental comment
1 parent 6b10756 commit 77ae759

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,19 +1937,19 @@ actual:\n\
19371937

19381938
fn run_incremental_test(&self) {
19391939
// Basic plan for a test incremental/foo/bar.rs:
1940-
// - load list of revisions pass1, fail2, pass3
1941-
// - each should begin with `rpass`, `rfail`, or `cfail`
1940+
// - load list of revisions rpass1, cfail2, rpass3
1941+
// - each should begin with `rpass`, `cfail`, or `cfail`
19421942
// - if `rpass`, expect compile and execution to succeed
19431943
// - if `cfail`, expect compilation to fail
19441944
// - if `rfail`, expect execution to fail
19451945
// - create a directory build/foo/bar.incremental
1946-
// - compile foo/bar.rs with -Z incremental=.../foo/bar.incremental and -C pass1
1947-
// - because name of revision starts with "pass", expect success
1948-
// - compile foo/bar.rs with -Z incremental=.../foo/bar.incremental and -C fail2
1949-
// - because name of revision starts with "fail", expect an error
1950-
// - load expected errors as usual, but filter for those that end in `[fail2]`
1951-
// - compile foo/bar.rs with -Z incremental=.../foo/bar.incremental and -C pass3
1952-
// - because name of revision starts with "pass", expect success
1946+
// - compile foo/bar.rs with -Z incremental=.../foo/bar.incremental and -C rpass1
1947+
// - because name of revision starts with "rpass", expect success
1948+
// - compile foo/bar.rs with -Z incremental=.../foo/bar.incremental and -C cfail2
1949+
// - because name of revision starts with "cfail", expect an error
1950+
// - load expected errors as usual, but filter for those that end in `[rfail2]`
1951+
// - compile foo/bar.rs with -Z incremental=.../foo/bar.incremental and -C rpass3
1952+
// - because name of revision starts with "rpass", expect success
19531953
// - execute build/foo/bar.exe and save output
19541954
//
19551955
// FIXME -- use non-incremental mode as an oracle? That doesn't apply

0 commit comments

Comments
 (0)