aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r--llvm/test/lit.cfg.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 974af4b..35ea8b8 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -57,8 +57,17 @@ if config.enable_profcheck:
# so we just exclude llvm-reduce tests from this config altogether. This should
# be fine though as profcheck config tests are mostly concerned with opt.
config.excludes.append("llvm-reduce")
+ # Exclude llvm-objcopy tests - not the target of this effort, and some use
+ # cat in ways that conflict with how profcheck uses it.
+ config.excludes.append("llvm-objcopy")
# (Issue #161235) Temporarily exclude LoopVectorize.
config.excludes.append("LoopVectorize")
+ # exclude UpdateTestChecks - they fail because of inserted prof annotations
+ config.excludes.append("UpdateTestChecks")
+ # TODO(#166655): Reenable Instrumentation tests
+ config.excludes.append("Instrumentation")
+ # profiling doesn't work quite well on GPU, excluding
+ config.excludes.append("AMDGPU")
# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)
@@ -579,7 +588,7 @@ def have_cxx_shared_library():
print("could not exec llvm-readobj")
return False
- readobj_out = readobj_cmd.stdout.read().decode("ascii")
+ readobj_out = readobj_cmd.stdout.read().decode("utf-8")
readobj_cmd.wait()
regex = re.compile(r"(libc\+\+|libstdc\+\+|msvcp).*\.(so|dylib|dll)")