[RFA:] No timeout for ext/pb_ds/regression/hash_data_map_rand.cc
Benjamin Kosnik
bkoz@redhat.com
Tue Feb 6 10:37:00 GMT 2007
> For background, see
> <URL:http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00450.html>.
> This test is one of those that are close to the 5 min timeout
> for "a modern system", causing this to be flagged as a
> regression whenever there's any load on the system. As with
> testsuite/23_containers/set/modifiers/16728.cc there didn't seem
> to be anything magical about the numbers. Reducing the number
> of iterations seemed better than reducing both, and "as usual"
> by a factor of 1000.
Some of these tests throw exceptions probabilistically, thus the
iteration count.
However, I agree for simulator targets this should be set much lower
than it is today.
> libstdc++-v3:
> * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Use only 5
> iterations for simulator targets.
This is ok, but please check into both gcc and gcc-4_2-branch.
I would like to see this approach done consistently for the pb_ds
regression tests that are timing out for you. Do you have a list of them
that you plan to modify along the lines detailed in this patch?
Perhaps you should just do them all at the same time...
-benjami
More information about the Libstdc++
mailing list