Commit d6f716bc authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1632 from nirmoy/add-iperf3

cmake: search for iperf3 if there is no iperf
parents 75ac3a3e 2a28a7f0
......@@ -11,7 +11,10 @@ if(NETPERF STREQUAL "NETPERF-NOTFOUND")
endif()
find_program(IPERF iperf)
if(IPERF STREQUAL "IPERF-NOTFOUND")
message(WARNING "Recommended test program 'iperf' not found")
find_program(IPERF3 iperf3)
if(IPERF3 STREQUAL "IPERF3-NOTFOUND")
message(WARNING "Recommended test program 'iperf' or 'iperf3' not found")
endif()
endif()
add_test(NAME py_test_stat1_b WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment