* [PATCH] testsuite: Mark gcc.c-torture/execute/memcpy-a?.c tests expensive
@ 2024-12-02 12:27 Maciej W. Rozycki
2024-12-03 21:53 ` Mike Stump
0 siblings, 1 reply; 3+ messages in thread
From: Maciej W. Rozycki @ 2024-12-02 12:27 UTC (permalink / raw)
To: Rainer Orth, Mike Stump, gcc-patches
Cc: Jeff Law, Georg-Johann Lay, Dimitar Dimitrov, Denis Chertykov
These tests can take several seconds per compilation to complete, taking
total elapsed time measured in minutes. Mark them as expensive so as to
let people skip them where they want to save on testing time.
gcc/testsuite/
* gcc.c-torture/execute/memcpy-a1.c: Mark as expensive.
* gcc.c-torture/execute/memcpy-a2.c: Likewise.
* gcc.c-torture/execute/memcpy-a3.c: Likewise.
* gcc.c-torture/execute/memcpy-a4.c: Likewise.
---
gcc/testsuite/gcc.c-torture/execute/memcpy-a1.c | 1 +
gcc/testsuite/gcc.c-torture/execute/memcpy-a2.c | 1 +
gcc/testsuite/gcc.c-torture/execute/memcpy-a4.c | 1 +
gcc/testsuite/gcc.c-torture/execute/memcpy-a8.c | 1 +
4 files changed, 4 insertions(+)
gcc-test-memcpy-expensive.diff
Index: gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a1.c
===================================================================
--- gcc.orig/gcc/testsuite/gcc.c-torture/execute/memcpy-a1.c
+++ gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a1.c
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target run_expensive_tests } */
/* { dg-timeout-factor 8 } */
/* { dg-skip-if "memory full + time hog" { "avr-*-*" } } */
Index: gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a2.c
===================================================================
--- gcc.orig/gcc/testsuite/gcc.c-torture/execute/memcpy-a2.c
+++ gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a2.c
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target run_expensive_tests } */
/* { dg-timeout-factor 8 } */
/* { dg-skip-if "memory full + time hog" { "avr-*-*" } } */
Index: gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a4.c
===================================================================
--- gcc.orig/gcc/testsuite/gcc.c-torture/execute/memcpy-a4.c
+++ gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a4.c
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target run_expensive_tests } */
/* { dg-timeout-factor 8 } */
/* { dg-skip-if "memory full + time hog" { "avr-*-*" } } */
Index: gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a8.c
===================================================================
--- gcc.orig/gcc/testsuite/gcc.c-torture/execute/memcpy-a8.c
+++ gcc/gcc/testsuite/gcc.c-torture/execute/memcpy-a8.c
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target run_expensive_tests } */
/* { dg-timeout-factor 8 } */
/* { dg-skip-if "memory full + time hog" { "avr-*-*" } } */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] testsuite: Mark gcc.c-torture/execute/memcpy-a?.c tests expensive
2024-12-02 12:27 [PATCH] testsuite: Mark gcc.c-torture/execute/memcpy-a?.c tests expensive Maciej W. Rozycki
@ 2024-12-03 21:53 ` Mike Stump
2024-12-10 14:25 ` Maciej W. Rozycki
0 siblings, 1 reply; 3+ messages in thread
From: Mike Stump @ 2024-12-03 21:53 UTC (permalink / raw)
To: Maciej W. Rozycki
Cc: Rainer Orth, GCC Patches, Jeff Law, Georg-Johann Lay,
Dimitar Dimitrov, Denis Chertykov
On Dec 2, 2024, at 4:27 AM, Maciej W. Rozycki <macro@orcam.me.uk> wrote:
>
> These tests can take several seconds per compilation to complete, taking
> total elapsed time measured in minutes. Mark them as expensive so as to
> let people skip them where they want to save on testing time.
>
> gcc/testsuite/
> * gcc.c-torture/execute/memcpy-a1.c: Mark as expensive.
> * gcc.c-torture/execute/memcpy-a2.c: Likewise.
> * gcc.c-torture/execute/memcpy-a3.c: Likewise.
> * gcc.c-torture/execute/memcpy-a4.c: Likewise.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] testsuite: Mark gcc.c-torture/execute/memcpy-a?.c tests expensive
2024-12-03 21:53 ` Mike Stump
@ 2024-12-10 14:25 ` Maciej W. Rozycki
0 siblings, 0 replies; 3+ messages in thread
From: Maciej W. Rozycki @ 2024-12-10 14:25 UTC (permalink / raw)
To: Mike Stump
Cc: Rainer Orth, GCC Patches, Jeff Law, Georg-Johann Lay,
Dimitar Dimitrov, Denis Chertykov
On Tue, 3 Dec 2024, Mike Stump wrote:
> > These tests can take several seconds per compilation to complete, taking
> > total elapsed time measured in minutes. Mark them as expensive so as to
> > let people skip them where they want to save on testing time.
> >
> > gcc/testsuite/
> > * gcc.c-torture/execute/memcpy-a1.c: Mark as expensive.
> > * gcc.c-torture/execute/memcpy-a2.c: Likewise.
> > * gcc.c-torture/execute/memcpy-a3.c: Likewise.
> > * gcc.c-torture/execute/memcpy-a4.c: Likewise.
>
> Thanks.
Applied now (with typos fixed in ChangeLog), thanks.
Maciej
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-12-10 14:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-02 12:27 [PATCH] testsuite: Mark gcc.c-torture/execute/memcpy-a?.c tests expensive Maciej W. Rozycki
2024-12-03 21:53 ` Mike Stump
2024-12-10 14:25 ` Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).