]> git.lizzy.rs Git - rust.git/commitdiff
rename panic=abort tests to panic_abort
authorRalf Jung <post@ralfj.de>
Tue, 19 Nov 2019 21:44:07 +0000 (22:44 +0100)
committerRalf Jung <post@ralfj.de>
Tue, 19 Nov 2019 21:44:07 +0000 (22:44 +0100)
tests/compile-fail/panic1.rs [deleted file]
tests/compile-fail/panic2.rs [deleted file]
tests/compile-fail/panic3.rs [deleted file]
tests/compile-fail/panic4.rs [deleted file]
tests/compile-fail/panic_abort1.rs [new file with mode: 0644]
tests/compile-fail/panic_abort2.rs [new file with mode: 0644]
tests/compile-fail/panic_abort3.rs [new file with mode: 0644]
tests/compile-fail/panic_abort4.rs [new file with mode: 0644]

diff --git a/tests/compile-fail/panic1.rs b/tests/compile-fail/panic1.rs
deleted file mode 100644 (file)
index 4a1bb11..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// ignore-test: Abort panics are not yet supported
-// error-pattern: the evaluated program panicked
-// compile-flags: -C panic=abort
-fn main() {
-    std::panic!("panicking from libstd");
-}
diff --git a/tests/compile-fail/panic2.rs b/tests/compile-fail/panic2.rs
deleted file mode 100644 (file)
index ce4471c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-// ignore-test: Abort panics are not yet supported
-// error-pattern: the evaluated program panicked
-// compile-flags: -C panic=abort
-
-fn main() {
-    std::panic!("{}-panicking from libstd", 42);
-}
diff --git a/tests/compile-fail/panic3.rs b/tests/compile-fail/panic3.rs
deleted file mode 100644 (file)
index 842a0f5..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-// ignore-test: Abort panics are not yet supported
-//error-pattern: the evaluated program panicked
-// compile-flags: -C panic=abort
-
-fn main() {
-    core::panic!("panicking from libcore");
-}
diff --git a/tests/compile-fail/panic4.rs b/tests/compile-fail/panic4.rs
deleted file mode 100644 (file)
index 816cc90..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-// ignore-test: Abort panics are not yet supported
-//error-pattern: the evaluated program panicked
-// compile-flags: -C panic=abort
-
-fn main() {
-    core::panic!("{}-panicking from libcore", 42);
-}
diff --git a/tests/compile-fail/panic_abort1.rs b/tests/compile-fail/panic_abort1.rs
new file mode 100644 (file)
index 0000000..4a1bb11
--- /dev/null
@@ -0,0 +1,6 @@
+// ignore-test: Abort panics are not yet supported
+// error-pattern: the evaluated program panicked
+// compile-flags: -C panic=abort
+fn main() {
+    std::panic!("panicking from libstd");
+}
diff --git a/tests/compile-fail/panic_abort2.rs b/tests/compile-fail/panic_abort2.rs
new file mode 100644 (file)
index 0000000..ce4471c
--- /dev/null
@@ -0,0 +1,7 @@
+// ignore-test: Abort panics are not yet supported
+// error-pattern: the evaluated program panicked
+// compile-flags: -C panic=abort
+
+fn main() {
+    std::panic!("{}-panicking from libstd", 42);
+}
diff --git a/tests/compile-fail/panic_abort3.rs b/tests/compile-fail/panic_abort3.rs
new file mode 100644 (file)
index 0000000..842a0f5
--- /dev/null
@@ -0,0 +1,7 @@
+// ignore-test: Abort panics are not yet supported
+//error-pattern: the evaluated program panicked
+// compile-flags: -C panic=abort
+
+fn main() {
+    core::panic!("panicking from libcore");
+}
diff --git a/tests/compile-fail/panic_abort4.rs b/tests/compile-fail/panic_abort4.rs
new file mode 100644 (file)
index 0000000..816cc90
--- /dev/null
@@ -0,0 +1,7 @@
+// ignore-test: Abort panics are not yet supported
+//error-pattern: the evaluated program panicked
+// compile-flags: -C panic=abort
+
+fn main() {
+    core::panic!("{}-panicking from libcore", 42);
+}