Skip to content

Commit

Permalink
Expect PARTIAL coverage results from some tests
Browse files Browse the repository at this point in the history
This is because new Dead instructions are being generated.
  • Loading branch information
karkhaz committed Mar 11, 2024
1 parent 895cc26 commit 9f8b069
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions tests/coverage/reachable/assert-false/expected
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
coverage/reachable/assert-false/main.rs, 6, FULL
coverage/reachable/assert-false/main.rs, 7, FULL
coverage/reachable/assert-false/main.rs, 11, FULL
coverage/reachable/assert-false/main.rs, 12, FULL
coverage/reachable/assert-false/main.rs, 15, FULL
coverage/reachable/assert-false/main.rs, 11, PARTIAL
coverage/reachable/assert-false/main.rs, 12, PARTIAL
coverage/reachable/assert-false/main.rs, 15, PARTIAL
coverage/reachable/assert-false/main.rs, 16, FULL
coverage/reachable/assert-false/main.rs, 17, PARTIAL
coverage/reachable/assert-false/main.rs, 19, FULL
2 changes: 1 addition & 1 deletion tests/coverage/reachable/assert/reachable_pass/expected
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage/reachable/assert/reachable_pass/test.rs, 6, FULL
coverage/reachable/assert/reachable_pass/test.rs, 7, FULL
coverage/reachable/assert/reachable_pass/test.rs, 7, PARTIAL
coverage/reachable/assert/reachable_pass/test.rs, 8, FULL
coverage/reachable/assert/reachable_pass/test.rs, 10, FULL
2 changes: 1 addition & 1 deletion tests/coverage/reachable/bounds/reachable_fail/expected
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage/reachable/bounds/reachable_fail/test.rs, 5, PARTIAL
coverage/reachable/bounds/reachable_fail/test.rs, 6, NONE
coverage/reachable/bounds/reachable_fail/test.rs, 10, FULL
coverage/reachable/bounds/reachable_fail/test.rs, 10, PARTIAL
coverage/reachable/bounds/reachable_fail/test.rs, 11, NONE
2 changes: 1 addition & 1 deletion tests/coverage/reachable/div-zero/reachable_fail/expected
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage/reachable/div-zero/reachable_fail/test.rs, 5, PARTIAL
coverage/reachable/div-zero/reachable_fail/test.rs, 6, NONE
coverage/reachable/div-zero/reachable_fail/test.rs, 10, FULL
coverage/reachable/div-zero/reachable_fail/test.rs, 10, PARTIAL
coverage/reachable/div-zero/reachable_fail/test.rs, 11, NONE
2 changes: 1 addition & 1 deletion tests/coverage/reachable/overflow/reachable_fail/expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage/reachable/overflow/reachable_fail/test.rs, 8, PARTIAL
coverage/reachable/overflow/reachable_fail/test.rs, 9, FULL
coverage/reachable/overflow/reachable_fail/test.rs, 13, FULL
coverage/reachable/overflow/reachable_fail/test.rs, 14, FULL
coverage/reachable/overflow/reachable_fail/test.rs, 14, PARTIAL
coverage/reachable/overflow/reachable_fail/test.rs, 15, NONE
2 changes: 1 addition & 1 deletion tests/coverage/reachable/rem-zero/reachable_fail/expected
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage/reachable/rem-zero/reachable_fail/test.rs, 5, PARTIAL
coverage/reachable/rem-zero/reachable_fail/test.rs, 6, NONE
coverage/reachable/rem-zero/reachable_fail/test.rs, 10, FULL
coverage/reachable/rem-zero/reachable_fail/test.rs, 10, PARTIAL
coverage/reachable/rem-zero/reachable_fail/test.rs, 11, NONE
4 changes: 2 additions & 2 deletions tests/coverage/unreachable/assert/expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
coverage/unreachable/assert/test.rs, 6, FULL
coverage/unreachable/assert/test.rs, 7, FULL
coverage/unreachable/assert/test.rs, 9, FULL
coverage/unreachable/assert/test.rs, 7, PARTIAL
coverage/unreachable/assert/test.rs, 9, PARTIAL
coverage/unreachable/assert/test.rs, 10, NONE
coverage/unreachable/assert/test.rs, 12, NONE
coverage/unreachable/assert/test.rs, 16, FULL
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/unreachable/assert_eq/expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage/unreachable/assert_eq/test.rs, 6, FULL
coverage/unreachable/assert_eq/test.rs, 7, FULL
coverage/unreachable/assert_eq/test.rs, 8, FULL
coverage/unreachable/assert_eq/test.rs, 8, PARTIAL
coverage/unreachable/assert_eq/test.rs, 9, NONE
coverage/unreachable/assert_eq/test.rs, 11, FULL
2 changes: 1 addition & 1 deletion tests/coverage/unreachable/assert_ne/expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
coverage/unreachable/assert_ne/test.rs, 6, FULL
coverage/unreachable/assert_ne/test.rs, 7, FULL
coverage/unreachable/assert_ne/test.rs, 8, FULL
coverage/unreachable/assert_ne/test.rs, 10, FULL
coverage/unreachable/assert_ne/test.rs, 10, PARTIAL
coverage/unreachable/assert_ne/test.rs, 11, NONE
coverage/unreachable/assert_ne/test.rs, 14, FULL
4 changes: 2 additions & 2 deletions tests/coverage/unreachable/check_id/expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage/unreachable/check_id/main.rs, 5, FULL
coverage/unreachable/check_id/main.rs, 6, FULL
coverage/unreachable/check_id/main.rs, 6, PARTIAL
coverage/unreachable/check_id/main.rs, 8, NONE
coverage/unreachable/check_id/main.rs, 10, FULL
coverage/unreachable/check_id/main.rs, 14, FULL
Expand All @@ -12,5 +12,5 @@ coverage/unreachable/check_id/main.rs, 20, FULL
coverage/unreachable/check_id/main.rs, 21, FULL
coverage/unreachable/check_id/main.rs, 22, FULL
coverage/unreachable/check_id/main.rs, 23, FULL
coverage/unreachable/check_id/main.rs, 24, FULL
coverage/unreachable/check_id/main.rs, 24, PARTIAL
coverage/unreachable/check_id/main.rs, 25, NONE
2 changes: 1 addition & 1 deletion tests/coverage/unreachable/if-statement/expected
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage/unreachable/if-statement/main.rs, 5, FULL
coverage/unreachable/if-statement/main.rs, 5, PARTIAL
coverage/unreachable/if-statement/main.rs, 7, PARTIAL
coverage/unreachable/if-statement/main.rs, 8, NONE
coverage/unreachable/if-statement/main.rs, 9, NONE
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/unreachable/tutorial_unreachable/expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage/unreachable/tutorial_unreachable/main.rs, 6, FULL
coverage/unreachable/tutorial_unreachable/main.rs, 7, FULL
coverage/unreachable/tutorial_unreachable/main.rs, 8, FULL
coverage/unreachable/tutorial_unreachable/main.rs, 8, PARTIAL
coverage/unreachable/tutorial_unreachable/main.rs, 9, NONE
coverage/unreachable/tutorial_unreachable/main.rs, 11, FULL
2 changes: 1 addition & 1 deletion tests/coverage/unreachable/while-loop-break/expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage/unreachable/while-loop-break/main.rs, 8, FULL
coverage/unreachable/while-loop-break/main.rs, 9, FULL
coverage/unreachable/while-loop-break/main.rs, 9, PARTIAL
coverage/unreachable/while-loop-break/main.rs, 10, FULL
coverage/unreachable/while-loop-break/main.rs, 11, FULL
coverage/unreachable/while-loop-break/main.rs, 13, FULL
Expand Down

0 comments on commit 9f8b069

Please sign in to comment.