Displaying 20 results from an estimated 1391 matches for "lits".
Did you mean:
its
2016 Jan 14
4
LLVM-LIT config documentation?
Dear all,
Recently I've considering using LIT for my benchmark testing framework, and
the only reference for LLVM-LIT is the man page and some READMEs. I don't
find any documentations on config, which seems to be quite important to the
tool. If I use lit outside LLVM source tree and use on my own test files,
LIT marks them as 'unresolved'.
So are there any documentations I can
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
As of r313998, this workflow no longer works:
cd <build-dir>
./bin/llvm-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:
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
This works for me. Can you run "which clang-func-mapping" and also add a
line to clang/test/lit.cfg.py to print the value of
config.environment['PATH']?
On Fri, Sep 22, 2017 at 11:27 AM Zachary Turner <zturner at google.com> wrote:
> Looking, thanks for the report.
>
> On Fri, Sep 22, 2017 at 11:22 AM Vedant Kumar <vsk at apple.com> wrote:
>
>> As
2018 May 07
0
[clang] Running a single testcase
> On 7 May 2018, at 11:01, Sedat Dilek via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> On Mon, May 7, 2018 at 5:52 AM, Brian Cain <brian.cain at gmail.com <mailto:brian.cain at gmail.com>> wrote:
>> The simplest way to run a clang test case that I know of is to clone both
>> llvm and clang repos, run all the tests, then run an individual test.
>>
2017 Sep 13
2
PSA: Potential lit workflow change
llvm-lit is already put into <output-tree>/bin by CMake.
There is a CMake target called `llvm-lit` that will generate the
<output-dir>/bin/llvm-lit script. If you built only a few specific llvm
targets such as FileCheck, etc then you may need to run this lit target
manually. If you just run "ninja" for example, or "ninja check-llvm", it's
automatically
2018 May 06
3
[clang] Running a single testcase
Hi,
while experimenting with llvmlinux on Debian/testing AMD64 I wanted to
run some x86-64 ASM tests.
I fell over [1] and wanted to run it.
So, I cloned clang from Git...
$ git clone https://github.com/llvm-mirror/clang.git
I looked through some docs where I have seen I need "llvm-lit" or "lit.py".
The Debian package llvm-7-tools from <apt.llvm.org> does ship
2018 May 07
2
[clang] Running a single testcase
On Mon, May 7, 2018 at 5:52 AM, Brian Cain <brian.cain at gmail.com> wrote:
> The simplest way to run a clang test case that I know of is to clone both
> llvm and clang repos, run all the tests, then run an individual test.
>
> IIRC like so:
>
> git clone llvm ......
> cd llvm/tools
> git clone clang .....
> cd ../../
> mkdir build
> cd build
> cmake
2015 Nov 14
3
[lit] RFC: Per test timeout
Hi,
A feature I've wanted in lit for a while is a having a timeout per
test. Attached
are patches that implement this idea.
I'm e-mailing llvm-dev rather than llvm-commits
because I want to gather more feedback on my initial implementation and
hopefully some answers to some unresolved issues with my implementation.
Currently in lit you can set a global timeout for
all of the tests but
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
> On Sep 22, 2017, at 11:36 AM, Vedant Kumar <vsk at apple.com> wrote:
>
> Ah, the problem goes away once I build clang-func-mapping.
>
> I stripped some stuff out, but here's pretty much what clang/test/lit.cfg.py says my PATH is:
>
> ** PATH **: /Volumes/Builds/llvm.org-coverage-braces-RA/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
>
> I wonder how
2019 Aug 21
2
Cannot run LLVM unit tests doe to python error in lit
Hello, LLVM community.
I've built a cross-toolchain on Windows 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
2018 May 07
2
[clang] Running a single testcase
On Mon, May 7, 2018 at 4:03 PM, Amara Emerson <aemerson at apple.com> wrote:
> On 7 May 2018, at 11:01, Sedat Dilek via llvm-dev <llvm-dev at lists.llvm.org>
> wrote:
>
> On Mon, May 7, 2018 at 5:52 AM, Brian Cain <brian.cain at gmail.com> wrote:
>
> The simplest way to run a clang test case that I know of is to clone both
> llvm and clang repos, run all the
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
Ah, the problem goes away once I build clang-func-mapping.
I stripped some stuff out, but here's pretty much what clang/test/lit.cfg.py says my PATH is:
** PATH **: /Volumes/Builds/llvm.org-coverage-braces-RA/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I wonder how this ever worked before, when I didn't have clang-func-mapping built.
Anyway, thanks for your help!
vedant
>
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
Looking, thanks for the report.
On Fri, Sep 22, 2017 at 11:22 AM Vedant Kumar <vsk at apple.com> wrote:
> As of r313998, this workflow no longer works:
>
> cd <build-dir>
> ./bin/llvm-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
2017 Sep 13
2
PSA: Potential lit workflow change
Hi all, I've got https://reviews.llvm.org/D37756 up for review currently
which simplifies a lot of the logic in our lit config files.
For most people, this will be completely transparent and "just work", but
it breaks one workflow that people should be aware of.
Problem: If you run lit by putting llvm-config in your path and then
running <source-root>/utils/lit/lit.py
2018 May 07
0
[clang] Running a single testcase
The simplest way to run a clang test case that I know of is to clone both
llvm and clang repos, run all the tests, then run an individual test.
IIRC like so:
git clone llvm ......
cd llvm/tools
git clone clang .....
cd ../../
mkdir build
cd build
cmake ../llvm
ninja check-clang
./bin/llvm-lit -v ./tools/clang/test/Sema/asm.c
On Sun, May 6, 2018 at 7:10 AM, Sedat Dilek via llvm-dev <
2017 Sep 11
5
Different ways of running lit
What are all the different ways people run lit? I'm doing some refactoring
and want to make sure I have all the based covered. Obviously you can use
check-llvm. And you can also run llvm-lit.py in your bin directory and
point it to your source tree.
What else? Both of the aforementioned methods require running cmake first,
is there any use case where someone runs lit without having run
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
Yea at first I was worried that maybe I changed the semantics of how it
looked in PATH, and you had clang-func-mapping in your PATH somewhere
before but now lit was building a different PATH. But I looked at that
change and it wasn't even creating that substitution before. So it looks
like that CL is indeed the problem.
On Fri, Sep 22, 2017 at 11:38 AM Vedant Kumar <vsk at apple.com>
2012 Jul 11
2
[LLVMdev] llvm 'gmake check' errors generating lit.site.cfg
Hi,
Using trunk llvm ; on powerpc (powerpc64/power7); trying to do a
"gmake check", the sed bits in test/Makefile appear to be getting
tripped up when trying to generate lit.site.cfg. I've started to hack
at it, made a little bit of progress, but wonder if I'm just digging
myself a hole. Highlights of what I've poked at are below.. Comments
or thoughts?
Thanks,
2011 Jan 01
1
[LLVMdev] "nmake check" doesn't work for MSVC
Hi,
I built llvm+Clang for MSVC 10 with
cmake ../../Source/LLVM -G"NMake Makefiles"
nmake
And I tried to do a
nmake check
(which works for MinGW and "mingw32-make check")
and get the following error:
>Scanning dependencies of target check
>[100%] Running LLVM regression tests
>Traceback (most recent call last):
> File
2015 Jan 31
0
[LLVMdev] [3.6 Release] RC2 has been tagged, Testing Phase II begins
On 31 Jan 2015, at 01:42, Hans Wennborg <hans at chromium.org> wrote:
> Hi testers,
>
> 3.6.0-rc2 was just tagged. Please test and build binaries.
>
> The tracking bug for 3.6 blockers is http://llvm.org/pr22374. Please
> file issues against it.
>
> Thanks for helping with the release!
This time I got an error during check-all, on i386-unknown-freebsd10: