Making testsuite runs NOT parallel by default

This commit is contained in:
Sergio Durigan Junior 2014-12-25 18:22:05 -05:00
parent d1d94514e6
commit dedf0d3762

View file

@ -367,8 +367,9 @@ The parameters of the class are:
check", when testing. Should be a dictionary (i.e., {}). The check", when testing. Should be a dictionary (i.e., {}). The
default is None. default is None.
- no_test_parallel: set to True if the test shall not be - test_parallel: set to True if the test shall be parallelized.
parallelized. Default is False. Default is False. Beware that parallelizing tests may cause
some failures due to limited system resources.
- use_system_debuginfo: set to False if GDB should be compiled - use_system_debuginfo: set to False if GDB should be compiled
with the "--with-separate-debug-dir" option set to with the "--with-separate-debug-dir" option set to
@ -386,7 +387,7 @@ The parameters of the class are:
# Set this to false to disable parallel testing (i.e., do not use # Set this to false to disable parallel testing (i.e., do not use
# FORCE_PARALLEL) # FORCE_PARALLEL)
no_test_parallel = False test_parallel = False
# Set this to False to disable using system's debuginfo files # Set this to False to disable using system's debuginfo files
# (i.e., do not use '--with-separate-debug-dir') # (i.e., do not use '--with-separate-debug-dir')
@ -422,7 +423,7 @@ The parameters of the class are:
if not self.test_env: if not self.test_env:
self.test_env = {} self.test_env = {}
if not self.no_test_parallel: if self.test_parallel:
self.extra_make_check_flags.append (WithProperties ("-j%s", 'jobs')) self.extra_make_check_flags.append (WithProperties ("-j%s", 'jobs'))
self.extra_make_check_flags.append ('FORCE_PARALLEL=1') self.extra_make_check_flags.append ('FORCE_PARALLEL=1')