Commit 841fb73a authored by Raphael Moreira Zinsly's avatar Raphael Moreira Zinsly Committed by Michael Ellerman
Browse files

selftests/powerpc: Add NX-GZIP engine decompress testcase



Include a decompression testcase for the powerpc NX-GZIP
engine.

Signed-off-by: default avatarBulent Abali <abali@us.ibm.com>
Signed-off-by: default avatarRaphael Moreira Zinsly <rzinsly@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200420205538.25181-5-rzinsly@linux.ibm.com
parent 647c734f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
CFLAGS = -O3 -m64 -I./include

TEST_GEN_FILES := gzfht_test
TEST_GEN_FILES := gzfht_test gunz_test
TEST_PROGS := nx-gzip-test.sh

include ../../lib.mk
+1028 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ function test_sizes
		echo "Testing $size ($n) ..."
		dd if=/dev/urandom of=$fname bs=$size count=1
		./gzfht_test $fname
		./gunz_test ${fname}.nx.gz
	done
}