Spdk/test
Jim Harris ced2c57b67 test/overhead: print error and exit if no device found
While here, do some additional cleanup:

1) add -h option to print help and exit
2) parse args before initializing the environment - this
   allows "overhead -h" to immediately show a usage message
   without having to wait for DPDK to initialize.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I1021f9f7f7f2b03e34c0fd40714ce8f3db849cb2

Reviewed-on: https://review.gerrithub.io/374508
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-08-16 16:13:29 -04:00
..
app test: Add a bdev management service 2017-08-02 18:04:55 -04:00
blobfs/rocksdb test/blobfs: add 'drop_cache' in run_tests script 2017-08-09 13:39:27 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt bdev/rbd: add get_bdevs JSON dump function 2017-08-16 15:57:04 -04:00
lib test/overhead: print error and exit if no device found 2017-08-16 16:13:29 -04:00
nvmf test/nvmf: add delay before identifying kernel target 2017-08-16 16:00:01 -04:00
unit nvme: add support for NS Optimal IO Boundary 2017-08-16 15:55:29 -04:00
vhost vhost_rpc: increase vhost_rpc.c coverage 2017-08-16 15:51:59 -04: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