[Accel-config] [PATCH v1 07/11] accel-config/test: Modify script for executing Zcompress16 test

Li Zhang <li4.zhang at intel.com> Tue, 17 May 2022 18:48:29 +0800
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
Modify test script for passing parameters and executing operation
Zcompress16 test.

Signed-off-by: Li Zhang <li4.zhang(a)intel.com>
---
 test/iaa_user_test_runner.sh | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/test/iaa_user_test_runner.sh b/test/iaa_user_test_runner.sh
index 532939e..42389ea 100755
--- a/test/iaa_user_test_runner.sh
+++ b/test/iaa_user_test_runner.sh
@@ -113,6 +113,20 @@ for opcode in "0x44"; do
 	test_op $opcode $flag $extra_flag
 done
 
+unset SIZE_1
+
+flag="0x1"
+echo "Testing with 'block on fault' flag ON"
+for opcode in "0x4d"; do
+	test_op $opcode $flag
+done
+
+flag="0x0"
+echo "Testing with 'block on fault' flag OFF"
+for opcode in "0x4d"; do
+	test_op $opcode $flag
+done
+
 disable_wqs
 stop_iaa
 _cleanup
-- 
2.25.1