Skip to content

Commit 8a7ed56

Browse files
authored
Fix for flag added to wrong test_embind in #20758 (#20760)
1 parent 527b10e commit 8a7ed56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_core.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7649,9 +7649,6 @@ def test2():
76497649
})
76507650
def test_embind(self, args):
76517651
self.maybe_closure()
7652-
# This test explicitly creates std::string from unsigned char pointers
7653-
# which is deprecated in upstream LLVM.
7654-
self.emcc_args.append('-Wno-deprecated-declarations')
76557652
create_file('test_embind.cpp', r'''
76567653
#include <stdio.h>
76577654
#include <emscripten/val.h>

test/test_other.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2923,6 +2923,9 @@ def test_embind_closure_no_dynamic_execution(self):
29232923
})
29242924
def test_embind(self, *extra_args):
29252925
self.emcc_args += [
2926+
# This test explicitly creates std::string from unsigned char pointers
2927+
# which is deprecated in upstream LLVM.
2928+
'-Wno-deprecated-declarations',
29262929
'-lembind',
29272930
'-sRETAIN_COMPILER_SETTINGS',
29282931
'-sEXPORTED_RUNTIME_METHODS=getCompilerSetting',

0 commit comments

Comments
 (0)