Skip to content

Commit 054fadc

Browse files
committed
fpgaperf: do not redirect stdout to devnull
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
1 parent 7ccfeac commit 054fadc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

fpgaperf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import signal
2626
import sys
2727
import yaml
28-
from contextlib import redirect_stdout
2928
from terminaltables import AsciiTable
3029

3130
from toolchains.icestorm import NextpnrIcestorm
@@ -236,8 +235,7 @@ def run(
236235
try:
237236
signal.signal(signal.SIGALRM, timeout_handler)
238237
signal.alarm(timeout)
239-
with redirect_stdout(open(os.devnull, 'w')):
240-
tch.run()
238+
tch.run()
241239
signal.alarm(0)
242240
except Exception as e:
243241
err = str(e)

0 commit comments

Comments
 (0)