metan-ucw / runltp-ng

Minimalistic LTP testrunner
11 stars 16 forks source link

Redesign how propagate timeout (max test runtime) from runltp-ng to tests #31

Open pevik opened 3 years ago

pevik commented 3 years ago

Currently we have --timeout which we use to export LTP_TIMEOUT_MUL, but we do not consider the iteration.

pevik commented 3 years ago

For a record, proposal to fix this in LTP upstream: https://patchwork.ozlabs.org/project/ltp/list/?series=247935

pevik commented 2 years ago

Cyril posted another version of fix in LTP: https://patchwork.ozlabs.org/project/ltp/list/?series=268799

pevik commented 2 years ago

The concept of max runtime was merged in https://github.com/linux-test-project/ltp/commit/0f72d519a95cb2e0d231e9bbdb44d288a974dacf (final commit: https://github.com/linux-test-project/ltp/commit/bf96787822a0865426dd65ef65e172b77f013a26), released in https://github.com/linux-test-project/ltp/releases/tag/20220527.

FYI looks like new implementation https://github.com/acerv/runltp-ng has -t and -T => it should work there.