X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fhs-test%2Fcontainer.go;h=76d08c7d2d6ab7c1354ae1923c178ea767e731c8;hb=109f3ce4eba0a6ba869752f24cfaae73ab70bb2d;hp=fd3aa47b21bf75f51a1c7c3e73f80bc10618b979;hpb=3b770881b95ee33beb525513ebaece4ac93469dc;p=vpp.git diff --git a/extras/hs-test/container.go b/extras/hs-test/container.go index fd3aa47b21b..76d08c7d2d6 100644 --- a/extras/hs-test/container.go +++ b/extras/hs-test/container.go @@ -129,6 +129,9 @@ func (c *Container) getContainerArguments() string { args := "--ulimit nofile=90000:90000 --cap-add=all --privileged --network host --rm" args += c.getVolumesAsCliOption() args += c.getEnvVarsAsCliOption() + if *vppSourceFileDir != "" { + args += fmt.Sprintf(" -v %s:%s", *vppSourceFileDir, *vppSourceFileDir) + } args += " --name " + c.name + " " + c.image args += " " + c.extraRunningArgs return args