summaryrefslogtreecommitdiffstats
path: root/support/testing/conf
diff options
context:
space:
mode:
authorRicardo Martincoski <ricardo.martincoski@gmail.com>2017-06-28 23:45:48 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-01 16:05:14 +0200
commitf98b93daaa8ed21783302fada55e6587f679e5cd (patch)
treec1eb85e6c2080a7911b6c5478766dd3af7f38fca /support/testing/conf
parent1df8042eadb818e2f7ed3ecac7d8e804efa8b542 (diff)
downloadbuildroot-f98b93daaa8ed21783302fada55e6587f679e5cd.tar.gz
buildroot-f98b93daaa8ed21783302fada55e6587f679e5cd.zip
support/testing: run testcases in parallel
Let the user to pass -t to set the number of testcases to run simultaneously. When -j is not specified, calculate it to split the available cores between the simultaneous testcases. Example of auto calculated -j for cpu_count 8: -t -j total 1 9 9 2 4 8 3 3 9 4 2 8 >=5 1 t Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/testing/conf')
-rw-r--r--support/testing/conf/unittest.cfg1
1 files changed, 0 insertions, 1 deletions
diff --git a/support/testing/conf/unittest.cfg b/support/testing/conf/unittest.cfg
index 6eaa234fc9..4f516fb80a 100644
--- a/support/testing/conf/unittest.cfg
+++ b/support/testing/conf/unittest.cfg
@@ -2,5 +2,4 @@
plugins = nose2.plugins.mp
[multiprocess]
-processes = 1
always-on = True
OpenPOWER on IntegriCloud