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 39daf69 commit 31701d7Copy full SHA for 31701d7
scripts/run-android-instrumentation-tests.sh
@@ -163,6 +163,13 @@ ra_log "Gradle stdout captured at $GRADLE_STDOUT_LOG"
163
164
sleep 2
165
166
+if [ "$LOGCAT_PID" -ne 0 ]; then
167
+ ra_log "Stopping logcat capture"
168
+ kill "$LOGCAT_PID" >/dev/null 2>&1 || true
169
+ wait "$LOGCAT_PID" 2>/dev/null || true
170
+ LOGCAT_PID=0
171
+fi
172
+
173
declare -a CN1SS_SOURCES=()
174
[ -s "$GRADLE_STDOUT_LOG" ] && CN1SS_SOURCES+=("STDOUT:$GRADLE_STDOUT_LOG")
175
[ -s "$TEST_LOG" ] && CN1SS_SOURCES+=("LOGCAT:$TEST_LOG")
0 commit comments