Skip to content

Commit

Permalink
[build] Archive the tests logcat output (#2537)
Browse files Browse the repository at this point in the history
Update the `make package-build-status` target so that the created
`xa-build-status*` file contains `adb logcat` output from the unit
test runs.

This will make it easier to investigate suspected app crashes, which
previously would require digging through the
`msbuild-*-Target-RunApkTests.binlog` log file, which is *gigantic*.
  • Loading branch information
radekdoulik authored and jonpryor committed Dec 19, 2018
1 parent bdd5ded commit 04da7c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-tools/scripts/Packaging.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ _BUILD_STATUS_BUNDLE_INCLUDE = \
$(shell find . -name 'CMakeCache.txt') \
$(shell find . -name 'config.h') \
$(shell find . -name '.ninja_log') \
$(shell find . -name 'android-*.config.cache')
$(shell find . -name 'android-*.config.cache') \
$(wildcard tests/logcat-$(CONFIGURATION)-*.txt)

_BUILD_STATUS_BASENAME = xa-build-status-v$(PRODUCT_VERSION).$(-num-commits-since-version-change)_$(OS_NAME)-$(OS_ARCH)_$(GIT_BRANCH)_$(GIT_COMMIT)-$(CONFIGURATION)
_BUILD_STATUS_ZIP_OUTPUT = $(_BUILD_STATUS_BASENAME).$(ZIP_EXTENSION)
Expand Down

0 comments on commit 04da7c8

Please sign in to comment.