|
@@ -201,6 +201,9 @@ cfg.skipping_deps = cfg.resuming or 'skip_deps' in po.user_opts
|
|
|
|
|
|
cmd_args = cfg._args
|
|
|
|
|
|
+if not cfg.system:
|
|
|
+ os.environ['PYTHONPATH'] = repo_root
|
|
|
+
|
|
|
if cfg.pexpect_spawn and gc.platform == 'win':
|
|
|
die(1,'--pexpect-spawn option not supported on Windows platform, exiting')
|
|
|
|
|
@@ -575,9 +578,6 @@ class TestSuiteRunner(object):
|
|
|
else:
|
|
|
self.spawn_env['MMGEN_COLUMNS'] = '120'
|
|
|
|
|
|
- if not cfg.system:
|
|
|
- self.spawn_env['PYTHONPATH'] = repo_root
|
|
|
-
|
|
|
def spawn_wrapper(self,cmd,
|
|
|
args = [],
|
|
|
extra_desc = '',
|