mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[fix][unittests][llvm] Fix running unit tests without assertions. [NFCI]
This commit is contained in:
parent
1bcb15e5e0
commit
4f5676a2c2
@ -432,6 +432,7 @@ TEST_F(VFShapeAPITest, Parameters_ValidOpenMPLinear) {
|
||||
}
|
||||
|
||||
TEST_F(VFShapeAPITest, Parameters_Invalid) {
|
||||
#ifndef NDEBUG
|
||||
// Wrong order is checked by an asseretion: make sure that the
|
||||
// assertion is not removed.
|
||||
EXPECT_DEATH(validParams({{1, VFParamKind::Vector}}),
|
||||
@ -439,6 +440,7 @@ TEST_F(VFShapeAPITest, Parameters_Invalid) {
|
||||
EXPECT_DEATH(
|
||||
validParams({{1, VFParamKind::Vector}, {0, VFParamKind::Vector}}),
|
||||
"Broken parameter list.");
|
||||
#endif
|
||||
|
||||
// GlobalPredicate is not unique
|
||||
EXPECT_FALSE(validParams({{0, VFParamKind::Vector},
|
||||
|
Loading…
Reference in New Issue
Block a user