Skip to content

Commit

Permalink
Merge pull request torvalds#218 from opurdila/fix-vde-tests
Browse files Browse the repository at this point in the history
lkl tools: skip VDE tests if VDE is not enabled in the build
  • Loading branch information
Octavian Purdila authored Aug 29, 2016
2 parents 07f63e2 + c2fa078 commit 1e947fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/lkl/tests/hijack-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ LKL_HIJACK_OFFLOAD=0x8803 sh ${script_dir}/run_netperf.sh 192.168.13.1 1 0 TCP_M
sh ${script_dir}/run_netperf.sh 192.168.13.1 1 0 TCP_RR
sh ${script_dir}/run_netperf.sh fc03::1 1 0 TCP_STREAM

if [ -z "`printenv CONFIG_AUTO_LKL_VIRTIO_NET_VDE`" ]; then
exit 0
fi

echo "== VDE tests =="
if [ ! -x "$(which vde_switch)" ]; then
echo "WARNING: Cannot find a vde_switch executable, skipping VDE tests."
Expand Down

0 comments on commit 1e947fb

Please sign in to comment.