aboutsummaryrefslogtreecommitdiff
path: root/autotools
diff options
context:
space:
mode:
authorLars Volker <lv@cloudera.com>2018-01-31 13:29:11 -0800
committerTed Mielczarek <ted@mielczarek.org>2018-02-20 11:08:52 +0000
commit49907e1c3457570f56d959ae26dec6c3a5edd417 (patch)
treef969036a1913824c314ea27a55ac244bdd416cc1 /autotools
parentFix crash when an NSException is thrown. (diff)
downloadbreakpad-49907e1c3457570f56d959ae26dec6c3a5edd417.tar.xz
Fix Travis build by running tests as root
A recent configuration change made it necessary to run our tests on Travis as root. This change also increases the timeout of ParallelChildCrashesDontHang to make it pass in Travis virtualized containers. Bug: google-breakpad:753 Change-Id: I6ca8ff4513c6ea3e0646f22457f28b5c4fca6654 Reviewed-on: https://chromium-review.googlesource.com/890564 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'autotools')
-rwxr-xr-xautotools/root-test-driver3
1 files changed, 3 insertions, 0 deletions
diff --git a/autotools/root-test-driver b/autotools/root-test-driver
new file mode 100755
index 00000000..66bf7ebb
--- /dev/null
+++ b/autotools/root-test-driver
@@ -0,0 +1,3 @@
+#!/bin/sh
+# -E to keep the environment variables needed to run the tests.
+exec sudo -E "$@"