Unverified Commit ebdc22c5 authored by Yong-Xuan Wang's avatar Yong-Xuan Wang Committed by Palmer Dabbelt
Browse files

tools: selftests: riscv: Add test count for vstate_prctl



Add the test count to drop the warning message.
"Planned tests != run tests (0 != 1)"

Fixes: 7cf6198c ("selftests: Test RISC-V Vector prctl interface")
Signed-off-by: default avatarYong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Reviewed-by: default avatarAndy Chiu <AndybnAC@gmail.com>
Link: https://lore.kernel.org/r/20241220091730.28006-3-yongxuan.wang@sifive.com


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 503465d4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -76,6 +76,8 @@ int main(void)
	long flag, expected;
	long rc;

	ksft_set_plan(1);

	pair.key = RISCV_HWPROBE_KEY_IMA_EXT_0;
	rc = riscv_hwprobe(&pair, 1, 0, NULL, 0);
	if (rc < 0) {