Skip to content

Commit 1e947fb

Browse files
author
Octavian Purdila
authored
Merge pull request torvalds#218 from opurdila/fix-vde-tests
lkl tools: skip VDE tests if VDE is not enabled in the build
2 parents 07f63e2 + c2fa078 commit 1e947fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/lkl/tests/hijack-test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ LKL_HIJACK_OFFLOAD=0x8803 sh ${script_dir}/run_netperf.sh 192.168.13.1 1 0 TCP_M
129129
sh ${script_dir}/run_netperf.sh 192.168.13.1 1 0 TCP_RR
130130
sh ${script_dir}/run_netperf.sh fc03::1 1 0 TCP_STREAM
131131

132+
if [ -z "`printenv CONFIG_AUTO_LKL_VIRTIO_NET_VDE`" ]; then
133+
exit 0
134+
fi
135+
132136
echo "== VDE tests =="
133137
if [ ! -x "$(which vde_switch)" ]; then
134138
echo "WARNING: Cannot find a vde_switch executable, skipping VDE tests."

0 commit comments

Comments
 (0)