numam-spdk/test/lib
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
..
bdev test/bdev: remove partition table after GPT test 2017-08-14 16:40:16 -04:00
blobfs makefiles: remove DPDK_INC cflags, no longer needed 2017-08-01 13:41:26 -04:00
env env/vtophys: vtophys functions will now return error codes 2017-08-10 13:32:36 -04:00
event event: remove spdk_app_init 2017-06-15 18:26:52 -04:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
json test: move JSON library unit tests to test/unit 2017-06-20 13:46:07 -04:00
nvme test/overhead: print error and exit if no device found 2017-08-16 16:13:29 -04:00
Makefile test: move iSCSI unit tests to test/unit 2017-06-28 13:10:27 -04:00
test_env.c ut/nvme: add coverage for nvme_allocate_request_user_copy() 2017-08-09 13:04:04 -04:00