Commit 19ae737c authored by Pavel Emelyanov's avatar Pavel Emelyanov

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: 's avatarAndrey Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 65b7d746
...@@ -713,6 +713,9 @@ class criu_rpc: ...@@ -713,6 +713,9 @@ class criu_rpc:
if arg == '--root': if arg == '--root':
criu.opts.root = args.pop(0) criu.opts.root = args.pop(0)
continue continue
if arg == '--external':
criu.opts.external.append(args.pop(0))
continue
raise test_fail_exc('RPC for %s required' % arg) raise test_fail_exc('RPC for %s required' % arg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment