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