Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
3e246b1d
Commit
3e246b1d
authored
Sep 27, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a46f8683
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
go/neo/t/nxd/nxdtest
go/neo/t/nxd/nxdtest
+10
-2
No files found.
go/neo/t/nxd/nxdtest
View file @
3e246b1d
...
...
@@ -133,9 +133,17 @@ def main():
}
try
:
# NOTE runs with unchanged cwd. Instance wrapper cares to set cwd before running us.
# Run t.argv in t.kw['env'] environment.
# In addition to kw['env'], kw['envadj'] allows users to define
# only adjustments instead of providing full env dict.
# Test command is spawned with unchanged cwd. Instance wrapper cares to set cwd before running us.
# bufsize=1 means 'line buffered'
p
=
Popen
(
t
.
argv
,
stdin
=
devnull
,
stdout
=
PIPE
,
stderr
=
PIPE
,
bufsize
=
1
)
kw
=
t
.
kw
.
copy
()
env
=
kw
.
pop
(
'env'
,
os
.
environ
)
env
=
env
.
copy
()
envadj
=
kw
.
pop
(
'envadj'
,
{})
env
.
update
(
envadj
)
p
=
Popen
(
t
.
argv
,
env
=
env
,
stdin
=
devnull
,
stdout
=
PIPE
,
stderr
=
PIPE
,
bufsize
=
1
,
**
kw
)
except
:
stdout
=
''
stderr
=
'run %r
\
n
%s'
%
(
t
.
argv
,
traceback
.
format_exc
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment