Skip to content
Snippets Groups Projects
Commit 304bd234 authored by Frédéric Dalleau's avatar Frédéric Dalleau
Browse files

Add a variable specifying arch-specific folder


Tests can use it to locate architecture specific files

Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
parent 4c88dcb2
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,10 @@ PATH=${TESTPATH}/common:${TESTPATH}/bin:$PATH ...@@ -6,7 +6,10 @@ PATH=${TESTPATH}/common:${TESTPATH}/bin:$PATH
# Path for architecture specific binaries # Path for architecture specific binaries
case `uname -m` in case `uname -m` in
x86_64) PATH=${TESTPATH}/amd64/bin:$PATH; ;; x86_64) ARCHDIR=amd64 ;;
armv7l) PATH=${TESTPATH}/armhf/bin:$PATH; ;; armv7l) ARCHDIR=armhf ;;
aarch64) PATH=${TESTPATH}/arm64/bin:$PATH; ;; aarch64) ARCHDIR=arm64 ;;
esac esac
PATH=${TESTPATH}/${ARCHDIR}/bin:$PATH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment