Project

General

Profile

Bug #1256

Check babeltrace1 stderr output in tests

Added by Mathieu Desnoyers 6 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
04/08/2020
Due date:
% Done:

0%

Estimated time:

Description

Currently, babeltrace1 stderr's output contains warnings which are not checked by the tests. Those do not fail the overall babeltrace execution, but end up being unexpected regressions when they appear between releases.

We could modify all babeltrace invocations to add a helper which saves the stderr output, and check that it is empty after babeltrace has completed execution. If non-empty, a test error would be reported.

No data to display

Also available in: Atom PDF