From 1839f4eac07b150b7153bdaa3bc589d24ff74e64 Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Wed, 2 Jan 2019 16:40:56 +0100 Subject: [PATCH] minitests: roi_harness: use XRAY_DATABASE env Signed-off-by: Karol Gugala --- minitests/roi_harness/runme.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/minitests/roi_harness/runme.sh b/minitests/roi_harness/runme.sh index 221b1f79..ba3ebfba 100755 --- a/minitests/roi_harness/runme.sh +++ b/minitests/roi_harness/runme.sh @@ -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 </dev/null +stat ${XRAY_DIR}/database/${XRAY_DATABASE}/${XRAY_PART}.yaml >/dev/null # 6x by 18y CLBs (108) if [ "$SMALL" = Y ] ; then