@@ -13,4 +13,4 @@ int nonempty;
/* Use a Python script to verify various properties about the generated
.sarif file:
- { dg-final { run-sarif-pytest bad-pragma.c "test-bad-pragma.py" } } */
+ { dg-final { run-sarif-pytest bad-pragma.c "bad-pragma.py" } } */
similarity index 100%
rename from gcc/testsuite/gcc.dg/sarif-output/test-bad-pragma.py
rename to gcc/testsuite/gcc.dg/sarif-output/bad-pragma.py
@@ -39,4 +39,4 @@ PATH/include-chain-1-1.h:2:5: note: previous declaration of 'q' with type 'int'
/* Use a Python script to verify various properties about the generated
.sarif file:
- { dg-final { run-sarif-pytest include-chain-1.c "test-include-chain-1.py" } } */
+ { dg-final { run-sarif-pytest include-chain-1.c "include-chain-1.py" } } */
similarity index 100%
rename from gcc/testsuite/gcc.dg/sarif-output/test-include-chain-1.py
rename to gcc/testsuite/gcc.dg/sarif-output/include-chain-1.py
@@ -32,4 +32,4 @@ PATH/include-chain-2.h:6:3: warning: double-'free' of 'ptr' [CWE-415] [-Wanalyze
/* Use a Python script to verify various properties about the generated
.sarif file:
- { dg-final { run-sarif-pytest include-chain-2.c "test-include-chain-2.py" } } */
+ { dg-final { run-sarif-pytest include-chain-2.c "include-chain-2.py" } } */
similarity index 100%
rename from gcc/testsuite/gcc.dg/sarif-output/test-include-chain-2.py
rename to gcc/testsuite/gcc.dg/sarif-output/include-chain-2.py
@@ -19,4 +19,4 @@ int missing_semicolon (void)
/* Use a Python script to verify various properties about the generated
.sarif file:
- { dg-final { run-sarif-pytest missing-semicolon.c "test-missing-semicolon.py" } } */
+ { dg-final { run-sarif-pytest missing-semicolon.c "missing-semicolon.py" } } */
similarity index 100%
rename from gcc/testsuite/gcc.dg/sarif-output/test-missing-semicolon.py
rename to gcc/testsuite/gcc.dg/sarif-output/missing-semicolon.py
@@ -10,4 +10,4 @@ int nonempty;
/* Use a Python script to verify various properties about the generated
.sarif file:
- { dg-final { run-sarif-pytest no-diagnostics.c "test-no-diagnostics.py" } } */
+ { dg-final { run-sarif-pytest no-diagnostics.c "no-diagnostics.py" } } */
similarity index 100%
rename from gcc/testsuite/gcc.dg/sarif-output/test-no-diagnostics.py
rename to gcc/testsuite/gcc.dg/sarif-output/no-diagnostics.py
@@ -15,4 +15,4 @@ static int ununsed;
/* Use a Python script to verify various properties about the generated
.sarif file:
- { dg-final { run-sarif-pytest werror.c "test-werror.py" } } */
+ { dg-final { run-sarif-pytest werror.c "werror.py" } } */
similarity index 100%
rename from gcc/testsuite/gcc.dg/sarif-output/test-werror.py
rename to gcc/testsuite/gcc.dg/sarif-output/werror.py
Drop the "text-" prefix from the various gcc.dg/sarif-output/test-*.py scripts so that the scripts are close to the .c files they are used by when the files are sorted by name. Successfully regrtested on x86_64-pc-linux-gnu. Pushed to trunk as r15-4727-ga67594d1815272. gcc/testsuite/ChangeLog: * gcc.dg/sarif-output/test-bad-pragma.py: Rename to... * gcc.dg/sarif-output/bad-pragma.py: ...this. * gcc.dg/sarif-output/bad-pragma.c: Update for script renaming. * gcc.dg/sarif-output/test-include-chain-1.py: Rename to... * gcc.dg/sarif-output/include-chain-1.py: ...this. * gcc.dg/sarif-output/include-chain-1.c: Update for script renaming. * gcc.dg/sarif-output/test-include-chain-2.py: Rename to... * gcc.dg/sarif-output/include-chain-2.py: ...this. * gcc.dg/sarif-output/include-chain-2.c: Update for script renaming. * gcc.dg/sarif-output/test-missing-semicolon.py: Rename to... * gcc.dg/sarif-output/missing-semicolon.py: ...this. * gcc.dg/sarif-output/missing-semicolon.c: Update for script renaming. * gcc.dg/sarif-output/test-no-diagnostics.py: Rename to... * gcc.dg/sarif-output/no-diagnostics.py: ...this. * gcc.dg/sarif-output/no-diagnostics.c: Update for script renaming. * gcc.dg/sarif-output/test-werror.py: Rename to... * gcc.dg/sarif-output/werror.py: ...this. * gcc.dg/sarif-output/werror.c: Update for script renaming. Signed-off-by: David Malcolm <dmalcolm@redhat.com> --- gcc/testsuite/gcc.dg/sarif-output/bad-pragma.c | 2 +- .../gcc.dg/sarif-output/{test-bad-pragma.py => bad-pragma.py} | 0 gcc/testsuite/gcc.dg/sarif-output/include-chain-1.c | 2 +- .../{test-include-chain-1.py => include-chain-1.py} | 0 gcc/testsuite/gcc.dg/sarif-output/include-chain-2.c | 2 +- .../{test-include-chain-2.py => include-chain-2.py} | 0 gcc/testsuite/gcc.dg/sarif-output/missing-semicolon.c | 2 +- .../{test-missing-semicolon.py => missing-semicolon.py} | 0 gcc/testsuite/gcc.dg/sarif-output/no-diagnostics.c | 2 +- .../sarif-output/{test-no-diagnostics.py => no-diagnostics.py} | 0 gcc/testsuite/gcc.dg/sarif-output/werror.c | 2 +- gcc/testsuite/gcc.dg/sarif-output/{test-werror.py => werror.py} | 0 12 files changed, 6 insertions(+), 6 deletions(-) rename gcc/testsuite/gcc.dg/sarif-output/{test-bad-pragma.py => bad-pragma.py} (100%) rename gcc/testsuite/gcc.dg/sarif-output/{test-include-chain-1.py => include-chain-1.py} (100%) rename gcc/testsuite/gcc.dg/sarif-output/{test-include-chain-2.py => include-chain-2.py} (100%) rename gcc/testsuite/gcc.dg/sarif-output/{test-missing-semicolon.py => missing-semicolon.py} (100%) rename gcc/testsuite/gcc.dg/sarif-output/{test-no-diagnostics.py => no-diagnostics.py} (100%) rename gcc/testsuite/gcc.dg/sarif-output/{test-werror.py => werror.py} (100%)