Commit c5a2a7c8 authored by Michael Büsch's avatar Michael Büsch

tests: Move nose executable lookup to actual test

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent 88ed31eb
......@@ -484,9 +484,11 @@ run_nose_test()
local interp_ver="$(get_interpreter_version "$interpreter")"
local interp_major="$(echo "$interp_ver" | cut -d' ' -f 1)"
if [ "$interp_major" = "2" ]; then
local nose="$nosetests"
find_executable nosetests
local nose="$RET"
else
local nose="$nosetests3"
find_executable nosetests3
local nose="$RET"
fi
# Resolve relative path
......@@ -681,11 +683,6 @@ do_tests()
fi
fi
find_executable nosetests
local nosetests="$RET"
find_executable nosetests3
local nosetests3="$RET"
local cython3_build_pid=
if is_parallel_run; then
# Trigger the build jobs, if required.
......
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