We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c44df commit c6a2e5cCopy full SHA for c6a2e5c
1 file changed
llm/android/LlamaDemo/scripts/run-ci-tests.sh
@@ -92,16 +92,11 @@ adb logcat > /tmp/logcat.txt &
92
LOGCAT_PID=$!
93
94
echo "=== Starting Gradle ==="
95
+GRADLE_ARGS="-PskipModelDownload=true -PmodelPreset=$MODEL_PRESET"
96
if [ "$USE_LOCAL_AAR" = "true" ]; then
- ./gradlew connectedCheck \
97
- -PskipModelDownload=true \
98
- -PmodelPreset="$MODEL_PRESET" \
99
- -PuseLocalAar=true
100
-else
101
102
103
- -PmodelPreset="$MODEL_PRESET"
+ GRADLE_ARGS="$GRADLE_ARGS -PuseLocalAar=true"
104
fi
+./gradlew connectedCheck $GRADLE_ARGS
105
TEST_EXIT_CODE=$?
106
107
echo "=== Model directory after Gradle ==="
0 commit comments