Skip to content

Commit

Permalink
Skip more death tests if not supported
Browse files Browse the repository at this point in the history
Summary: Skip more death tests if not supported

Reviewed By: jpporto

Differential Revision: D36259863

fbshipit-source-id: c6204672bd125de45911d4597d4c88e685d1adee
  • Loading branch information
kodafb authored and facebook-github-bot committed May 9, 2022
1 parent f1462aa commit 928c83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/VMRuntime/HandleTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ TEST_F(HandleTest, ScopedPointerConstructorTest) {
ASSERT_EQ(function.get(), obj.get());
}

#ifdef HERMES_SLOW_DEBUG
#if defined(HERMES_SLOW_DEBUG) && defined(ASSERT_DEATH)
TEST_F(HandleDeathTest, UseFlushedHandle) {
auto marker = gcScope.createMarker();
auto handle = StringPrimitive::createNoThrow(runtime, "hello");
Expand Down

0 comments on commit 928c83c

Please sign in to comment.