8257229: gtest death tests fail with unrecognized stderr output
Reviewed-by: coleenp, minqi
This commit is contained in:
parent
e1182920db
commit
c30fff7c32
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -135,7 +135,7 @@
|
||||
TEST(category, CONCAT(name, _vm_assert)) { \
|
||||
ASSERT_EXIT(child_ ## category ## _ ## name ## _(), \
|
||||
::testing::ExitedWithCode(1), \
|
||||
"^assert failed: " msg); \
|
||||
"assert failed: " msg); \
|
||||
} \
|
||||
\
|
||||
void test_ ## category ## _ ## name ## _()
|
||||
|
Loading…
x
Reference in New Issue
Block a user