From d55bbc2e8facd00ed1a046e1657023aa8474e36e Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Patry Date: Mon, 29 Jul 2024 14:27:32 +0200 Subject: [PATCH] Move mbe macro tests to their own directory gcc/testsuite/ChangeLog: * rust/compile/macro-delim.rs: Move to... * rust/compile/macros/mbe/macro-delim.rs: ...here. * rust/compile/macro-issue1053-2.rs: Move to... * rust/compile/macros/mbe/macro-issue1053-2.rs: ...here. * rust/compile/macro-issue1053.rs: Move to... * rust/compile/macros/mbe/macro-issue1053.rs: ...here. * rust/compile/macro-issue1224.rs: Move to... * rust/compile/macros/mbe/macro-issue1224.rs: ...here. * rust/compile/macro-issue1233.rs: Move to... * rust/compile/macros/mbe/macro-issue1233.rs: ...here. * rust/compile/macro-issue1395-2.rs: Move to... * rust/compile/macros/mbe/macro-issue1395-2.rs: ...here. * rust/compile/macro-issue1395.rs: Move to... * rust/compile/macros/mbe/macro-issue1395.rs: ...here. * rust/compile/macro-issue1400-2.rs: Move to... * rust/compile/macros/mbe/macro-issue1400-2.rs: ...here. * rust/compile/macro-issue1400.rs: Move to... * rust/compile/macros/mbe/macro-issue1400.rs: ...here. * rust/compile/macro-issue2092.rs: Move to... * rust/compile/macros/mbe/macro-issue2092.rs: ...here. * rust/compile/macro-issue2192.rs: Move to... * rust/compile/macros/mbe/macro-issue2192.rs: ...here. * rust/compile/macro-issue2194.rs: Move to... * rust/compile/macros/mbe/macro-issue2194.rs: ...here. * rust/compile/macro-issue2229.rs: Move to... * rust/compile/macros/mbe/macro-issue2229.rs: ...here. * rust/compile/macro-issue2264.rs: Move to... * rust/compile/macros/mbe/macro-issue2264.rs: ...here. * rust/compile/macro-issue2268.rs: Move to... * rust/compile/macros/mbe/macro-issue2268.rs: ...here. * rust/compile/macro-issue2273.rs: Move to... * rust/compile/macros/mbe/macro-issue2273.rs: ...here. * rust/compile/macro-issue2653.rs: Move to... * rust/compile/macros/mbe/macro-issue2653.rs: ...here. * rust/compile/macro-issue2983_2984.rs: Move to... * rust/compile/macros/mbe/macro-issue2983_2984.rs: ...here. * rust/compile/macro1.rs: Move to... * rust/compile/macros/mbe/macro1.rs: ...here. * rust/compile/macro10.rs: Move to... * rust/compile/macros/mbe/macro10.rs: ...here. * rust/compile/macro11.rs: Move to... * rust/compile/macros/mbe/macro11.rs: ...here. * rust/compile/macro12.rs: Move to... * rust/compile/macros/mbe/macro12.rs: ...here. * rust/compile/macro13.rs: Move to... * rust/compile/macros/mbe/macro13.rs: ...here. * rust/compile/macro14.rs: Move to... * rust/compile/macros/mbe/macro14.rs: ...here. * rust/compile/macro15.rs: Move to... * rust/compile/macros/mbe/macro15.rs: ...here. * rust/compile/macro16.rs: Move to... * rust/compile/macros/mbe/macro16.rs: ...here. * rust/compile/macro17.rs: Move to... * rust/compile/macros/mbe/macro17.rs: ...here. * rust/compile/macro18.rs: Move to... * rust/compile/macros/mbe/macro18.rs: ...here. * rust/compile/macro19.rs: Move to... * rust/compile/macros/mbe/macro19.rs: ...here. * rust/compile/macro2.rs: Move to... * rust/compile/macros/mbe/macro2.rs: ...here. * rust/compile/macro20.rs: Move to... * rust/compile/macros/mbe/macro20.rs: ...here. * rust/compile/macro21.rs: Move to... * rust/compile/macros/mbe/macro21.rs: ...here. * rust/compile/macro22.rs: Move to... * rust/compile/macros/mbe/macro22.rs: ...here. * rust/compile/macro23.rs: Move to... * rust/compile/macros/mbe/macro23.rs: ...here. * rust/compile/macro25.rs: Move to... * rust/compile/macros/mbe/macro25.rs: ...here. * rust/compile/macro26.rs: Move to... * rust/compile/macros/mbe/macro26.rs: ...here. * rust/compile/macro27.rs: Move to... * rust/compile/macros/mbe/macro27.rs: ...here. * rust/compile/macro28.rs: Move to... * rust/compile/macros/mbe/macro28.rs: ...here. * rust/compile/macro29.rs: Move to... * rust/compile/macros/mbe/macro29.rs: ...here. * rust/compile/macro3.rs: Move to... * rust/compile/macros/mbe/macro3.rs: ...here. * rust/compile/macro30.rs: Move to... * rust/compile/macros/mbe/macro30.rs: ...here. * rust/compile/macro31.rs: Move to... * rust/compile/macros/mbe/macro31.rs: ...here. * rust/compile/macro32.rs: Move to... * rust/compile/macros/mbe/macro32.rs: ...here. * rust/compile/macro33.rs: Move to... * rust/compile/macros/mbe/macro33.rs: ...here. * rust/compile/macro34.rs: Move to... * rust/compile/macros/mbe/macro34.rs: ...here. * rust/compile/macro35.rs: Move to... * rust/compile/macros/mbe/macro35.rs: ...here. * rust/compile/macro36.rs: Move to... * rust/compile/macros/mbe/macro36.rs: ...here. * rust/compile/macro37.rs: Move to... * rust/compile/macros/mbe/macro37.rs: ...here. * rust/compile/macro38.rs: Move to... * rust/compile/macros/mbe/macro38.rs: ...here. * rust/compile/macro39.rs: Move to... * rust/compile/macros/mbe/macro39.rs: ...here. * rust/compile/macro4.rs: Move to... * rust/compile/macros/mbe/macro4.rs: ...here. * rust/compile/macro40.rs: Move to... * rust/compile/macros/mbe/macro40.rs: ...here. * rust/compile/macro41.rs: Move to... * rust/compile/macros/mbe/macro41.rs: ...here. * rust/compile/macro42.rs: Move to... * rust/compile/macros/mbe/macro42.rs: ...here. * rust/compile/macro43.rs: Move to... * rust/compile/macros/mbe/macro43.rs: ...here. * rust/compile/macro44.rs: Move to... * rust/compile/macros/mbe/macro44.rs: ...here. * rust/compile/macro45.rs: Move to... * rust/compile/macros/mbe/macro45.rs: ...here. * rust/compile/macro46.rs: Move to... * rust/compile/macros/mbe/macro46.rs: ...here. * rust/compile/macro47.rs: Move to... * rust/compile/macros/mbe/macro47.rs: ...here. * rust/compile/macro48.rs: Move to... * rust/compile/macros/mbe/macro48.rs: ...here. * rust/compile/macro49.rs: Move to... * rust/compile/macros/mbe/macro49.rs: ...here. * rust/compile/macro5.rs: Move to... * rust/compile/macros/mbe/macro5.rs: ...here. * rust/compile/macro50.rs: Move to... * rust/compile/macros/mbe/macro50.rs: ...here. * rust/compile/macro51.rs: Move to... * rust/compile/macros/mbe/macro51.rs: ...here. * rust/compile/macro52.rs: Move to... * rust/compile/macros/mbe/macro52.rs: ...here. * rust/compile/macro53.rs: Move to... * rust/compile/macros/mbe/macro53.rs: ...here. * rust/compile/macro54.rs: Move to... * rust/compile/macros/mbe/macro54.rs: ...here. * rust/compile/macro55.rs: Move to... * rust/compile/macros/mbe/macro55.rs: ...here. * rust/compile/macro56.rs: Move to... * rust/compile/macros/mbe/macro56.rs: ...here. * rust/compile/macro57.rs: Move to... * rust/compile/macros/mbe/macro57.rs: ...here. * rust/compile/macro6.rs: Move to... * rust/compile/macros/mbe/macro6.rs: ...here. * rust/compile/macro7.rs: Move to... * rust/compile/macros/mbe/macro7.rs: ...here. * rust/compile/macro8.rs: Move to... * rust/compile/macros/mbe/macro8.rs: ...here. * rust/compile/macro9.rs: Move to... * rust/compile/macros/mbe/macro9.rs: ...here. * rust/compile/macro_call_statement.rs: Move to... * rust/compile/macros/mbe/macro_call_statement.rs: ...here. * rust/compile/macro_export_1.rs: Move to... * rust/compile/macros/mbe/macro_export_1.rs: ...here. * rust/compile/macro_return.rs: Move to... * rust/compile/macros/mbe/macro_return.rs: ...here. * rust/compile/macro_rules_macro_rules.rs: Move to... * rust/compile/macros/mbe/macro_rules_macro_rules.rs: ...here. * rust/compile/macro_use1.rs: Move to... * rust/compile/macros/mbe/macro_use1.rs: ...here. * rust/compile/macros/mbe/mbe_macro.exp: New test. Signed-off-by: Pierre-Emmanuel Patry --- .../compile/{ => macros/mbe}/macro-delim.rs | 0 .../{ => macros/mbe}/macro-issue1053-2.rs | 0 .../{ => macros/mbe}/macro-issue1053.rs | 0 .../{ => macros/mbe}/macro-issue1224.rs | 0 .../{ => macros/mbe}/macro-issue1233.rs | 0 .../{ => macros/mbe}/macro-issue1395-2.rs | 0 .../{ => macros/mbe}/macro-issue1395.rs | 0 .../{ => macros/mbe}/macro-issue1400-2.rs | 0 .../{ => macros/mbe}/macro-issue1400.rs | 0 .../{ => macros/mbe}/macro-issue2092.rs | 0 .../{ => macros/mbe}/macro-issue2192.rs | 0 .../{ => macros/mbe}/macro-issue2194.rs | 0 .../{ => macros/mbe}/macro-issue2229.rs | 0 .../{ => macros/mbe}/macro-issue2264.rs | 0 .../{ => macros/mbe}/macro-issue2268.rs | 0 .../{ => macros/mbe}/macro-issue2273.rs | 0 .../{ => macros/mbe}/macro-issue2653.rs | 0 .../{ => macros/mbe}/macro-issue2983_2984.rs | 0 .../rust/compile/{ => macros/mbe}/macro1.rs | 0 .../rust/compile/{ => macros/mbe}/macro10.rs | 0 .../rust/compile/{ => macros/mbe}/macro11.rs | 0 .../rust/compile/{ => macros/mbe}/macro12.rs | 0 .../rust/compile/{ => macros/mbe}/macro13.rs | 0 .../rust/compile/{ => macros/mbe}/macro14.rs | 0 .../rust/compile/{ => macros/mbe}/macro15.rs | 0 .../rust/compile/{ => macros/mbe}/macro16.rs | 0 .../rust/compile/{ => macros/mbe}/macro17.rs | 0 .../rust/compile/{ => macros/mbe}/macro18.rs | 0 .../rust/compile/{ => macros/mbe}/macro19.rs | 0 .../rust/compile/{ => macros/mbe}/macro2.rs | 0 .../rust/compile/{ => macros/mbe}/macro20.rs | 0 .../rust/compile/{ => macros/mbe}/macro21.rs | 0 .../rust/compile/{ => macros/mbe}/macro22.rs | 0 .../rust/compile/{ => macros/mbe}/macro23.rs | 0 .../rust/compile/{ => macros/mbe}/macro25.rs | 0 .../rust/compile/{ => macros/mbe}/macro26.rs | 0 .../rust/compile/{ => macros/mbe}/macro27.rs | 0 .../rust/compile/{ => macros/mbe}/macro28.rs | 0 .../rust/compile/{ => macros/mbe}/macro29.rs | 0 .../rust/compile/{ => macros/mbe}/macro3.rs | 0 .../rust/compile/{ => macros/mbe}/macro30.rs | 0 .../rust/compile/{ => macros/mbe}/macro31.rs | 0 .../rust/compile/{ => macros/mbe}/macro32.rs | 0 .../rust/compile/{ => macros/mbe}/macro33.rs | 0 .../rust/compile/{ => macros/mbe}/macro34.rs | 0 .../rust/compile/{ => macros/mbe}/macro35.rs | 0 .../rust/compile/{ => macros/mbe}/macro36.rs | 0 .../rust/compile/{ => macros/mbe}/macro37.rs | 0 .../rust/compile/{ => macros/mbe}/macro38.rs | 0 .../rust/compile/{ => macros/mbe}/macro39.rs | 0 .../rust/compile/{ => macros/mbe}/macro4.rs | 0 .../rust/compile/{ => macros/mbe}/macro40.rs | 0 .../rust/compile/{ => macros/mbe}/macro41.rs | 0 .../rust/compile/{ => macros/mbe}/macro42.rs | 0 .../rust/compile/{ => macros/mbe}/macro43.rs | 0 .../rust/compile/{ => macros/mbe}/macro44.rs | 0 .../rust/compile/{ => macros/mbe}/macro45.rs | 0 .../rust/compile/{ => macros/mbe}/macro46.rs | 0 .../rust/compile/{ => macros/mbe}/macro47.rs | 0 .../rust/compile/{ => macros/mbe}/macro48.rs | 0 .../rust/compile/{ => macros/mbe}/macro49.rs | 0 .../rust/compile/{ => macros/mbe}/macro5.rs | 0 .../rust/compile/{ => macros/mbe}/macro50.rs | 0 .../rust/compile/{ => macros/mbe}/macro51.rs | 0 .../rust/compile/{ => macros/mbe}/macro52.rs | 0 .../rust/compile/{ => macros/mbe}/macro53.rs | 0 .../rust/compile/{ => macros/mbe}/macro54.rs | 0 .../rust/compile/{ => macros/mbe}/macro55.rs | 0 .../rust/compile/{ => macros/mbe}/macro56.rs | 0 .../rust/compile/{ => macros/mbe}/macro57.rs | 0 .../rust/compile/{ => macros/mbe}/macro6.rs | 0 .../rust/compile/{ => macros/mbe}/macro7.rs | 0 .../rust/compile/{ => macros/mbe}/macro8.rs | 0 .../rust/compile/{ => macros/mbe}/macro9.rs | 0 .../{ => macros/mbe}/macro_call_statement.rs | 0 .../{ => macros/mbe}/macro_export_1.rs | 0 .../compile/{ => macros/mbe}/macro_return.rs | 0 .../mbe}/macro_rules_macro_rules.rs | 0 .../compile/{ => macros/mbe}/macro_use1.rs | 0 .../rust/compile/macros/mbe/mbe_macro.exp | 35 +++++++++++++++++++ 80 files changed, 35 insertions(+) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-delim.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1053-2.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1053.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1224.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1233.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1395-2.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1395.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1400-2.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue1400.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2092.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2192.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2194.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2229.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2264.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2268.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2273.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2653.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro-issue2983_2984.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro1.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro10.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro11.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro12.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro13.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro14.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro15.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro16.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro17.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro18.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro19.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro2.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro20.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro21.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro22.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro23.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro25.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro26.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro27.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro28.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro29.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro3.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro30.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro31.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro32.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro33.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro34.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro35.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro36.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro37.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro38.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro39.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro4.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro40.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro41.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro42.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro43.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro44.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro45.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro46.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro47.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro48.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro49.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro5.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro50.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro51.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro52.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro53.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro54.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro55.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro56.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro57.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro6.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro7.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro8.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro9.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro_call_statement.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro_export_1.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro_return.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro_rules_macro_rules.rs (100%) rename gcc/testsuite/rust/compile/{ => macros/mbe}/macro_use1.rs (100%) create mode 100644 gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp diff --git a/gcc/testsuite/rust/compile/macro-delim.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-delim.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-delim.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-delim.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1053-2.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1053-2.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1053-2.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1053-2.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1053.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1053.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1053.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1053.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1224.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1224.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1224.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1224.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1233.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1233.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1233.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1233.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1395-2.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1395-2.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1395-2.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1395-2.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1395.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1395.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1395.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1395.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1400-2.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1400-2.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1400-2.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1400-2.rs diff --git a/gcc/testsuite/rust/compile/macro-issue1400.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue1400.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue1400.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue1400.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2092.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2092.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2092.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2092.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2192.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2192.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2192.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2192.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2194.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2194.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2194.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2194.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2229.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2229.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2229.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2229.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2264.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2264.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2264.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2264.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2268.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2268.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2268.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2268.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2273.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2273.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2273.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2273.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2653.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2653.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2653.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2653.rs diff --git a/gcc/testsuite/rust/compile/macro-issue2983_2984.rs b/gcc/testsuite/rust/compile/macros/mbe/macro-issue2983_2984.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro-issue2983_2984.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro-issue2983_2984.rs diff --git a/gcc/testsuite/rust/compile/macro1.rs b/gcc/testsuite/rust/compile/macros/mbe/macro1.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro1.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro1.rs diff --git a/gcc/testsuite/rust/compile/macro10.rs b/gcc/testsuite/rust/compile/macros/mbe/macro10.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro10.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro10.rs diff --git a/gcc/testsuite/rust/compile/macro11.rs b/gcc/testsuite/rust/compile/macros/mbe/macro11.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro11.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro11.rs diff --git a/gcc/testsuite/rust/compile/macro12.rs b/gcc/testsuite/rust/compile/macros/mbe/macro12.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro12.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro12.rs diff --git a/gcc/testsuite/rust/compile/macro13.rs b/gcc/testsuite/rust/compile/macros/mbe/macro13.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro13.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro13.rs diff --git a/gcc/testsuite/rust/compile/macro14.rs b/gcc/testsuite/rust/compile/macros/mbe/macro14.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro14.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro14.rs diff --git a/gcc/testsuite/rust/compile/macro15.rs b/gcc/testsuite/rust/compile/macros/mbe/macro15.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro15.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro15.rs diff --git a/gcc/testsuite/rust/compile/macro16.rs b/gcc/testsuite/rust/compile/macros/mbe/macro16.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro16.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro16.rs diff --git a/gcc/testsuite/rust/compile/macro17.rs b/gcc/testsuite/rust/compile/macros/mbe/macro17.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro17.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro17.rs diff --git a/gcc/testsuite/rust/compile/macro18.rs b/gcc/testsuite/rust/compile/macros/mbe/macro18.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro18.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro18.rs diff --git a/gcc/testsuite/rust/compile/macro19.rs b/gcc/testsuite/rust/compile/macros/mbe/macro19.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro19.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro19.rs diff --git a/gcc/testsuite/rust/compile/macro2.rs b/gcc/testsuite/rust/compile/macros/mbe/macro2.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro2.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro2.rs diff --git a/gcc/testsuite/rust/compile/macro20.rs b/gcc/testsuite/rust/compile/macros/mbe/macro20.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro20.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro20.rs diff --git a/gcc/testsuite/rust/compile/macro21.rs b/gcc/testsuite/rust/compile/macros/mbe/macro21.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro21.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro21.rs diff --git a/gcc/testsuite/rust/compile/macro22.rs b/gcc/testsuite/rust/compile/macros/mbe/macro22.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro22.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro22.rs diff --git a/gcc/testsuite/rust/compile/macro23.rs b/gcc/testsuite/rust/compile/macros/mbe/macro23.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro23.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro23.rs diff --git a/gcc/testsuite/rust/compile/macro25.rs b/gcc/testsuite/rust/compile/macros/mbe/macro25.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro25.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro25.rs diff --git a/gcc/testsuite/rust/compile/macro26.rs b/gcc/testsuite/rust/compile/macros/mbe/macro26.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro26.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro26.rs diff --git a/gcc/testsuite/rust/compile/macro27.rs b/gcc/testsuite/rust/compile/macros/mbe/macro27.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro27.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro27.rs diff --git a/gcc/testsuite/rust/compile/macro28.rs b/gcc/testsuite/rust/compile/macros/mbe/macro28.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro28.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro28.rs diff --git a/gcc/testsuite/rust/compile/macro29.rs b/gcc/testsuite/rust/compile/macros/mbe/macro29.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro29.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro29.rs diff --git a/gcc/testsuite/rust/compile/macro3.rs b/gcc/testsuite/rust/compile/macros/mbe/macro3.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro3.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro3.rs diff --git a/gcc/testsuite/rust/compile/macro30.rs b/gcc/testsuite/rust/compile/macros/mbe/macro30.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro30.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro30.rs diff --git a/gcc/testsuite/rust/compile/macro31.rs b/gcc/testsuite/rust/compile/macros/mbe/macro31.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro31.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro31.rs diff --git a/gcc/testsuite/rust/compile/macro32.rs b/gcc/testsuite/rust/compile/macros/mbe/macro32.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro32.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro32.rs diff --git a/gcc/testsuite/rust/compile/macro33.rs b/gcc/testsuite/rust/compile/macros/mbe/macro33.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro33.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro33.rs diff --git a/gcc/testsuite/rust/compile/macro34.rs b/gcc/testsuite/rust/compile/macros/mbe/macro34.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro34.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro34.rs diff --git a/gcc/testsuite/rust/compile/macro35.rs b/gcc/testsuite/rust/compile/macros/mbe/macro35.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro35.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro35.rs diff --git a/gcc/testsuite/rust/compile/macro36.rs b/gcc/testsuite/rust/compile/macros/mbe/macro36.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro36.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro36.rs diff --git a/gcc/testsuite/rust/compile/macro37.rs b/gcc/testsuite/rust/compile/macros/mbe/macro37.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro37.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro37.rs diff --git a/gcc/testsuite/rust/compile/macro38.rs b/gcc/testsuite/rust/compile/macros/mbe/macro38.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro38.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro38.rs diff --git a/gcc/testsuite/rust/compile/macro39.rs b/gcc/testsuite/rust/compile/macros/mbe/macro39.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro39.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro39.rs diff --git a/gcc/testsuite/rust/compile/macro4.rs b/gcc/testsuite/rust/compile/macros/mbe/macro4.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro4.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro4.rs diff --git a/gcc/testsuite/rust/compile/macro40.rs b/gcc/testsuite/rust/compile/macros/mbe/macro40.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro40.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro40.rs diff --git a/gcc/testsuite/rust/compile/macro41.rs b/gcc/testsuite/rust/compile/macros/mbe/macro41.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro41.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro41.rs diff --git a/gcc/testsuite/rust/compile/macro42.rs b/gcc/testsuite/rust/compile/macros/mbe/macro42.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro42.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro42.rs diff --git a/gcc/testsuite/rust/compile/macro43.rs b/gcc/testsuite/rust/compile/macros/mbe/macro43.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro43.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro43.rs diff --git a/gcc/testsuite/rust/compile/macro44.rs b/gcc/testsuite/rust/compile/macros/mbe/macro44.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro44.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro44.rs diff --git a/gcc/testsuite/rust/compile/macro45.rs b/gcc/testsuite/rust/compile/macros/mbe/macro45.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro45.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro45.rs diff --git a/gcc/testsuite/rust/compile/macro46.rs b/gcc/testsuite/rust/compile/macros/mbe/macro46.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro46.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro46.rs diff --git a/gcc/testsuite/rust/compile/macro47.rs b/gcc/testsuite/rust/compile/macros/mbe/macro47.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro47.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro47.rs diff --git a/gcc/testsuite/rust/compile/macro48.rs b/gcc/testsuite/rust/compile/macros/mbe/macro48.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro48.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro48.rs diff --git a/gcc/testsuite/rust/compile/macro49.rs b/gcc/testsuite/rust/compile/macros/mbe/macro49.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro49.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro49.rs diff --git a/gcc/testsuite/rust/compile/macro5.rs b/gcc/testsuite/rust/compile/macros/mbe/macro5.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro5.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro5.rs diff --git a/gcc/testsuite/rust/compile/macro50.rs b/gcc/testsuite/rust/compile/macros/mbe/macro50.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro50.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro50.rs diff --git a/gcc/testsuite/rust/compile/macro51.rs b/gcc/testsuite/rust/compile/macros/mbe/macro51.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro51.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro51.rs diff --git a/gcc/testsuite/rust/compile/macro52.rs b/gcc/testsuite/rust/compile/macros/mbe/macro52.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro52.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro52.rs diff --git a/gcc/testsuite/rust/compile/macro53.rs b/gcc/testsuite/rust/compile/macros/mbe/macro53.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro53.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro53.rs diff --git a/gcc/testsuite/rust/compile/macro54.rs b/gcc/testsuite/rust/compile/macros/mbe/macro54.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro54.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro54.rs diff --git a/gcc/testsuite/rust/compile/macro55.rs b/gcc/testsuite/rust/compile/macros/mbe/macro55.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro55.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro55.rs diff --git a/gcc/testsuite/rust/compile/macro56.rs b/gcc/testsuite/rust/compile/macros/mbe/macro56.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro56.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro56.rs diff --git a/gcc/testsuite/rust/compile/macro57.rs b/gcc/testsuite/rust/compile/macros/mbe/macro57.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro57.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro57.rs diff --git a/gcc/testsuite/rust/compile/macro6.rs b/gcc/testsuite/rust/compile/macros/mbe/macro6.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro6.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro6.rs diff --git a/gcc/testsuite/rust/compile/macro7.rs b/gcc/testsuite/rust/compile/macros/mbe/macro7.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro7.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro7.rs diff --git a/gcc/testsuite/rust/compile/macro8.rs b/gcc/testsuite/rust/compile/macros/mbe/macro8.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro8.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro8.rs diff --git a/gcc/testsuite/rust/compile/macro9.rs b/gcc/testsuite/rust/compile/macros/mbe/macro9.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro9.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro9.rs diff --git a/gcc/testsuite/rust/compile/macro_call_statement.rs b/gcc/testsuite/rust/compile/macros/mbe/macro_call_statement.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro_call_statement.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro_call_statement.rs diff --git a/gcc/testsuite/rust/compile/macro_export_1.rs b/gcc/testsuite/rust/compile/macros/mbe/macro_export_1.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro_export_1.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro_export_1.rs diff --git a/gcc/testsuite/rust/compile/macro_return.rs b/gcc/testsuite/rust/compile/macros/mbe/macro_return.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro_return.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro_return.rs diff --git a/gcc/testsuite/rust/compile/macro_rules_macro_rules.rs b/gcc/testsuite/rust/compile/macros/mbe/macro_rules_macro_rules.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro_rules_macro_rules.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro_rules_macro_rules.rs diff --git a/gcc/testsuite/rust/compile/macro_use1.rs b/gcc/testsuite/rust/compile/macros/mbe/macro_use1.rs similarity index 100% rename from gcc/testsuite/rust/compile/macro_use1.rs rename to gcc/testsuite/rust/compile/macros/mbe/macro_use1.rs diff --git a/gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp b/gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp new file mode 100644 index 000000000000..ac891db246e3 --- /dev/null +++ b/gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp @@ -0,0 +1,35 @@ +# Copyright (C) 2021-2024 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# . + +# Compile tests, no torture testing. +# +# These tests raise errors in the front end; torture testing doesn't apply. + +# Load support procs. +load_lib rust-dg.exp + +# Initialize `dg'. +dg-init + +# Main loop. +set saved-dg-do-what-default ${dg-do-what-default} + +set dg-do-what-default "compile" +dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.rs]] "" "" +set dg-do-what-default ${saved-dg-do-what-default} + +# All done. +dg-finish