Skip to content

Commit aa14e5c

Browse files
committed
Just print Android instrument log when the test passes
1 parent 41b463e commit aa14e5c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

examples/demo-apps/android/LlamaDemo/android-llm-device-farm-test-spec.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,7 @@ phases:
6363
# Check for this last to make sure that there is no failure
6464
elif [ $TESTS_PASSED -ne 0 ];
6565
then
66-
OBSERVED_TPS=$(grep "INSTRUMENTATION_STATUS: TPS=" $INSTRUMENT_LOG | tail -n 1)
67-
68-
if [ -n "${OBSERVED_TPS}" ];
69-
then
70-
echo "[PyTorch] ${OBSERVED_TPS}";
71-
else
72-
echo "[PyTorch] Test passes but couldn't find the observed TPS from instrument log";
73-
fi
66+
cat "${INSTRUMENT_LOG}"
7467
fi;
7568
7669
# Run the new generic benchmark activity https://developer.android.com/tools/adb#am

0 commit comments

Comments
 (0)