Displaying 20 results from an estimated 10000 matches similar to: "[clang] Running a single testcase"
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 <
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
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.
>>
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
2018 May 07
0
[clang] Running a single testcase
On Mon, May 7, 2018 at 10:13 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> ...
>
> sdi at iniza:~/src/llvm-toolchain/build$ ./bin/llvm-lit -v
> ./tools/clang/test/Sema/asm.c
> llvm-lit: /home/sdi/src/llvm-toolchain/llvm/utils/lit/lit/llvm/
> config.py:334:
> note: using clang: /home/sdi/src/llvm-toolchain/build/bin/clang
> -- Testing: 1 tests, 1 threads --
2018 Jul 17
2
lld/mach-o x86_64 asserts
Got it.
Attached are both the testcase & the fix.
On Tue, Jul 17, 2018, at 12:06, Carlo Kok via llvm-dev wrote:
> On Wed, Jul 11, 2018, at 16:45, Davide Italiano wrote:
> > 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?
2018 Jul 30
3
lld/mach-o x86_64 asserts
Sorry, I was thinking to review the test but didn't.
Is this test complete? It does invoke lld, but it didn't verify its output.
On Mon, Jul 30, 2018 at 2:03 PM Andrew Kelley <superjoe30 at gmail.com> wrote:
> Ping Rui. Is there anything else that needs to be done on this patch?
>
> On Tue, Jul 17, 2018 at 6:58 AM, Carlo Kok via llvm-dev <
> llvm-dev at
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
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
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
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
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 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
>
2018 May 07
2
[clang] Running a single testcase
On Mon, May 7, 2018 at 5:19 PM, Brian Cain <brian.cain at gmail.com> wrote:
>
>
> On Mon, May 7, 2018 at 10:13 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>>
>> ...
>
>
>>
>> sdi at iniza:~/src/llvm-toolchain/build$ ./bin/llvm-lit -v
>> ./tools/clang/test/Sema/asm.c
>> llvm-lit:
>>
2017 Nov 10
2
PSA: debuginfo-tests workflow changing slightly
It looks like this broke green dragon:
http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40383/console
llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/projects/libcxx/utils/libcxx/test/config.py:173: note: Adding environment variables: {'DYLD_LIBRARY_PATH': '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/./lib',
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>
2017 Nov 10
2
PSA: debuginfo-tests workflow changing slightly
> On Nov 10, 2017, at 2:50 PM, Zachary Turner <zturner at google.com> wrote:
>
> I checked in a fix for that already, sorry for the trouble. I’m waiting for it to cycle
awesome. Thanks!
-- adrian
> On Fri, Nov 10, 2017 at 2:49 PM Adrian Prantl <aprantl at apple.com <mailto:aprantl at apple.com>> wrote:
> It looks like this broke green dragon:
>
>
2017 Nov 13
2
PSA: debuginfo-tests workflow changing slightly
It looks like the bots are still red?
— Adrian
> On Nov 10, 2017, at 3:14 PM, Zachary Turner <zturner at google.com> wrote:
>
> Wasn't quite fixed, but it got a lot further this time. This time there was still an issue in the test_debuginfo.pl <http://test_debuginfo.pl/> script regarding a hardcoded path to the llgdb.py script. I think I never encountered this locally
2017 Nov 13
3
PSA: debuginfo-tests workflow changing slightly
On the other hand this file hasn't changed recently, but I have no way to
test this as it uses the LLDB code path, which only runs on OSX.
On Mon, Nov 13, 2017 at 3:19 PM Zachary Turner <zturner at google.com> wrote:
> I might be missing something, but this doesn't look like me?
>
>
>