Spdk/test
Pawel Wodkowski 575a291fa3 test/vhost: introduce notice, warning, error and fail message
helpers

So we can better trace what failed.
notice - just echo to stdout
warning - just echo to stderr
error - echo to stderr and return false, so trap ERR can catch this
fail - like err but call 'exit 1' at the end so if no trap ERR is used
it will exit anyway.

Change-Id: I5c7b3682fd6c0d81c07c58a5ec965155c7593407
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/392218
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-01-08 18:01:33 -05:00
..
app util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
blobfs/rocksdb test/rocksdb: reduce test time for per-patch tests 2017-12-15 15:48:06 -05:00
config test/vm_setup.sh: add missing packages from pkgdep.sh 2017-12-15 16:16:31 -05:00
cpp_headers build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
iscsi_tgt test/iscsi_tgt: add FIO test with 512KB QD=128 2018-01-05 12:24:58 -05:00
lib nbd: remove nbd test app 2018-01-05 17:39:48 -05:00
lvol test/lvol: update help message 2017-12-28 11:42:56 -05:00
nvmf autotest: Add perf as host with lvol backend and test different qd/io_size test in nightly 2018-01-05 13:08:16 -05:00
pmem bdev/pmem: require name in construct_pmem_bdev RPC 2017-12-04 18:51:14 -05:00
unit scsi: pass only task to SCSI exec functions 2018-01-05 13:49:05 -05:00
vhost test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00