Browse Source

Add build.sh opts check,

while -t on/ut -e $dev set together, only invalid -e option
pull/15420/head
zhangzhaoju 4 years ago
parent
commit
caff3d83c1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      build.sh

+ 5
- 0
build.sh View File

@@ -346,6 +346,11 @@ checkopts()
esac
done

if [[ "X$RUN_TESTCASES" == "Xon" && "X$DEVICE" != "X" ]]; then
echo "WARNING:Option -e can't be set while option -t on/ut is set, reset device to empty."
DEVICE=""
fi

# Parse device
# Process build option
if [[ "X$DEVICE" == "Xgpu" ]]; then


Loading…
Cancel
Save