Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(110)

Issue 904003: Misc Android-related fixes. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by digit
Modified:
10 years, 4 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Misc Android-related fixes.

- src/common/android/testing/mkdtemp.h:
  Fixes a compilation error when using the (recent) NDK r9b,
  see comments in the source file for details.

- android/test-driver, Makefile.am, Makefile.in:
  Autotools 1.12 changed the way tests are run during "make check"
  so add a new "custom test driver" to run tests on Android, and
  modify Makefile.am / Makefile.in accordingly. Otherwise,
  'make check' tried to run the tests on the host.

- android/test-shell.sh:
  Allow several tests to run in parallel on the device, by
  creating a custom test directory for each test process.
  This allows running "make check -j8" reliably.

- src/common/linux/file_id_unittest.cc:
  Disable the SelfStrip test on Android, since it assumes a 'strip'
  executable is available on the target system where the test runs.

BUG=NONE
R=mark@chromium.org, ted.mielczarek@gmail.com
TEST=android/run-checks.sh --ndk-dir=/path/to/android-ndk-r9b

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1259

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M Makefile.am View 1 chunk +7 lines, -3 lines 0 comments Download
M Makefile.in View 2 chunks +7 lines, -4 lines 0 comments Download
A android/test-driver View 1 1 chunk +131 lines, -0 lines 0 comments Download
M android/test-shell.sh View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/common/android/testing/mkdtemp.h View 2 chunks +11 lines, -4 lines 0 comments Download
M src/common/linux/file_id_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6
digit
10 years, 4 months ago #1
Mark Mentovai
https://breakpad.appspot.com/904003/diff/1/android/test-driver File android/test-driver (right): https://breakpad.appspot.com/904003/diff/1/android/test-driver#newcode98 android/test-driver:98: $(dirname "$0")/test-shell.sh "$@" > $log_file 2>&1 Needs more quotes: ...
10 years, 4 months ago #2
digit
https://breakpad.appspot.com/904003/diff/1/android/test-driver File android/test-driver (right): https://breakpad.appspot.com/904003/diff/1/android/test-driver#newcode98 android/test-driver:98: $(dirname "$0")/test-shell.sh "$@" > $log_file 2>&1 On 2013/12/13 14:24:28, ...
10 years, 4 months ago #3
Mark Mentovai
LGTM then. The comment you left in the header saying that it can be removed ...
10 years, 4 months ago #4
digit
Thanks
10 years, 4 months ago #5
digit
10 years, 4 months ago #6
Message was sent while issue was closed.
Committed patchset #2 manually as r1259 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted