Skip to content

C API: Merge functionality of LTP_QUIET into LTP_REPRODUCIBLE_OUTPUT #1306

@pevik

Description

@pevik

LTP_REPRODUCIBLE_OUTPUT=1 environment variable was added in 5894abc5f to help valgrind to use LTP for testing. It discards the actual content of the messages printed by the test (removes everything after printing TINFO/TPASS/TFAIL/... flag).

Later LTP_QUIET=1 was added which suppresses printing TCONF, TWARN, TINFO, and TDEBUG messages.

Valgrind project uses both variables but no need to handle them separately:

https://sourceforge.net/p/valgrind/mailman/valgrind-developers/?viewmonth=202603

Sounds fine, Petr. For Valgrind testing, the functionality of
both LTP_REPRODUCIBLE_OUTPUT and LTP_QUIET is useful. But
there's no need to control the two features independently.
Merging the functionality under one controlling env var works
perfectly fine from the Valgrind testsuite perspective.

Metadata

Metadata

Assignees

Labels

rewrite / cleanupVery old tests which we should either delete or rewrite into new API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions