Displaying 20 results from an estimated 28 matches for "load_from_path".
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...it/lit/TestingConfig.py:101: fatal: unable to parse config file '/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py', traceback: Traceback (most recent call last):
File "/Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File "/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py", line 128, in <module>
config.substitutions.append( ('%clang_func_map', ' ' + lit.util.which('clang-func-mapping&...
2019 Aug 21
2
Cannot run LLVM unit tests doe to python error in lit
...t\lit\TestingConfig.py:102: fatal: unable to parse config file 'C:\\Users\\sergej\\Developer\\llvm-project\\llvm\\test\\Unit\\lit.cfg.py', traceback: Traceback (most recent call last):
File "C:/Users/sergej/Developer/llvm-project/llvm\utils\lit\lit\TestingConfig.py", line 89, in load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File "C:\Users\sergej\Developer\llvm-project\llvm\test\Unit\lit.cfg.py", line 24, in <module>
config.test_exec_root = os.path.join(config.llvm_obj_root, 'unittests')
AttributeError: 'TestingConfig'...
2018 Jul 17
2
lld/mach-o x86_64 asserts
...lit.py: C:/p/llvm/llvm\utils\lit\lit\TestingConfig.py:101: fatal:
> unable to parse config file 'C:\\p\\llvm\\llvm\\tools\\lld\\test\
> \lit.cfg.py', traceback: Traceback (most recent call last):
> File "C:/p/llvm/llvm\utils\lit\lit\TestingConfig.py", line 88, in
> load_from_path
> exec(compile(data, path, 'exec'), cfg_globals, None)
> File "C:\p\llvm\llvm\tools\lld\test\lit.cfg.py", line 23, in <module>
> config.test_format = lit.formats.ShTest(not
> llvm_config.use_lit_shell)
> AttributeError: 'NoneType' object has...
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...nable to parse config file '/Users/vk/src/llvm.org
>> -coverage-braces/llvm/tools/clang/test/lit.cfg.py', traceback: Traceback
>> (most recent call last):
>> File "/Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/TestingConfig.py",
>> line 88, in load_from_path
>> exec(compile(data, path, 'exec'), cfg_globals, None)
>> File "/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/
>> lit.cfg.py", line 128, in <module>
>> config.substitutions.append( ('%clang_func_map', ' ' +
&g...
2018 Jul 30
3
lld/mach-o x86_64 asserts
...it\TestingConfig.py:101: fatal:
>> > unable to parse config file 'C:\\p\\llvm\\llvm\\tools\\lld\\test\
>> > \lit.cfg.py', traceback: Traceback (most recent call last):
>> > File "C:/p/llvm/llvm\utils\lit\lit\TestingConfig.py", line 88, in
>> > load_from_path
>> > exec(compile(data, path, 'exec'), cfg_globals, None)
>> > File "C:\p\llvm\llvm\tools\lld\test\lit.cfg.py", line 23, in <module>
>> > config.test_format = lit.formats.ShTest(not
>> > llvm_config.use_lit_shell)
>> > A...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
...1:
> fatal: unable to parse config file '/Users/vk/src/llvm.org
> -coverage-braces/llvm/tools/clang/test/lit.cfg.py', traceback: Traceback
> (most recent call last):
> File "/Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/TestingConfig.py",
> line 88, in load_from_path
> exec(compile(data, path, 'exec'), cfg_globals, None)
> File "/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/
> lit.cfg.py", line 128, in <module>
> config.substitutions.append( ('%clang_func_map', ' ' +
> lit.util.whic...
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...stingConfig.py:101: fatal: unable to parse config file '/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py', traceback: Traceback (most recent call last):
>> File "/Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
>> exec(compile(data, path, 'exec'), cfg_globals, None)
>> File "/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py", line 128, in <module>
>> config.substitutions.append( ('%clang_func_map', ' ' + lit.util.whi...
2018 Jul 11
2
lld/mach-o x86_64 asserts
On Tue, Jul 10, 2018 at 10:12 PM Carlo Kok via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> That sounds quite reasaonable; how does one usually go about doing that? a repro zip that hits both asserts?
>
You can take inspiration from anything in lld/test, but basically
either an assembly source (or multiple) passed through llvm-mc and
then lld, or a YAML file passed to yaml2obj
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
.../llvm.org <http://llvm.org/>-coverage-braces/llvm/tools/clang/test/lit.cfg.py <http://lit.cfg.py/>', traceback: Traceback (most recent call last):
> File "/Users/vk/src/llvm.org <http://llvm.org/>-coverage-braces/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
> exec(compile(data, path, 'exec'), cfg_globals, None)
> File "/Users/vk/src/llvm.org <http://llvm.org/>-coverage-braces/llvm/tools/clang/test/lit.cfg.py <http://lit.cfg.py/>", line 128, in <module>
> config.substitutions.append( ('%clang_f...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
...: unable to parse config file
> '/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py',
> traceback: Traceback (most recent call last):
> >> File
> "/Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/TestingConfig.py",
> line 88, in load_from_path
> >> exec(compile(data, path, 'exec'), cfg_globals, None)
> >> File "/Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/
> lit.cfg.py", line 128, in <module>
> >> config.substitutions.append( ('%clang_func_map', '...
2017 Nov 10
2
PSA: debuginfo-tests workflow changing slightly
...e '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py', traceback: Traceback (most recent call last):
File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py", line 36, in <module>
config.test_source_root = os.path.join(config.debuginfo_tests_src_root,...
2018 May 06
3
[clang] Running a single testcase
...a/asm.c
lit.py: /usr/lib/llvm-7/build/utils/lit/lit/TestingConfig.py:101:
fatal: unable to parse config file
'/home/sdi/src/linux-kernel/clang/test/lit.cfg.py', traceback:
Traceback (most recent call last):
File "/usr/lib/llvm-7/build/utils/lit/lit/TestingConfig.py", line
88, in load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File "/home/sdi/src/linux-kernel/clang/test/lit.cfg.py", line 25, in <module>
config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
AttributeError: 'NoneType' object has no attribute '...
2017 Nov 10
2
PSA: debuginfo-tests workflow changing slightly
.../workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>', traceback: Traceback (most recent call last):
> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
> exec(compile(data, path, 'exec'), cfg_globals, None)
> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>", line 36, in <module>
> config.test_source_root = os.p...
2018 May 07
0
[clang] Running a single testcase
...llvm-7/build/utils/lit/lit/TestingConfig.py:101:
> fatal: unable to parse config file
> '/home/sdi/src/linux-kernel/clang/test/lit.cfg.py', traceback:
> Traceback (most recent call last):
> File "/usr/lib/llvm-7/build/utils/lit/lit/TestingConfig.py", line
> 88, in load_from_path
> exec(compile(data, path, 'exec'), cfg_globals, None)
> File "/home/sdi/src/linux-kernel/clang/test/lit.cfg.py", line 25, in
> <module>
> config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
> AttributeError: 'NoneType' obj...
2017 Nov 13
2
PSA: debuginfo-tests workflow changing slightly
...kspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>', traceback: Traceback (most recent call last):
>> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
>> exec(compile(data, path, 'exec'), cfg_globals, None)
>> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>", line 36, in <module>
>> config.test_source...
2017 Nov 13
3
PSA: debuginfo-tests workflow changing slightly
...llvm/tools/clang/test/debuginfo-tests/
>>>> lit.cfg.py', traceback: Traceback (most recent call last):
>>>> File
>>>> "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py",
>>>> line 88, in load_from_path
>>>> exec(compile(data, path, 'exec'), cfg_globals, None)
>>>> File
>>>> "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/
>>>> lit.cfg.py", line 36, in <module>
>>...
2017 Nov 13
2
PSA: debuginfo-tests workflow changing slightly
...lang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>', traceback: Traceback (most recent call last):
>>>> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
>>>> exec(compile(data, path, 'exec'), cfg_globals, None)
>>>> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>", line 36, in <module>
>>>>...
2017 Nov 14
2
PSA: debuginfo-tests workflow changing slightly
...-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>', traceback: Traceback (most recent call last):
>>>>> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
>>>>> exec(compile(data, path, 'exec'), cfg_globals, None)
>>>>> File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/lit.cfg.py <http://lit.cfg.py/>", line 36, in <module>
>>...
2017 Nov 14
2
PSA: debuginfo-tests workflow changing slightly
...ng-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/
> lit.cfg.py', traceback: Traceback (most recent call last):
> >>>>>> File
> "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py",
> line 88, in load_from_path
> >>>>>> exec(compile(data, path, 'exec'), cfg_globals, None)
> >>>>>> File
> "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/
> lit.cfg.py", line 36, in <module>
>...
2020 Jun 25
2
[libcxx-dev] How to include abi and unwind tests in libcxx test suite in standalone mode
I just landed these patches:
commit c55051eea5d3cd57abfd9727f519b670517704d9
Author: Louis Dionne <ldionne at apple.com>
Date: Thu Jun 25 12:02:43 2020 -0400
[libunwind] Allow specifying custom Lit config files
This is the libunwind counterpart of 0c66af970c80.
commit 33c9c10d183371edc95fa936705bef56f55ab611
Author: Louis Dionne <ldionne at