if [ -z "$DRIVER_BIN" ]; then
DRIVER_BIN=$ARTIFACT_PATH/Product/out/bin/tflite_run
fi
- export DRIVER_BIN=$DRIVER_BIN
+
+ if [ ! -e "$ARTIFACT_PATH/report" ]; then
+ mkdir -p $ARTIFACT_PATH/report
+ fi
+
echo ""
echo "============================================"
- echo "Test with tflite_run"
+ echo "Framework Test with tflite_run..."
+ $RUN_TEST_SH --driverbin=$DRIVER_BIN \
+ --reportdir=$ARTIFACT_PATH/report \
+ --tapname=framework_test.tap \
+ > $ARTIFACT_PATH/report/framework_test.log 2>&1
echo "============================================"
- $RUN_TEST_SH > /dev/null 2>&1
- cat report/framework_test.tap
+ cat $ARTIFACT_PATH/report/framework_test.tap
echo "============================================"
echo ""
fi