[clang] [llvm] Enable running ClangReplInterpreterTests in an Emscripten environment (PR #150977)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 03:40:57 PDT 2025
mcbarton wrote:
@anutosh491 Yes the plan is that for now CppInterOps ci will be made to run the tests for the llvm 21 branch, assuming it gets cherry picked for the release (I also have the patch for llvm 20 and will create one for llvm 19 to CppInterOp can run for these versions too). Hopefully showing it working will give greater changes that llvm has such a Emscripten ci workflow (would be quite easy to create given we have CppInterOps ci).
If you want to run the tests locally to see the error, then remove -DLLVM_INCLUDE_TESTS=OFF from CppInterOps Emscripten instructions (you shouldn't apply any of the patches either), build the ClangReplInterpreterTests target, then go from the build folder to the test folder (e.g execute cd ./tools/clang/unittests/Interpreter) . Then you can execute the tests using
node ClangReplInterpreterTests.js
https://github.com/llvm/llvm-project/pull/150977
More information about the llvm-commits
mailing list