[PATCH] [Polly] Add -e to test generation script

David Peixotto dpeixott at codeaurora.org
Tue Sep 9 13:35:11 PDT 2014


Hi grosser, jdoerfert,

The -e flag exits the script with a non-zero code if any subcommand
fails. This flag allows us to notice as early as possible if the
test was not properly regenerated using a command like:

  $ create_ll.sh t.c && opt < t.ll -polly ...

The above pattern is useful when iteratively developing a test case
to guard against un-noticed syntax errors.

http://reviews.llvm.org/D5276

Files:
  test/create_ll.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5276.13492.patch
Type: text/x-patch
Size: 247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140909/73ce7310/attachment.bin>


More information about the llvm-commits mailing list