Skip to content

Commit

Permalink
Disable ContextDeathTest on Windows due to regex support.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 29, 2023
1 parent 170bd73 commit ffb0492
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/processor/synth_minidump_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ TEST(Context, ARM) {
== 0);
}

#if !GTEST_OS_WINDOWS && !GTEST_HAS_ABSL
// Windows does not support complex regular expressions in death tests.
TEST(ContextDeathTest, X86BadFlags) {
Dump dump(0, kLittleEndian);
MDRawContextX86 raw;
Expand All @@ -162,6 +164,7 @@ TEST(ContextDeathTest, X86BadEndianness) {
ASSERT_DEATH(Context context(dump, raw);,
"dump\\.endianness\\(\\) == kLittleEndian");
}
#endif

TEST(Thread, Simple) {
Dump dump(0, kLittleEndian);
Expand Down

0 comments on commit ffb0492

Please sign in to comment.