Skip to content

Commit

Permalink
[TDF] Do not run death tests in opt and fst mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dpiparo committed Sep 12, 2017
1 parent 5b0de20 commit 2ebbb74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tree/treeplayer/test/dataframe/dataframe_nodes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ TEST(TDataFrameNodes, TSlotStackCheckSameThreadSameSlot)
EXPECT_EQ(s.GetSlot(), s.GetSlot());
}

#ifndef NDEBUG

TEST(TDataFrameNodes, TSlotStackGetOneTooMuch)
{
auto theTest = []() {
Expand Down Expand Up @@ -54,6 +56,8 @@ TEST(TDataFrameNodes, TSlotStackPutBackTooMany)
ASSERT_DEATH(theTest(), "TSlotStack has a reference count relative to an index which will become negative");
}

#endif

TEST(TDataFrameNodes, TLoopManagerGetImplPtr)
{
ROOT::Detail::TDF::TLoopManager lm(nullptr, {});
Expand Down

0 comments on commit 2ebbb74

Please sign in to comment.