Skip to content
Snippets Groups Projects
update-test-path 355 B
# Current test directory extracted from pwd
TESTPATH=$(pwd)

# Path for architecture independant binaries
PATH=${TESTPATH}/common:${TESTPATH}/bin:$PATH

# Path for architecture specific binaries
case `uname -m` in
x86_64) PATH=${TESTPATH}/amd64/bin:$PATH; ;;
armv7l) PATH=${TESTPATH}/armhf/bin:$PATH; ;;
aarch64) PATH=${TESTPATH}/arm64/bin:$PATH; ;;
esac