Skip to content

Commit 87fb56e

Browse files
authored
Pass -Wno-character-conversion to gtest build (#24350)
llvm/llvm-project#138708 added a new warning for converting different charN_t types, which triggers in the googletest build. Disable this warning until it's fixed upstream.
1 parent dc1abd5 commit 87fb56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15036,7 +15036,7 @@ def test_googletest(self):
1503615036
test_file('third_party/googletest/googletest/src/gtest-all.cc'),
1503715037
test_file('third_party/googletest/googletest/src/gtest_main.cc'),
1503815038
]
15039-
self.do_other_test('test_googletest.cc')
15039+
self.do_other_test('test_googletest.cc', emcc_args=['-Wno-character-conversion', '-Wno-unknown-warning-option'])
1504015040

1504115041
def test_parseTools_legacy(self):
1504215042
create_file('post.js', '''

0 commit comments

Comments
 (0)