From ab48766fd13d73916a29a8c8720ad33ee556560a Mon Sep 17 00:00:00 2001 From: paul luse Date: Mon, 16 Aug 2021 15:50:24 -0400 Subject: [PATCH] test/accel_engine: add more test cases There's been a few silly escapes lately that we can catch with some quick tests. Signed-off-by: paul luse Change-Id: I6f6e9591573b2ab54da239981423341aeb0bdbb9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9190 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Monica Kenguva Reviewed-by: Aleksey Marchuk Reviewed-by: Ben Walker --- test/accel_engine/accel_engine.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/accel_engine/accel_engine.sh b/test/accel_engine/accel_engine.sh index 0713db27d5..6f28cd84cd 100755 --- a/test/accel_engine/accel_engine.sh +++ b/test/accel_engine/accel_engine.sh @@ -4,6 +4,13 @@ testdir=$(readlink -f $(dirname $0)) rootdir=$(readlink -f $testdir/../..) source $rootdir/test/common/autotest_common.sh -#Test case 1: crc32c test +#Run through all SW ops with defaults for a quick sanity check #To save time, only use verification case -run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -q 128 -o 4096 -t 2 -w crc32c -y +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w crc32c -y +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w crc32c -y -C 2 +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w copy -y +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w fill -y +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w copy_crc32c -y +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w copy_crc32c -y -C 2 +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w dualcast -y +run_test "accel_engine" $SPDK_EXAMPLE_DIR/accel_perf -t 1 -w compare -y