]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Restore dg-do run on pr116906 and pr78185 tests
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 26 May 2025 15:07:47 +0000 (15:07 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 29 Jul 2025 08:07:04 +0000 (08:07 +0000)
Commit r15-7152-g57b706d141b87c removed
/* { dg-do run { target*-*-linux* *-*-gnu* *-*-uclinux* } } */

from these tests, turning them into 'compile' only tests, even when
they could be executed.

This patch adds
/* { dg-do run } */

which is OK since the tests are correctly skipped if needed thanks to
the following effective-targets (alarm and signal).

With this patch we have again two entries for these tests on linux targets:
* compile (test for excess errors)
* execution test

gcc/testsuite/ChangeLog:
* gcc.dg/pr116906-1.c: Add 'dg-do run'.
* gcc.dg/pr116906-2.c: Likewise.
* gcc.dg/pr78185.c: Likewise.

gcc/testsuite/gcc.dg/pr116906-1.c
gcc/testsuite/gcc.dg/pr116906-2.c
gcc/testsuite/gcc.dg/pr78185.c

index 7187507a60d116dee3252389d630abb01f7bd736..ee60ad67e93f82fbe3aa304a876fee8af5dae4a0 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-do run } */
 /* { dg-require-effective-target alarm } */
 /* { dg-require-effective-target signal } */
 /* { dg-options "-O2" } */
index 41a352bf8370949f9f16ba3763131a1b9c72bdcd..4172ec3644a8c0ceb12691c9f4c68020b95298a7 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-do run } */
 /* { dg-require-effective-target alarm } */
 /* { dg-require-effective-target signal } */
 /* { dg-options "-O2 -fno-tree-ch" } */
index ada8b1b9f90773814b1c0a0337d2d4b184b64bc4..4c3af4f2890ec6015a5c82867265ea6b3926e9cc 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-do run } */
 /* { dg-require-effective-target alarm } */
 /* { dg-require-effective-target signal } */
 /* { dg-options "-O" } */