HomePhabricator

tests: limit per-suite forks to cpu count

Authored by zmike on Jul 17 2018, 7:45 AM.

Description

tests: limit per-suite forks to cpu count

this is mostly fine to thrash the cpus on beefy desktop computers, but
it completely destroys travis's wimpy 2cpu/2gb ram configurations and causes
all the tests to fail

instead, restrict forking to the number of cpus detected and wait until a fork
exits before beginning a new one

ref T7151

Differential Revision: https://phab.enlightenment.org/D6597