This is an archive of the discontinued LLVM Phabricator instance.

[Polly] Add -e to test generation script
ClosedPublic

Authored by dpeixott on Sep 9 2014, 1:35 PM.

Details

Summary

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.

Diff Detail

Event Timeline

dpeixott updated this revision to Diff 13492.Sep 9 2014, 1:35 PM
dpeixott retitled this revision from to [Polly] Add -e to test generation script.
dpeixott added reviewers: grosser, jdoerfert.
dpeixott updated this object.
dpeixott added a subscriber: Unknown Object (MLST).
jdoerfert accepted this revision.Sep 9 2014, 1:45 PM
jdoerfert edited edge metadata.

Minor. Can you commit it?

This revision is now accepted and ready to land.Sep 9 2014, 1:45 PM
dpeixott closed this revision.Sep 9 2014, 3:24 PM
dpeixott updated this revision to Diff 13499.

Closed by commit rL217463 (authored by @dpeixott).