commit | c8fcde2b9afa478740b012dee1d656c9bc8259e0 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Sep 24 12:37:27 2015 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Sep 24 13:35:53 2015 -0700 |
tree | 9a350ed7b1578d73ee3acaa8f4dc38935af57eed | |
parent | 133143c56f336eef6545ef99f4c874dba6637ea6 [diff] |
Simpleperf: fix flaky workload unit tests. Move SIGABRT to SIGKILL to make sure the child process is terminated by a signal. SIGABRT can't guarantee this because the child process can install signal handler for SIGABRT. Add a final _exit(1) after ChildProcessFn in case execvp() fails. Change-Id: I353720b10c6ea42826efcafce5ff2699fd246e22