Build and run isl_test as part of check-polly
commitb55fd1bf1bdc34ed36d90dd509a67a5d0fc6499a
authorTobias Grosser <tobias@grosser.es>
Tue, 4 Oct 2016 19:48:40 +0000 (4 19:48 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 4 Oct 2016 19:48:40 +0000 (4 19:48 +0000)
treeca315a787b4b8f8afa351f3c4578820b8b0ebfc5
parent8f27eb28637a12612dfe257954ecc8f69c08a758
Build and run isl_test as part of check-polly

Running isl tests is important to gain confidence that the isl build we created
works as expected. Besides the actual isl tests, there are also isl AST
generation tests shipped with isl. This change only adds support for the isl
unit tests. AST generation test support is left for a later commit.

There is a choice to run tests directly through the build system or in the
context of lit. We choose to run tests as part of lit to as this allows us to
easily set environment variables, print output only on error and generally run
the tests directly from the lit command.

Reviewers: brad.king, Meinersbur

Subscribers: modocache, brad.king, pollydev, beanz, llvm-commits, mgorny

Differential Revision: https://reviews.llvm.org/D25155

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@283245 91177308-0d34-0410-b5e6-96231b3b80d8
lib/External/CMakeLists.txt
test/CMakeLists.txt
test/UnitIsl/isl_test.sh [new file with mode: 0644]
test/UnitIsl/lit.cfg [new file with mode: 0644]
test/UnitIsl/lit.site.cfg.in [new file with mode: 0644]