llvm-project/clang/test
Serge Pavlov 110a24fb44 Fix driver tests when `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is `ON`
Some Driver tests relied on the default resource direcory having per-os per-arch
subdirectory layout, and when clang is built with `-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON`,
those test fail, because clang by default assumes per-target subdirectories.

Explicitly set `-resource-dir` flag to point to a tree with per-os per-arch layout.

See also: D45604, D62469

Differential Revision: https://reviews.llvm.org/D66981

Patch by Sergej Jaskiewicz <jaskiewiczs@icloud.com>.

llvm-svn: 373565
2019-10-03 04:52:46 +00:00
..
ARCMT
AST [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
ASTMerge [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
Analysis Teach CallGraph to look into Generic Lambdas. 2019-09-30 19:12:29 +00:00
CXX For P0784R7: compute whether a variable has constant destruction if it 2019-09-29 05:08:46 +00:00
ClangScanDeps [clang-scan-deps] strip the --serialize-diagnostics argument 2019-09-21 00:17:26 +00:00
CodeCompletion Re-land "[CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods." 2019-06-10 15:17:52 +00:00
CodeGen [clang] [AST] Treat "inline gnu_inline" the same way as "extern inline gnu_inline" in C++ mode 2019-09-27 12:25:19 +00:00
CodeGenCUDA [HIP] Support new kernel launching API 2019-09-24 19:16:40 +00:00
CodeGenCXX Don't elide the use of the thread wrapper for a thread_local constinit 2019-10-01 01:23:23 +00:00
CodeGenCoroutines Remove unreachable blocks before splitting a coroutine. 2019-08-14 03:54:13 +00:00
CodeGenObjC [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
CodeGenObjCXX [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
CodeGenOpenCL AMDGPU: Add builtins for is_shared/is_private 2019-09-05 03:00:43 +00:00
CodeGenOpenCLCXX Make the CXXABIs respect the target's default calling convention. 2019-07-26 12:36:12 +00:00
Coverage Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
CoverageMapping Remove cache for macro arg stringization 2019-07-30 17:58:22 +00:00
Driver Fix driver tests when `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is `ON` 2019-10-03 04:52:46 +00:00
FixIt [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
Format Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
Frontend Fix buildbot failure from r373217 (don't match metadata id exactly) 2019-09-30 17:26:48 +00:00
Headers [Testing] Workaround libcxx bug when OS is "none" 2019-09-26 08:19:44 +00:00
Import [clang] Ignore builtin namespaces in test/Import/cxx-anon-namespace 2019-10-01 11:53:20 +00:00
Index [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
Integration
InterfaceStubs Revert 373538 and follow-ups 373549 and 373552. 2019-10-03 02:38:43 +00:00
Layout P0840R2: support for [[no_unique_address]] attribute 2019-06-20 20:44:45 +00:00
Lexer Mark P0784R7 as complete and start defining its feature-test macro. 2019-10-03 00:39:37 +00:00
Misc [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
Modules [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
OpenMP [OPENMP50]Add parsing/sema analysis for declare variant score. 2019-10-02 18:19:02 +00:00
PCH Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
Parser [MS] Warn when shadowing template parameters under -fms-compatibility 2019-09-12 18:26:34 +00:00
Preprocessor [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
Profile Reland "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2019-09-11 16:19:50 +00:00
Refactor [Tooling] Added DeclStmtClass to ExtractionSemicolonPolicy 2019-08-14 13:37:39 +00:00
Rewriter
Sema [Diagnostics] Make -Wenum-compare-conditional off by default 2019-10-01 18:12:13 +00:00
SemaCUDA [clang] [AST] Treat "inline gnu_inline" the same way as "extern inline gnu_inline" in C++ mode 2019-09-27 12:25:19 +00:00
SemaCXX PR43519: don't inject a diagnostic when constant-evaulation of a 2019-10-03 01:20:27 +00:00
SemaObjC [Sema] Split of versions of -Wimplicit-{float,int}-conversion for Objective-C BOOL 2019-09-17 21:11:51 +00:00
SemaObjCXX [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
SemaOpenCL [OpenCL] Add -Wconversion to fdeclare-opencl-builtins test 2019-09-26 13:31:36 +00:00
SemaOpenCLCXX Quote the token being diagnosed for C11 extensions. 2019-08-27 13:47:51 +00:00
SemaTemplate Always rebuild a DeclRefExpr if its FoundDecl would change. 2019-09-26 22:28:32 +00:00
TableGen
Templight
Tooling Recommit r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-15 20:09:54 +00:00
Unit
VFS Switch "windows" to "system-windows" in some XFAILs 2019-09-12 11:19:12 +00:00
clang-rename [clang-rename] Better renaming the typedef decl. 2019-10-02 09:50:46 +00:00
.clang-format
CMakeLists.txt [Clang][Bundler] Use llvm-objcopy for creating fat object files 2019-08-26 19:48:43 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Revert 373538 and follow-ups 373549 and 373552. 2019-10-03 02:38:43 +00:00
lit.site.cfg.py.in Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
make_test_dirs.pl