Skip to content

Commit dc5a14e

Browse files
committed
s
1 parent 8e99291 commit dc5a14e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/cli/testutils.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,25 +262,31 @@ def get_cache_contents():
262262

263263
stdout_lines = stdout.splitlines()
264264
stdout_1_lines = stdout_1.splitlines()
265+
265266
print('stdout - expected')
266267
print(stdout_lines)
267268
print('stdout - actual')
268269
print(stdout_1_lines)
270+
269271
# strip some common output only seen during analysis
270272
stdout_lines = [entry for entry in stdout_lines if not entry.startswith('Processing rule: ')]
271273
stdout_lines = [entry for entry in stdout_lines if not entry.startswith('progress: ')]
274+
272275
# TODO: no messages for checked configurations when using cached data
273276
#assert stdout_lines == stdout_1_lines
274277

275278
stderr_lines = stderr.splitlines()
276279
stderr_1_lines = stderr_1.splitlines()
280+
277281
print('stderr - expected')
278282
print(stderr_lines)
279283
print('stderr - actual')
280284
print(stderr_1_lines)
285+
281286
# TODO: filter out checkersReport because it different amount of active checkers for cached runs
282287
#stderr_lines = remove_checkers_msg(stderr).splitlines()
283288
#stderr_1_lines = remove_checkers_msg(stderr_1).splitlines()
289+
284290
assert stderr_lines == stderr_1_lines
285291

286292
cache_content_1 = get_cache_contents()
@@ -292,7 +298,6 @@ def get_cache_contents():
292298

293299
assert cache_content == cache_content_1
294300

295-
if builddir_tmp:
296301
builddir_tmp.cleanup()
297302

298303
if remove_checkers_report:

0 commit comments

Comments
 (0)