]
}
if (host_os != "win") {
+ # FIXME: libclang unit tests are disabled on Windows due
+ # to failures, mostly in libclang.VirtualFileOverlay_*.
+ # FIXME: Also, the executable can't find libclang.dll since that's
+ # in a different directory.
deps += [
- # FIXME: libclang unit tests are disabled on Windows due
- # to failures, mostly in libclang.VirtualFileOverlay_*.
- # FIXME: Also, the executable can't find libclang.dll since that's
- # in a different directory.
"libclang:libclangTests",
"libclang/CrashTests:libclangCrashTests",
-
- # Exceptions on Windows are not yet supported.
- "Interpreter/ExceptionTests:ClangReplInterpreterExceptionTests",
]
}
testonly = true
+++ /dev/null
-import("//llvm/utils/unittest/unittest.gni")
-
-unittest("ClangReplInterpreterExceptionTests") {
- configs += [ "//llvm/utils/gn/build:clang_code" ]
- configs -= [
- "//llvm/utils/gn/build:no_exceptions",
- "//llvm/utils/gn/build:no_rtti",
- ]
- deps = [
- "//clang/lib/AST",
- "//clang/lib/Basic",
- "//clang/lib/Interpreter",
- "//clang/lib/Frontend",
- "//llvm/lib/IR",
- "//llvm/lib/ExecutionEngine/Orc",
- "//llvm/lib/Support",
- "//llvm/lib/Target:TargetsToBuild",
- ]
- sources = [ "InterpreterExceptionTest.cpp" ]
-}
]
public_configs = [ ":googletest_config" ]
configs -= [ "//llvm/utils/gn/build:warn_covered_switch_default" ]
- configs -= [ "//llvm/utils/gn/build:no_rtti" ]
sources = [
"googlemock/src/gmock-all.cc",
"googletest/src/gtest-all.cc",