Whamcloud - gitweb
LU-12795 tests: Introduce FAILF and start using it 55/36255/2
authorShaun Tancheff <stancheff@cray.com>
Sun, 22 Sep 2019 08:28:41 +0000 (03:28 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Oct 2019 03:45:00 +0000 (03:45 +0000)
commit8c8f46566c41c2cfd2e3950c0ecb42157df8984a
treead18b5b81668112a47d652b36ffb657aaee93687
parentac426d6f17b80ed36052f11b9780fa444cfa24aa
LU-12795 tests: Introduce FAILF and start using it

Unify the sprintf(msg, ...); FAIL(msg); pattern into a single
FAILF() macro and avoid the needless use of a temporary buffer.

Remove the duplicate lp_utils.c and lp_utils.h files.

Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Change-Id: Ia0ed463e305ec671909a049d847eb8518291f72f
Reviewed-on: https://review.whamcloud.com/36255
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/lp_utils.c [deleted file]
lustre/tests/lp_utils.h [deleted file]
lustre/tests/mpi/lp_utils.c
lustre/tests/mpi/lp_utils.h