similar to: How to make a subdirectory in a lit test?

Displaying 20 results from an estimated 10000 matches similar to: "How to make a subdirectory in a lit test?"

2020 Aug 06
2
How to make a subdirectory in a lit test?
Yeah, the llvm-ar tests are working on Windows. But I'm getting different results when I try to use the same commands in an LLDB lit test. Maybe there's something messed up in LLDB's local lit config? If I have `mkdir %t/subdir` in my lit test, I get either file-not-found or a complaint about "unrecognized option /subdir." The one-and-only mkdir on my PATH is
2000 Dec 18
2
scp remote path specification
Hello, in order to use "scp", the scp binary has to be in the compile-time default path on the remote host. For some users (like root), we try to avoid this since scp may be on a network file system (AFS/NFS), and we don't want to hang root's session on network outages. Would a patch to scp be acceptable in the main tree that allows to set the path to remote scp explicity,
2010 Dec 23
3
[LLVMdev] LLVM on Cygwin: why tests don't run
Hi all, LLVM+clang builds fine under Cygwin 1.7, but "make check-all" fails to run because lit doesn't find the freshly built clang. The reason is as follows: in llvm/utils/lit/lit/Util.py, in the "which" method, there's 66: # Get suffixes to search. 67: pathext = os.environ.get('PATHEXT', '').split(os.pathsep) The problem is, PATHEXT is imported
2007 Jul 09
1
BLAS / LAPACK version information from within R-session?
Hi, for diagnostic purposes, I would like to get information about the BLAS / LAPACK linked against R from within an R-session. An obvious application could be safety-checks for packages like Matrix and quantreg at load / attach - time. Also you could be more precise on the "framework" in which R is running for comparable benchmark timings on different systems. Perhaps this
2019 Oct 31
2
How to run single compiler-rt test in monorepo?
Hello all, I am having trouble running only a single lit-based test of compiler-rt. My folder structure is: inside the llvm monorepo checkout, I have a dir "build" with subdir "buildtrunk". I ran cmake inside "buildtrunk" and also run ninja from there. For LLVM I can do the following: > cd build/buildtrunk/test > ../bin/llvm-lit --show-tests . And it shows
2002 Oct 02
0
Your application is on GNUWin II
[was caught as "spam" for R-announce; manually sent to R-help instead: MM ] We are very pleased to inform you, that we have included your application (for which you are listed as author or contact person) into GNUWin II (http://gnuwin.epfl.ch). We would like to thank you for your contribution to the world of free software. {Moderator: This is a cheap CD-ROM full of GNU
2003 May 07
3
Sink for a subdirectory
Hi, how do I sink output to a subdirectory under which R is running? For example, suppose R is running in ~me and I would like to sink output to ~me/Subdir/filename. The obvious sink( "Subdir/filename" ) does not seem to work. Thanks very much.
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 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
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
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
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
2010 Nov 07
2
[LLVMdev] Testing with llvm-lit
Hi, Since I want to write tests with llvm-lit, I pulled the latest revision of LLVM from SVN HEAD and tried to run the following command (copied from http://llvm.org/docs/TestingGuide.html): $ ~/llvm/Debug+Asserts/bin/llvm-lit ~/llvm/test/Integer/BitCast.ll llvm-lit: lit.cfg:103: fatal: No site specific configuration available! Any ideas on why this happens? Thanks, Brice
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
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
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,
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 >
2012 Jul 12
0
[LLVMdev] llvm 'gmake check' errors generating lit.site.cfg
Morning, Will! 2012/7/12 Will Schmidt <will_schmidt at vnet.ibm.com>: > llvm]$ gmake check > llvm[0]: Running test suite > gmake[1]: Entering directory `/home/willschm/llvm/test' > Making LLVM 'lit.site.cfg' file... > sed: file lit.tmp line 8: unknown option to `s' > gmake[1]: *** [lit.site.cfg] Error 1 > > The relevant lines in test/Makefile: >
2013 Jan 16
3
[LLVMdev] Setting number of lit threads with make check
Hi, Does anyone know how I can set the number of threads lit uses when invoked by make check? Lit has the —threads argument but this doesn't get set when run through make so it uses the max number of cpus. paul
2014 Apr 07
2
[LLVMdev] Getting FileCheck's colored output through lit (& possibly ninja)
So I manage to get clang's colored output through ninja simply by force (CMAKE_CXX_FLAGS=-fcolor-diagnostics), which isn't ideal (if I were to pipe ninja's output to a file it'd still have color escapes, etc) but it works. But I haven't found a similar solution for FileCheck & I'm wondering has anyone already solved this problem for themselves - if so, how? if not,