about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-19 15:04:38 +0000
committerbors <bors@rust-lang.org>2023-04-19 15:04:38 +0000
commitf0c207f7a8dba1e5c72ac960f7586036caa8aacf (patch)
tree6b097a7b32ad626b194d63aa0f81921df4d5140f
parent9635312bd0af7b5b7d4fdb22c30ccae7558f62da (diff)
parent8a40ff9d072fb0d348f9f2c472950b3eed9d65bf (diff)
downloadrust-f0c207f7a8dba1e5c72ac960f7586036caa8aacf.tar.gz
rust-f0c207f7a8dba1e5c72ac960f7586036caa8aacf.zip
Auto merge of #2846 - oli-obk:rm_borked_test, r=RalfJung
Remove a test that wasn't carrying its weight

See https://github.com/rust-lang/rust/pull/110107#discussion_r1170361671 for discussion.

TLDR: it keeps breaking out of unrelated reasons and the real thing to check (early alloc ids can be tracked without ICEing miri) is hard to check otherwise.
-rw-r--r--src/tools/miri/tests/pass/track-alloc-1.rs6
-rw-r--r--src/tools/miri/tests/pass/track-alloc-1.stderr5
2 files changed, 0 insertions, 11 deletions
diff --git a/src/tools/miri/tests/pass/track-alloc-1.rs b/src/tools/miri/tests/pass/track-alloc-1.rs
deleted file mode 100644
index 427c800dc51..00000000000
--- a/src/tools/miri/tests/pass/track-alloc-1.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-// Ensure that tracking early allocations doesn't ICE Miri.
-// Early allocations are probably part of the runtime and therefore uninteresting, but they
-// shouldn't cause a crash.
-//@compile-flags: -Zmiri-track-alloc-id=1
-//@normalize-stderr-test: "[48] bytes" -> "SIZE bytes"
-fn main() {}
diff --git a/src/tools/miri/tests/pass/track-alloc-1.stderr b/src/tools/miri/tests/pass/track-alloc-1.stderr
deleted file mode 100644
index 7206edbb701..00000000000
--- a/src/tools/miri/tests/pass/track-alloc-1.stderr
+++ /dev/null
@@ -1,5 +0,0 @@
-note: tracking was triggered
-   |
-   = note: created extern static allocation of SIZE bytes (alignment ALIGN bytes) with id 1
-   = note: (no span available)
-