Skip to content

Commit 0985717

Browse files
committed
Address nits.
1 parent a5236e9 commit 0985717

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ TEST_GROUPS = \
954954
debuginfo-lldb \
955955
codegen \
956956
codegen-units \
957-
incremental \
957+
incremental \
958958
doc \
959959
$(foreach docname,$(DOC_NAMES),doc-$(docname)) \
960960
pretty \

src/compiletest/runtest.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,9 +1972,10 @@ fn run_codegen_units_test(config: &Config, props: &TestProps, testpaths: &TestPa
19721972
fn run_incremental_test(config: &Config, props: &TestProps, testpaths: &TestPaths) {
19731973
// Basic plan for a test incremental/foo/bar.rs:
19741974
// - load list of revisions pass1, fail2, pass3
1975-
// - each should begin with `pass` or `fail`
1976-
// - if `pass`, expect compile to succeed
1977-
// - if `fail`, expect errors from file
1975+
// - each should begin with `rpass`, `rfail`, or `cfail`
1976+
// - if `rpass`, expect compile and execution to succeed
1977+
// - if `cfail`, expect compilation to fail
1978+
// - if `rfail`, expect execution to fail
19781979
// - create a directory build/foo/bar.incremental
19791980
// - compile foo/bar.rs with -Z incremental=.../foo/bar.incremental and -C pass1
19801981
// - because name of revision starts with "pass", expect success

0 commit comments

Comments
 (0)