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