2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

zdtm: Handle --external option in RPC

Travis sets up the GCOV variable to collect coverage and
provides an external mount for this. Thus handling this
option in RPC mode is essential.

travis-ci: success for tests: Add RPC testing to CI (rev2)
Acked-by: Andrey Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov
2016-11-08 07:38:21 +03:00
parent 65b7d746e3
commit 19ae737cb9

View File

@@ -713,6 +713,9 @@ class criu_rpc:
if arg == '--root':
criu.opts.root = args.pop(0)
continue
if arg == '--external':
criu.opts.external.append(args.pop(0))
continue
raise test_fail_exc('RPC for %s required' % arg)