public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [RFC PATCH 0/2] make test: Run C API tests
@ 2018-08-21 14:05 Petr Vorel
  2018-08-21 14:05 ` [LTP] [RFC PATCH 1/2] tests: Remove tst_safe_macros.c Petr Vorel
  2018-08-21 14:05 ` [LTP] [RFC PATCH 2/2] make: Add test target Petr Vorel
  0 siblings, 2 replies; 6+ messages in thread
From: Petr Vorel @ 2018-08-21 14:05 UTC (permalink / raw)
  To: ltp

Hi,

this is very simple way to add 'make test' target.  It seems tests are
outdated and some of them maybe not meant to be unit shell tests.  I
removed tst_safe_macros as it's failing and not sufficient enough. We
should write proper test for it.

Current implementation is still failing: after 'make test' run, there is
still failing tst_checkpoint_wait_timeout.

tst_checkpoint_wait_timeout    1  TBROK  :  tst_checkpoint.c:144: tst_checkpoint_wait_timeout.c:46: tst_checkpoint_wait(0, 10000): errno=ETIMEDOUT(110): Connection timed out
tst_checkpoint_wait_timeout    2  TBROK  :  tst_checkpoint.c:144: Remaining cases broken


Kind regards,
Petr

Petr Vorel (2):
  tests: Remove tst_safe_macros.c
  make: Add test target

 Makefile                    |  3 +++
 lib/tests/Makefile          |  3 +++
 lib/tests/test.sh           | 32 +++++++++++++++++++++++++++++
 lib/tests/tst_safe_macros.c | 40 -------------------------------------
 4 files changed, 38 insertions(+), 40 deletions(-)
 create mode 100755 lib/tests/test.sh
 delete mode 100644 lib/tests/tst_safe_macros.c

-- 
2.18.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-31 12:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 14:05 [LTP] [RFC PATCH 0/2] make test: Run C API tests Petr Vorel
2018-08-21 14:05 ` [LTP] [RFC PATCH 1/2] tests: Remove tst_safe_macros.c Petr Vorel
2018-08-21 14:05 ` [LTP] [RFC PATCH 2/2] make: Add test target Petr Vorel
2018-08-23 13:22   ` Jan Stancek
2018-08-24 15:01   ` Cyril Hrubis
2018-08-31 12:37   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox