提交 71230606 authored 作者: Frederic's avatar Frederic

print in the raw log the test that will be run before starting it.

上级 648d238b
......@@ -258,6 +258,12 @@ def run(stdout, stderr, argv, theano_nose, batch_size, time_profile,
for test_floor in xrange(1, n_tests + 1, batch_size):
for test_id in xrange(test_floor, min(test_floor + batch_size,
n_tests + 1)):
# Print the test we will start in the raw log to help
# debug tests that are too long.
f_rawlog.write("\nWill run test #%d %s\n" % (test_id,
data["ids"][test_id]))
f_rawlog.flush()
proc = subprocess.Popen(
([python, theano_nose, '-v', '--with-id']
+ [str(test_id)] + argv +
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论