]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: nr2.0: Check compile/torture/*.rs tests
authorOwen Avery <powerboat9.gamer@gmail.com>
Sun, 2 Mar 2025 23:54:37 +0000 (18:54 -0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:30:41 +0000 (13:30 +0100)
gcc/testsuite/ChangeLog:

* rust/compile/nr2/compile.exp: Adjust to cover tests in the
torture subdirectory.
* rust/compile/nr2/exclude: Add entries.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/testsuite/rust/compile/nr2/compile.exp
gcc/testsuite/rust/compile/nr2/exclude

index f2724f6c45442a13d62a5f347fb6111150e8e28d..35637f11ee8c35f83851afbc5c60399045555c90 100644 (file)
@@ -14,9 +14,7 @@
 # along with GCC; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
 
-# Compile tests, no torture testing, for name resolution 2.0
-#
-# These tests raise errors in the front end; torture testing doesn't apply.
+# Run compile tests with name resolution 2.0 enabled
 
 # Load support procs.
 load_lib rust-dg.exp
@@ -44,7 +42,7 @@ namespace eval rust-nr2-ns {
     # Run tests in directories
     # Manually specifying these, in case some other test file
     # does something weird
-    set test_dirs {{} {macros builtin} {macros mbe} {macros proc}}
+    set test_dirs {{} {macros builtin} {macros mbe} {macros proc} {torture}}
 
     set tests_expect_ok ""
     set tests_expect_err ""
index 8aaec5d3b221e7895082527728271aca29302c77..d36c24b95e32c8b7fdb48e5bdd70f2af809d6f15 100644 (file)
@@ -50,4 +50,21 @@ for-loop2.rs
 issue-3403.rs
 derive-eq-invalid.rs
 derive-hash1.rs
+torture/alt_patterns1.rs
+torture/builtin_abort.rs
+torture/impl_block3.rs
+torture/issue-1434.rs
+torture/loop4.rs
+torture/loop8.rs
+torture/methods1.rs
+torture/methods2.rs
+torture/methods3.rs
+torture/name_resolve1.rs
+torture/nested_struct1.rs
+torture/struct_init_3.rs
+torture/uninit-intrinsic-1.rs
+torture/generics1.rs
+torture/generics10.rs
+torture/generics13.rs
+torture/generics6.rs
 # please don't delete the trailing newline