This is an archive of the discontinued LLVM Phabricator instance.

[Polly] Added arcanist (arc) unit test support
ClosedPublic

Authored by jdoerfert on Aug 15 2014, 12:51 AM.

Details

Summary
Thanks to Clemens (hammacher@cs.uni-saarland.de) extension of the
arcanist unit test engine, we can run the llvm-lit tests automatically.

Similar to the linters, aracanist will run all tests for each uploaded
commit and asks the commiter for a statements in case unit tests fail.

To use this feature the unit test engine needs to find the polly build
directory. Currently we support the following setups:

  $POLLY_BUILD_DIR (environment variable)
  <root>/build
  <root>.build
  <root>-build
  <root:s/src/build>
  <cwd>

Diff Detail

Event Timeline

jdoerfert updated this revision to Diff 12542.Aug 15 2014, 12:51 AM
jdoerfert retitled this revision from to [Polly] Added arcanist (arc) unit test support.
jdoerfert added reviewers: grosser, sebpop, simbuerg.
jdoerfert updated this object.
jdoerfert added subscribers: Restricted Project, Unknown Object (MLST).
grosser edited edge metadata.Sep 8 2014, 6:23 AM

Please make sure Clemens makes clear (on the mailing list or here) that contributing the code is OK.

Otherwise, LGTM.

Tobias

hammacher accepted this revision.Sep 8 2014, 8:49 AM
hammacher added a reviewer: hammacher.
hammacher added a subscriber: hammacher.

Confirmed ;)

This revision is now accepted and ready to land.Sep 8 2014, 8:49 AM

Wow, cool. As a newly registered user I can accept Polly revisions...

Sorry if I mixed up the review process.

grosser accepted this revision.Sep 8 2014, 12:11 PM
grosser edited edge metadata.

Thanks Clemens!

I am fine with this. Johannes feel free to commit.

jdoerfert updated this revision to Diff 13413.Sep 8 2014, 12:34 PM
jdoerfert edited edge metadata.

Rebase

jdoerfert closed this revision.Sep 8 2014, 12:41 PM