diff --git a/autobuild.sh b/autobuild.sh index 5705a3a12..2aacbc534 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -215,7 +215,7 @@ function build_doc() { function autobuild_test_suite() { run_test "autobuild_check_format" ./scripts/check_format.sh - run_test "autobuild_external_code" sudo -E $rootdir/test/external_code/test_make.sh $rootdir + run_test "autobuild_external_code" sudo -E --preserve-env=PATH $rootdir/test/external_code/test_make.sh $rootdir if [ "$SPDK_TEST_OCF" -eq 1 ]; then run_test "autobuild_ocf_precompile" ocf_precompile fi