]> git.hungrycats.org Git - linux/commit
selftests/bpf: Add riscv64 configurations to local vmtest
authorPu Lehui <pulehui@huawei.com>
Thu, 5 Sep 2024 08:14:00 +0000 (08:14 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 5 Sep 2024 20:13:40 +0000 (13:13 -0700)
commitb2bc9d50549939e3e103f986f3123970a6b81e44
tree3c5995853c3bf9ba26af2096e65defc37e999b01
parentc402cb85802fa059f1d42954f25acf14c3bf89e7
selftests/bpf: Add riscv64 configurations to local vmtest

Add riscv64 configurations to local vmtest.

We can now perform cross platform testing for riscv64 bpf using the
following command:

PLATFORM=riscv64 CROSS_COMPILE=riscv64-linux-gnu- vmtest.sh \
    -l ./libbpf-vmtest-rootfs-2024.08.30-noble-riscv64.tar.zst -- \
    ./test_progs -d \
        \"$(cat tools/testing/selftests/bpf/DENYLIST.riscv64 \
            | cut -d'#' -f1 \
            | sed -e 's/^[[:space:]]*//' \
                  -e 's/[[:space:]]*$//' \
            | tr -s '\n' ','\
        )\"

Tested-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Link: https://lore.kernel.org/r/20240905081401.1894789-10-pulehui@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/vmtest.sh