<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - 11.1.0: test suite is failing"
href="https://bugs.llvm.org/show_bug.cgi?id=49314">49314</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>11.1.0: test suite is failing
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kloczko.tomasz@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>gcc 11.0.1
python lit 0.11.1
Python 3.8.8
llvm 11.1.0 build with using LTO on linking all binaries
[tkloczko@barrel clang-11.1.0.src]$
LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILDROOT/clang-11.1.0-7.fc35.x86_64/usr/lib64
/usr/bin/cmake --build x86_64-redhat-linux-gnu -j48 --verbose --target
check-all --verbose -v
[1/2] cd /home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/bindings/python &&
/usr/bin/cmake -E env
CLANG_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/lib64
/usr/bin/python3.8 -m unittest discover
........................................................./home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/bindings/python/tests/cindex/test_diagnostics.py:100:
DeprecationWarning: Please use assertRegex instead.
self.assertRegexpMatches(children[0].spelling,
.....................................................................
----------------------------------------------------------------------
Ran 126 tests in 1.087s
OK
[1/2] cd /home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu
&& /usr/bin/python3.8 /usr/bin/lit -sv --param USE_Z3_SOLVER=0
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/tools/extra/test
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/tools/extra/clangd/test/../unittests
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/tools/extra/clangd/test
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/test
lit: /usr/lib/python3.8/site-packages/lit/llvm/config.py:345: note: using
clang:
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/bin/clang
lit: /usr/lib/python3.8/site-packages/lit/llvm/config.py:345: note: using
clang:
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/bin/clang
lit: /usr/lib/python3.8/site-packages/lit/TestingConfig.py:99: fatal: unable to
parse config file
'/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/test/utils/update_cc_test_checks/lit.local.cfg',
traceback: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/lit/TestingConfig.py", line 88, in
load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File
"/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/test/utils/update_cc_test_checks/lit.local.cfg",
line 21, in <module>
assert os.path.isfile(script_path)
AssertionError
FAILED: CMakeFiles/check-all
cd /home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu &&
/usr/bin/python3.8 /usr/bin/lit -sv --param USE_Z3_SOLVER=0
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/tools/extra/test
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/tools/extra/clangd/test/../unittests
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/tools/extra/clangd/test
/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/x86_64-redhat-linux-gnu/test
ninja: build stopped: subcommand failed.
[tkloczko@barrel clang-11.1.0.src]$ cat
"/home/tkloczko/rpmbuild/BUILD/clang-11.1.0.src/test/utils/update_cc_test_checks/lit.local.cfg"
import os
import lit.util
# python 2.7 backwards compatibility
try:
from shlex import quote as shell_quote
except ImportError:
from pipes import quote as shell_quote
config.test_format = lit.formats.ShTest(execute_external=False)
config.suffixes = ['.test']
clang_path = os.path.join(config.clang_tools_dir, 'clang')
extra_args = '--clang ' + shell_quote(clang_path)
opt_path = os.path.join(config.llvm_tools_dir, 'opt')
extra_args += ' --opt ' + shell_quote(opt_path)
script_path = os.path.join(config.llvm_src_root, 'utils',
'update_cc_test_checks.py')
assert os.path.isfile(script_path)
config.substitutions.append(
('%update_cc_test_checks', "%s %s %s" % (
shell_quote(config.python_executable), shell_quote(script_path),
extra_args)))</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>