qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [kvm-unit-tests PATCH v2 0/2] run_tests: support concurrent test execution
@ 2017-01-03 10:10 Peter Xu
  2017-01-03 10:10 ` [Qemu-devel] [kvm-unit-tests PATCH v2 1/2] run_tests: put logs into per-test file Peter Xu
  2017-01-03 10:10 ` [Qemu-devel] [kvm-unit-tests PATCH v2 2/2] run_tests: allow run tests in parallel Peter Xu
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Xu @ 2017-01-03 10:10 UTC (permalink / raw)
  To: qemu-devel, kvm
  Cc: Paolo Bonzini, Andrew Jones, peterx, Radim Krčmář

v2:
- patch 1: do per-test logging in all cases
- patch 2: throw away task.bash, instead, take Radim's suggestion to
  use jobs

run_tests.sh is getting slower. Maybe it's time to let it run faster.
An obvious issue is that, we were running the tests sequentially in
the past.

This series provides another new "-j" parameter. "-j 8" means we run
the tests on 8 task queues. That'll fasten the script a lot. A very
quick test of mine shows 3x speed boost with 8 task queues.

Please review, thanks.

Peter Xu (2):
  run_tests: put logs into per-test file
  run_tests: allow run tests in parallel

 Makefile               |  4 ++--
 run_tests.sh           | 26 ++++++++++++++++++--------
 scripts/functions.bash | 24 ++++++++++++++++++++++--
 scripts/global.bash    | 13 +++++++++++++
 4 files changed, 55 insertions(+), 12 deletions(-)
 create mode 100644 scripts/global.bash

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-06  3:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-03 10:10 [Qemu-devel] [kvm-unit-tests PATCH v2 0/2] run_tests: support concurrent test execution Peter Xu
2017-01-03 10:10 ` [Qemu-devel] [kvm-unit-tests PATCH v2 1/2] run_tests: put logs into per-test file Peter Xu
2017-01-03 10:10 ` [Qemu-devel] [kvm-unit-tests PATCH v2 2/2] run_tests: allow run tests in parallel Peter Xu
2017-01-03 10:17   ` Peter Xu
2017-01-04 15:09   ` Radim Krčmář
2017-01-05  3:07     ` Peter Xu
2017-01-05 19:44       ` Radim Krčmář
2017-01-06  3:31         ` Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).