]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: try to determine QEMU_SMP dynamically 11897/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 5 Mar 2019 15:08:00 +0000 (16:08 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 8 Mar 2019 20:28:26 +0000 (21:28 +0100)
commit5bfb2a93a4a36bba0d24199553dcda6e560cbb75
treee44fa58a623f1abcac45e6bb8e6ccac5581f2e41
parent2f2a0454efd07644a4e0ccb3f00f1db2d7043391
test: try to determine QEMU_SMP dynamically

If the QEMU_SMP value has not been explicitly set, try to determine it
from the number of online CPUs using the nproc utility. If this approach
fails, fall back to the default value QEMU_SMP=1.

This change should significantly help when running integration tests
under QEMU on multicore systems.
test/test-functions