[clang] [llvm] Enable running ClangReplInterpreterTests in an Emscripten environment (PR #150977)
Anutosh Bhat via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 29 20:48:35 PDT 2025
================
@@ -37,6 +37,9 @@ TEST(IncrementalCompilerBuilder, SetCompilerArgs) {
}
TEST(IncrementalCompilerBuilder, SetTargetTriple) {
+#ifdef __EMSCRIPTEN__
+ GTEST_SKIP() << "Test fails for Emscipten builds";
+#endif
----------------
anutosh491 wrote:
Hmm, we should be able to fetch the target triple.
Can we try ?
```
#ifdef __EMSCRIPTEN__
const char* triple = "wasm32-unknown-emscripten";
const char* expected = "wasm32-unknown-emscripten";
#else
const char* triple = "armv6-none-eabi";
const char* expected = "armv6-unknown-none-eabi";
#endif
```
here and use `triple` and `expected` below ?
https://github.com/llvm/llvm-project/pull/150977
More information about the llvm-commits
mailing list