launcher: Allow partionning the tests
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Sun, 12 Jan 2020 04:00:06 +0000 (23:00 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 15 Jan 2020 15:04:11 +0000 (10:04 -0500)
commit1bc8e92efcfa0a846443c4dd55ae8c51f28a6f21
tree04a7c8466dfc672ee50ea4f7a2fe3461c2086c73
parente4ca67938e379284ceea89dc9d96963b961addef
launcher: Allow partionning the tests

This introduce new command line options, --parts and --part-index. When
--parts is set to a value larger then 1, the tests will be split in the
same number of group. The group number identified by --part-index will
be executed.

This is being added in orther to support gliblab CI parallel feature.
validate/launcher/baseclasses.py
validate/launcher/main.py