[LLVMdev] AArch64 bot unstable

Reid Kleckner rnk at google.com
Wed Apr 29 11:48:42 PDT 2015


On Wed, Apr 29, 2015 at 11:31 AM, Teresa Johnson <tejohnson at google.com>
wrote:
>
> Some have the "REQUIRES: shell" (e.g.
> tools/clang/test/VFS/include-virtual-from-real.c) and some don't (e.g.
> ./tools/clang/test/Analysis/html-diags.c). I looked around for
> documentation on when "REQUIRES: shell" is needed but couldn't find
> anything specific. The latter test (html-diags.c), which doesn't have
> the REQUIRES also does mkdir -p, cd, rm -rf", which are the same
> shell-like operations my tests are doing. The former
> (include-virtual-from-real.c) is doing some additional shell-like
> operations such as sed and echo, which I am not doing. Is there a list
> of operations safe to do without adding the "REQUIRES: shell"?


There isn't current documentation on that, it's basically implementation
defined by the lit shell emulator. I recently added support for 'cd', so
your example will probably work. Usually people commit first and add the
requirement if the test fails, and that's acceptable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150429/b2f8d3af/attachment.html>


More information about the llvm-dev mailing list