minitests: roi_harness: use XRAY_DATABASE env

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
Karol Gugala 2019-01-02 16:40:56 +01:00
parent 5ca868b19a
commit 1839f4eac0
1 changed files with 1 additions and 11 deletions

View File

@ -9,16 +9,6 @@ source ${XRAY_DIR}/utils/environment.sh
export XRAY_PINCFG=${XRAY_PINCFG:-ARTY-A7-SWBUT}
export BUILD_DIR=${BUILD_DIR:-build}
DEVICE=`expr substr $XRAY_PART 4 1`
if [ $DEVICE == "z" ] ; then
export XRAY_DEVICE=zynq7
elif [ $DEVICE == "a" ] ; then
export XRAY_DEVICE=artix7
else
echo "Unknown XRAY_DEVICE " $XRAY_DEVICE
exit 1
fi
# not part of the normal DB
# to generate:
cat >/dev/null <<EOF
@ -31,7 +21,7 @@ make pushdb
popd
popd
EOF
stat ${XRAY_DIR}/database/${XRAY_DEVICE}/${XRAY_PART}.yaml >/dev/null
stat ${XRAY_DIR}/database/${XRAY_DATABASE}/${XRAY_PART}.yaml >/dev/null
# 6x by 18y CLBs (108)
if [ "$SMALL" = Y ] ; then