Skip to content

Commit ded0a3b

Browse files
authored
Switch EMSCRIPTEN for __EMSCRIPTEN__ in PR
1 parent de87852 commit ded0a3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ TEST(IncrementalCompilerBuilder, SetCompilerArgs) {
3737
}
3838

3939
TEST(IncrementalCompilerBuilder, SetTargetTriple) {
40-
#ifdef EMSCRIPTEN
40+
#ifdef __EMSCRIPTEN__
4141
GTEST_SKIP() << "Test fails for Emscipten builds";
4242
#endif
4343
auto CB = clang::IncrementalCompilerBuilder();

clang/unittests/Interpreter/InterpreterTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ TEST_F(InterpreterTest, DeclsAndStatements) {
147147
}
148148

149149
TEST_F(InterpreterTest, UndoCommand) {
150-
#ifdef EMSCRIPTEN
150+
#ifdef __EMSCRIPTEN__
151151
GTEST_SKIP() << "Test fails for Emscipten builds";
152152
#endif
153153
Args ExtraArgs = {"-Xclang", "-diagnostic-log-file", "-Xclang", "-"};
@@ -259,7 +259,7 @@ static NamedDecl *LookupSingleName(Interpreter &Interp, const char *Name) {
259259
}
260260

261261
TEST_F(InterpreterTest, InstantiateTemplate) {
262-
#ifdef EMSCRIPTEN
262+
#ifdef __EMSCRIPTEN__
263263
GTEST_SKIP() << "Test fails for Emscipten builds";
264264
#endif
265265
// FIXME: We cannot yet handle delayed template parsing. If we run with
@@ -301,7 +301,7 @@ TEST_F(InterpreterTest, InstantiateTemplate) {
301301
}
302302

303303
TEST_F(InterpreterTest, Value) {
304-
#ifdef EMSCRIPTEN
304+
#ifdef __EMSCRIPTEN__
305305
GTEST_SKIP() << "Test fails for Emscipten builds";
306306
#endif
307307
std::vector<const char *> Args = {"-fno-sized-deallocation"};

0 commit comments

Comments
 (0)