[gcc r15-10670] testsuite: fix typo in name of plugin test file

David Malcolm dmalcolm@gcc.gnu.org
Wed Jan 14 22:17:49 GMT 2026


https://gcc.gnu.org/g:5bb0345ab3b6d0894fa34cbcbe77bef5425b2940

commit r15-10670-g5bb0345ab3b6d0894fa34cbcbe77bef5425b2940
Author: David Malcolm <dmalcolm@redhat.com>
Date:   Fri Sep 12 10:24:35 2025 -0400

    testsuite: fix typo in name of plugin test file
    
    Backported from commit 85a97e1a8ee934f46b89958b8374dd880dd489a4
    
    gcc/testsuite/ChangeLog:
            * gcc.dg/plugin/crash-test-write-though-null-sarif.c: Rename to...
            * gcc.dg/plugin/crash-test-write-through-null-sarif.c: ...this.
            * gcc.dg/plugin/crash-test-write-though-null-stderr.c: Rename to...
            * gcc.dg/plugin/crash-test-write-through-null-stderr.c: ...this.
            * gcc.dg/plugin/plugin.exp: Update for above renamings.  Sort the
            test files for crash_test_plugin.cc alphabetically.
    
    Signed-off-by: David Malcolm <dmalcolm@redhat.com>

Diff:
---
 ...-though-null-sarif.c => crash-test-write-through-null-sarif.c} | 0
 ...hough-null-stderr.c => crash-test-write-through-null-stderr.c} | 0
 gcc/testsuite/gcc.dg/plugin/plugin.exp                            | 8 ++++----
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/plugin/crash-test-write-though-null-sarif.c b/gcc/testsuite/gcc.dg/plugin/crash-test-write-through-null-sarif.c
similarity index 100%
rename from gcc/testsuite/gcc.dg/plugin/crash-test-write-though-null-sarif.c
rename to gcc/testsuite/gcc.dg/plugin/crash-test-write-through-null-sarif.c
diff --git a/gcc/testsuite/gcc.dg/plugin/crash-test-write-though-null-stderr.c b/gcc/testsuite/gcc.dg/plugin/crash-test-write-through-null-stderr.c
similarity index 100%
rename from gcc/testsuite/gcc.dg/plugin/crash-test-write-though-null-stderr.c
rename to gcc/testsuite/gcc.dg/plugin/crash-test-write-through-null-stderr.c
diff --git a/gcc/testsuite/gcc.dg/plugin/plugin.exp b/gcc/testsuite/gcc.dg/plugin/plugin.exp
index 4221ae1a63fb..cccfd3baabcb 100644
--- a/gcc/testsuite/gcc.dg/plugin/plugin.exp
+++ b/gcc/testsuite/gcc.dg/plugin/plugin.exp
@@ -70,12 +70,12 @@ set plugin_test_list [list \
     { poly-int-06_plugin.cc poly-int-test-1.c } \
     { poly-int-07_plugin.cc poly-int-test-1.c } \
     { crash_test_plugin.cc \
-	  crash-test-ice-stderr.c \
-	  crash-test-write-though-null-stderr.c \
-	  crash-test-ice-sarif.c \
 	  crash-test-ice-in-header-sarif-2.1.c \
 	  crash-test-ice-in-header-sarif-2.2.c \
-	  crash-test-write-though-null-sarif.c } \
+	  crash-test-ice-sarif.c \
+	  crash-test-ice-stderr.c \
+	  crash-test-write-through-null-sarif.c \
+	  crash-test-write-through-null-stderr.c } \
     { diagnostic_plugin_xhtml_format.cc \
 	  diagnostic-test-xhtml-1.c } \
     { diagnostic_group_plugin.cc \


More information about the Gcc-cvs mailing list