bdev/compress: remove unused test function, test_error_paths()
I'm testing the error paths within each function under test, this was here simply because I copy-n-pasted much of the UT framework from crypto to get it jump started. Change-Id: Id7705bcaec87e93b589360e520b330f024d3293d Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452723 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
22760306a2
commit
eb71364bce
@ -538,12 +538,6 @@ test_compress_operation(void)
|
||||
CU_ASSERT(rc == 0);
|
||||
}
|
||||
|
||||
static void
|
||||
test_error_paths(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
test_vbdev_compress_submit_request(void)
|
||||
{
|
||||
@ -625,9 +619,7 @@ main(int argc, char **argv)
|
||||
return CU_get_error();
|
||||
}
|
||||
|
||||
if (CU_add_test(suite, "test_error_paths",
|
||||
test_error_paths) == NULL ||
|
||||
CU_add_test(suite, "test_compress_operation",
|
||||
if (CU_add_test(suite, "test_compress_operation",
|
||||
test_compress_operation) == NULL ||
|
||||
CU_add_test(suite, "vbdev_compress_submit_request",
|
||||
test_vbdev_compress_submit_request) == NULL ||
|
||||
|
Loading…
Reference in New Issue
Block a user