commit | e052da08bc46c3d5a37d01b3ad4e70179fbf2f53 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Oct 25 23:50:42 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 25 23:50:42 2022 +0000 |
tree | 386e10e57fff926ccdcaa8d1f96bb4ace855922c | |
parent | 8e07a47ed297ebff4528b9e3eedb608d39fd6c83 [diff] | |
parent | 035600795480ad7b0785dc37b38bc56371b27ff1 [diff] |
Merge "Don't try to load libSegFault.so if it doesn't exist"
diff --git a/build_test.bash b/build_test.bash index ae53c14..eda4beb 100755 --- a/build_test.bash +++ b/build_test.bash
@@ -48,8 +48,10 @@ case $(uname) in Linux) - export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so - export SEGFAULT_USE_ALTSTACK=1 + if [[ -f /lib/x86_64-linux-gnu/libSegFault.so ]]; then + export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so + export SEGFAULT_USE_ALTSTACK=1 + fi ulimit -a ;; esac