aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-09-19 12:55:16 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-09-19 12:55:16 +0000
commit0e91d185cac51ed1b2c9163afca998660ebda08e (patch)
treea154d70d8918dd48c9ec161c94fff037d05ea113 /android
parentAllow generating minidumps from live process on Linux via ExceptionHandler (diff)
downloadbreakpad-0e91d185cac51ed1b2c9163afca998660ebda08e.tar.xz
Minidumps never contain MD_LINUX_DSO_DEBUG info when breakpad is in a shared library
A=Mike Hommey <mh@glandium.org> R=ted at http://breakpad.appspot.com/422002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1044 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'android')
-rwxr-xr-xandroid/test-shell.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/test-shell.sh b/android/test-shell.sh
index 765c1d4f..526e926a 100755
--- a/android/test-shell.sh
+++ b/android/test-shell.sh
@@ -73,6 +73,9 @@ case $TEST_PROGRAM_NAME in
# linux_client_unittest will call another executable at runtime, ensure
# it is installed too.
adb_install "$TEST_PROGRAM_DIR/linux_dumper_unittest_helper" "$TEST_DIR"
+ # linux_client_unittest loads a shared library at runtime, ensure it is
+ # installed too.
+ adb_install "$TEST_PROGRAM_DIR/linux_client_unittest_shlib" "$TEST_DIR"
;;
basic_source_line_resolver_unittest)
DATA_FILES="module1.out \
@@ -121,7 +124,7 @@ done
adb_install "$TEST_PROGRAM" "$TEST_DIR"
# Run it
-adb_shell "cd $TEST_DIR && ./$TEST_PROGRAM_NAME $@"
+adb_shell "cd $TEST_DIR && LD_LIBRARY_PATH=. ./$TEST_PROGRAM_NAME $@"
# Note: exiting here will call cleanup_exit which will remove the temporary
# files from the device.