Merge "Help with troubleshooting failures from venv.py"
This commit is contained in:
commit
4a42196852
|
@ -113,7 +113,8 @@ class OvsVenvFixture(fixtures.Fixture):
|
||||||
def call(self, cmd, *args, **kwargs):
|
def call(self, cmd, *args, **kwargs):
|
||||||
cwd = kwargs.pop('cwd', self.venv)
|
cwd = kwargs.pop('cwd', self.venv)
|
||||||
return subprocess.check_call(
|
return subprocess.check_call(
|
||||||
cmd, *args, env=self.env, cwd=cwd, **kwargs)
|
cmd, *args, env=self.env, stderr=subprocess.STDOUT,
|
||||||
|
cwd=cwd, **kwargs)
|
||||||
|
|
||||||
def get_pids(self):
|
def get_pids(self):
|
||||||
files = glob.glob(os.path.join(self.venv, "*.pid"))
|
files = glob.glob(os.path.join(self.venv, "*.pid"))
|
||||||
|
|
Loading…
Reference in New Issue