diff options
Diffstat (limited to 'oatdump/oatdump_test.h')
| -rw-r--r-- | oatdump/oatdump_test.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oatdump/oatdump_test.h b/oatdump/oatdump_test.h index 3ec5b94afa..708befe1b7 100644 --- a/oatdump/oatdump_test.h +++ b/oatdump/oatdump_test.h @@ -328,7 +328,9 @@ class OatDumpTest : public CommonRuntimeTest { auto post_fork_fn = []() { setpgid(0, 0); // Change process groups, so we don't get reaped by ProcessManager. - return true; // Ignore setpgid failures. + // Ignore setpgid failures. + return setenv("ANDROID_LOG_TAGS", "*:e", 1) == 0; // We're only interested in errors and + // fatal logs. }; ForkAndExecResult res = ForkAndExec(exec_argv, post_fork_fn, line_buf_fn); |