Skip to content

Commit 5819817

Browse files
Googlera-maurice
Googler
authored andcommitted
Moved output value for EXPECT_DEATH to define so can be set to different values on different platforms. Fixes a bunch of unit tests.
PiperOrigin-RevId: 263259596
1 parent 910dd2e commit 5819817

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/test_rules.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ function(cc_test name)
5353
PRIVATE
5454
-DINTERNAL_EXPERIMENTAL=1
5555
${cc_test_DEFINES}
56+
-DDEATHTEST_SIGABRT=""
5657
)
5758
endfunction()
5859

@@ -94,5 +95,6 @@ function(cc_test_on_ios name)
9495
PRIVATE
9596
-DINTERNAL_EXPERIMENTAL=1
9697
${cc_test_DEFINES}
98+
-DDEATHTEST_SIGABRT="SIGABRT"
9799
)
98100
endfunction()

0 commit comments

Comments
 (0)