Skip to content

Commit

Permalink
Move mbe macro tests to their own directory
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
P-E-P committed Jul 30, 2024
1 parent 3854f5e commit d55bbc2
Show file tree
Hide file tree
Showing 80 changed files with 35 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 35 additions & 0 deletions gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp
Original file line number Diff line number Diff line change
@@ -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
# <http://www.gnu.org/licenses/>.

# 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

0 comments on commit d55bbc2

Please sign in to comment.