Skip to content

Commit 929f645

Browse files
committed
Use exact growth fixture environment in full-call diagnostic
1 parent c40eb95 commit 929f645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/gpu-return-trace.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
if name=='explicit-birth':
169169
ordinary=d/'ordinary';ordinary_cmd=cmd.copy();ordinary_cmd[ordinary_cmd.index('tools/gpu-return-trace.c')]=str(out/'pin_program.c');ordinary_cmd[ordinary_cmd.index(str(binary))]=str(ordinary)
170170
subprocess.run(ordinary_cmd,check=True)
171-
q=subprocess.run([str(ordinary)],env=env,capture_output=True)
171+
q=subprocess.run([str(ordinary)],env=dict(env,BEND_GPU_MB0='4',BEND_GPU_MB='128',BEND_GPU_LANES='64',BEND_GPU_KQCPU='0',BEND_GPU_PIN_MB='0',BEND_GPU_LOG='2'),capture_output=True)
172172
(d/'ordinary.stderr').write_bytes(q.stderr);(d/'ordinary.stdout').write_bytes(q.stdout)
173173
print('=== ordinary full fixture exit',q.returncode,'===',flush=True);print(q.stdout.decode(errors='replace'),flush=True);print(q.stderr.decode(errors='replace'),flush=True)
174174
for repeat in range(1,3):

0 commit comments

Comments
 (0)