test/crypto: fix return value of a skipped test
authorCiara Power <ciara.power@intel.com>
Wed, 12 May 2021 11:36:54 +0000 (11:36 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 12 May 2021 14:17:07 +0000 (16:17 +0200)
commit085f128aac8119a3cd1b903398dc92771da4ad38
tree2c12e6fae0b72470ad03350b41d5940374665467
parentda74df7d38c0bcf5c147cc3f576e7aafde2f5655
test/crypto: fix return value of a skipped test

The blockcipher testcase return value TEST_SUCCESS was incorrect for
one conditional check, it should have been TEST_SKIPPED similar to the
other condition checks in this function when the testcase is skipped.

Fixes: 4868f6591c6f ("test/crypto: add cases for raw datapath API")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Tested-by: Ruifeng Wang <ruifeng.wang@arm.com>
app/test/test_cryptodev_blockcipher.c