diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2024-12-23 01:45:04 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2024-12-24 02:00:20 +0100 |
commit | 11090da81e49c37fa5f271b0e0f10291eb0971bc (patch) | |
tree | 7a7bc2f409f7ad9bd5b889d57eddc114804398e6 | |
parent | 4a8af01be09b17af31984850e3a5a63d23b7b0e8 (diff) | |
download | gcc-11090da81e49c37fa5f271b0e0f10291eb0971bc.zip gcc-11090da81e49c37fa5f271b0e0f10291eb0971bc.tar.gz gcc-11090da81e49c37fa5f271b0e0f10291eb0971bc.tar.bz2 |
testsuite/gcc.dg/memcmp-1.c: Cut down a factor of 7 for simulators
Running tests in parallel on my 4.5y+ old laptop made this
test time out: the test itself runs in 9m20s, the timeout
being 10 minutes with the 2x factor. That's a bit too close.
This commit does to the base test a similar change as was
done for gcc.dg/torture/inline-mem-cpy-1.c in commit
r14-8188-g6eca0d23b7ea84; or IOW cut it down a factor of 7
(r14-8188 was by a factor of 11).
* gcc.dg/memcmp-1.c: Pass -DRUN_FRACTION=7 when testing in a simulator.
-rw-r--r-- | gcc/testsuite/gcc.dg/memcmp-1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/memcmp-1.c b/gcc/testsuite/gcc.dg/memcmp-1.c index 13ef5b3..7a783222 100644 --- a/gcc/testsuite/gcc.dg/memcmp-1.c +++ b/gcc/testsuite/gcc.dg/memcmp-1.c @@ -2,6 +2,7 @@ /* { dg-do run } */ /* { dg-options "-O2" } */ /* { dg-require-effective-target ptr32plus } */ +/* { dg-additional-options "-DRUN_FRACTION=7" { target simulator } } */ /* { dg-timeout-factor 2 } */ #include <stdio.h> |