diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 534b9da..c83f085 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -6,16 +6,22 @@ on: jobs: test: - name: Run tests with ${{ matrix.flags.flags }} + name: Run tests with ${{ matrix.flags.flags }} ${{ matrix.flags.args }} runs-on: ubuntu-24.04 strategy: matrix: flags: - flags: CHECKSUM_HACK=kfunc + args: '' desc: kfunc - flags: CHECKSUM_HACK=kfunc USE_LIBXDP=1 - desc: kfunc-libxdp + args: --use-libxdp + desc: kfunc-libxdp-use-libbpf + - flags: CHECKSUM_HACK=kfunc USE_LIBXDP=1 + args: --use-libxdp + desc: kfunc-libxdp-use-libxdp - flags: CHECKSUM_HACK=kprobe STRIP_BTF_EXT=1 + args: '' desc: kprobe-strip-btf-ext steps: - name: Checkout diff --git a/tests/util.bash b/tests/util.bash index ca20229..e86f745 100644 --- a/tests/util.bash +++ b/tests/util.bash @@ -35,7 +35,7 @@ setup_mimic_socat() { fi ip netns exec ${netns[$_i]} "$BATS_TEST_DIRNAME/../out/mimic" \ - run ${veth[$_i]} -flocal="$self_ip_port" \ + run ${veth[$_i]} -flocal="$self_ip_port" $MIMIC_TEST_EXTRA_ARGS \ & mimic_pid[$_i]=$! echo "$! is mimic"