This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA:] No timeout for ext/pb_ds/regression/hash_data_map_rand.cc



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]