aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-05-20 15:44:25 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-05-20 15:47:49 +0100
commite3b8b4f7814c54543d9b7ea3ee8cf2cb9cff351d (patch)
tree9e9aa27947136578384602a3dd338dc7c2b9c59f /compile
parent48f3f27f607d3c145ed1e3ad652baac84aacdb91 (diff)
downloadgcc-e3b8b4f7814c54543d9b7ea3ee8cf2cb9cff351d.zip
gcc-e3b8b4f7814c54543d9b7ea3ee8cf2cb9cff351d.tar.gz
gcc-e3b8b4f7814c54543d9b7ea3ee8cf2cb9cff351d.tar.bz2
libstdc++: Reduce <random> test iterations for simulators
Some of these tests take several minutes on a simulator like cris-elf, so we can conditionally run fewer iterations. The testDiscreteDist helper already supports custom sizes so we just need to make use of that when { target simulator } matches. The relevant code is sufficiently tested on other targets, so we're not losing anything by only running a small number of iterators for sims. libstdc++-v3/ChangeLog: * testsuite/26_numerics/random/bernoulli_distribution/operators/values.cc: Run fewer iterations for simulator targets. * testsuite/26_numerics/random/binomial_distribution/operators/values.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/values.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/values.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/operators/values.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/values.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/values.cc: Likewise.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions