aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_tests.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-26 08:44:00 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-27 13:07:24 -0800
commite68de0e4c91fa9281082193d9bffbe9319e6aecc (patch)
treec60fcaa8ac4d745ae16f051e2ae3ae248e841271 /tools/run_tests/run_tests.py
parent79d9a990ff89fd12821a2c88631e194c8da4342d (diff)
Small tweaks
Run faster on smaller machines. Don't watch '.' prefixed files for changes. These files don't typically contribute to builds, and are used as vim temp files.
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-xtools/run_tests/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index b7248e524b..a699399c27 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -19,7 +19,7 @@ class SimpleConfig(object):
def __init__(self, config):
self.build_config = config
- self.maxjobs = 32 * multiprocessing.cpu_count()
+ self.maxjobs = 2 * multiprocessing.cpu_count()
self.allow_hashing = (config != 'gcov')
def run_command(self, binary):
@@ -32,7 +32,7 @@ class ValgrindConfig(object):
def __init__(self, config, tool):
self.build_config = config
self.tool = tool
- self.maxjobs = 4 * multiprocessing.cpu_count()
+ self.maxjobs = 2 * multiprocessing.cpu_count()
self.allow_hashing = False
def run_command(self, binary):