Skip to content

Commit 0f5b8a5

Browse files
committed
btrfs-progs: tests: add rule for crypto/hash test coverage
Add convenience rule to test both speed and correctness of hashes. Signed-off-by: David Sterba <dsterba@suse.com>
1 parent c5e723b commit 0f5b8a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,11 @@ test-array: array-test
602602

603603
test-api: test-json test-string-table test-array
604604

605+
test-hash: hash-speedtest hash-vectest
606+
@echo " TEST crypto/hash"
607+
@./hash-speedtest 1000 >/dev/null
608+
@./hash-vectest >/dev/null
609+
605610
test: test-check test-check-lowmem test-mkfs test-misc test-cli test-fuzz
606611

607612
testsuite: btrfs-corrupt-block btrfs-find-root btrfs-select-super fssum fsstress

0 commit comments

Comments
 (0)