================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits