Displaying 20 results from an estimated 29 matches for "testingconfig".
2019 Aug 21
2
Cannot run LLVM unit tests doe to python error in lit
...dows and I'm now trying to run unit tests for the LLVM libraries.
I used Ninja as a build system and MSVC as host compiler without an issue, but when I try to run 'ninja check-llvm-unit', I get the following error:
llvm-lit.py: C:/Users/sergej/Developer/llvm-project/llvm\utils\lit\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...
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...lit <src>/llvm/tools/clang/test/CoverageMapping
I get:
llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org-coverage-braces-RA/bin/clang'
llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/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
e...
2018 Jul 17
2
lld/mach-o x86_64 asserts
...; that's a strict requirement.
>
> Doesn't look like the test system works on windows?
>
>
> C:\p\llvm\llvm\tools\lld\test>python c:\p\llvm\llvm-bin32\relwithdebinfo
> \bin\llvm-lit.py darwin\darwin-asserts-in-x86_64.ll
> llvm-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, &...
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...>> I get:
>>
>> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/
>> lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org
>> -coverage-braces-RA/bin/clang'
>> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/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&qu...
2018 Jul 30
3
lld/mach-o x86_64 asserts
...gt; Doesn't look like the test system works on windows?
>> >
>> >
>> > C:\p\llvm\llvm\tools\lld\test>python c:\p\llvm\llvm-bin32\relwithdebinfo
>> > \bin\llvm-lit.py darwin\darwin-asserts-in-x86_64.ll
>> > llvm-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
&...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
...st/CoverageMapping
>
> I get:
>
> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/
> lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org
> -coverage-braces-RA/bin/clang'
> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/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 8...
2018 May 06
3
[clang] Running a single testcase
...onfig=Debug
--param=clang_site_config=C:\Tools\build\tools\clang\test\lit.site.cfg
C:\Tools\llvm\tools\clang\test\Sema\wchar.c
I transformed this...
$ python /usr/lib/llvm-7/build/utils/lit/lit.py -sv
/home/sdi/src/linux-kernel/clang/test/Sema/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_...
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...eMapping
>>
>> I get:
>>
>> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org-coverage-braces-RA/bin/clang'
>> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/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_p...
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
2011 Jan 01
1
[LLVMdev] "nmake check" doesn't work for MSVC
...199, in getTestSuite
> ts, relative = search(item)
> File "M:\Development\Source\LLVM\utils\lit\lit\main.py", line 183, in search
> cache[path] = res = search1(path)
> File "M:\Development\Source\LLVM\utils\lit\lit\main.py", line 174, in search1
> cfg = TestingConfig.frompath(cfgpath, None, litConfig, mustExist = True)
> File "M:\Development\Source\LLVM\utils\lit\lit\TestingConfig.py", line 44, in frompath
> exec f in cfg_globals
> File "M:\Development\x64-msvc\llvm\test\lit.site.cfg", line 19, in <module>
> lit.loa...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
...m.org/>-coverage-braces/llvm/tools/clang/test/lit.cfg.py:97 <http://lit.cfg.py:97/>: note: using clang: '/Volumes/Builds/llvm.org <http://llvm.org/>-coverage-braces-RA/bin/clang'
> llvm-lit: /Users/vk/src/llvm.org <http://llvm.org/>-coverage-braces/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/Users/vk/src/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-...
2017 Nov 10
2
PSA: debuginfo-tests workflow changing slightly
.../jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/util.py:379: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/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/li...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
...get:
> >>
> >> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/
> lit.cfg.py:97: note: using clang:
> '/Volumes/Builds/llvm.org-coverage-braces-RA/bin/clang'
> >> llvm-lit:
> /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/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"...
2017 Nov 10
2
PSA: debuginfo-tests workflow changing slightly
...orkspace/clang-stage1-configure-RA/llvm/utils/lit/lit/util.py:379: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
>
> llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/Users/buildslave/jenkins/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-s...
2018 May 07
0
[clang] Running a single testcase
...config=C:\Tools\build\tools\clang\test\lit.site.cfg
> C:\Tools\llvm\tools\clang\test\Sema\wchar.c
>
> I transformed this...
>
> $ python /usr/lib/llvm-7/build/utils/lit/lit.py -sv
> /home/sdi/src/linux-kernel/clang/test/Sema/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(dat...
2017 Nov 13
2
PSA: debuginfo-tests workflow changing slightly
.../clang-stage1-configure-RA/llvm/utils/lit/lit/util.py:379: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
>>
>> llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/Users/buildslave/jenkins/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/cla...
2017 Nov 13
3
PSA: debuginfo-tests workflow changing slightly
...;>> note: using SDKROOT:
>>>> '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
>>>>
>>>> llvm-lit:
>>>> /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101:
>>>> fatal: unable to parse config file
>>>> '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/
>>>> lit.cfg.py', traceback: Traceback (most recent call last):
>>>> File
>>>...
2017 Nov 13
2
PSA: debuginfo-tests workflow changing slightly
...nfigure-RA/llvm/utils/lit/lit/util.py:379: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
>>>>
>>>> llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/Users/buildslave/jenkins/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/works...
2017 Nov 14
2
PSA: debuginfo-tests workflow changing slightly
...RA/llvm/utils/lit/lit/util.py:379: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
>>>>>
>>>>> llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/Users/buildslave/jenkins/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/w...
2017 Nov 14
2
PSA: debuginfo-tests workflow changing slightly
...9:
> note: using SDKROOT:
> '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
> >>>>>>
> >>>>>> llvm-lit:
> /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101:
> fatal: unable to parse config file
> '/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/jenkin...