mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
integration_tests: Show error message passed down instead.
Might help a bit more when things stop working. BUG=None TEST=./integration_tests/run # and observe the error message. thread 'boot_test_suspend_resume' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidFd', integration_tests/tests/fixture.rs:176:24 becomes thread 'boot_test_suspend_resume' panicked at 'failed to initiailize syslog: guess of fd for syslog connection was invalid', integration_tests/tests/fixture.rs:177:13 Change-Id: Ife82b9e430d416a40cefced258e7f9bdc589bf73 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3055551 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Junichi Uekawa <uekawa@chromium.org>
This commit is contained in:
parent
222a901240
commit
fc325cdd23
1 changed files with 3 additions and 1 deletions
|
@ -173,7 +173,9 @@ impl TestVm {
|
||||||
|
|
||||||
/// Downloads prebuilts if needed.
|
/// Downloads prebuilts if needed.
|
||||||
fn initialize_once() {
|
fn initialize_once() {
|
||||||
syslog::init().unwrap();
|
if let Err(e) = syslog::init() {
|
||||||
|
panic!("failed to initiailize syslog: {}", e);
|
||||||
|
}
|
||||||
|
|
||||||
// It's possible the prebuilts downloaded by crosvm-9999.ebuild differ
|
// It's possible the prebuilts downloaded by crosvm-9999.ebuild differ
|
||||||
// from the version that crosvm was compiled for.
|
// from the version that crosvm was compiled for.
|
||||||
|
|
Loading…
Reference in a new issue