Introduce unittests.
authorMichael Kruse <llvm@meinersbur.de>
Thu, 25 Aug 2016 12:36:15 +0000 (12:36 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 25 Aug 2016 12:36:15 +0000 (12:36 +0000)
commit05cf9c22f1c440f7e964f098e40b689e6f0a29fe
tree8ebc2a06b1092dd5b8773c9ffb49a2ae264e8def
parent0e63ab4243089639c1b3f51f5ddd9c9761949644
Introduce unittests.

Add the infrastructure for unittests to Polly and two simple tests for
conversion between isl_val and APInt. In addition, a build target
check-polly-unittests is added to run only the unittests but not the regression
tests.

Clang's unittest mechanism served as as a blueprint which then was adapted to
Polly.

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

llvm-svn: 279734
polly/CMakeLists.txt
polly/test/CMakeLists.txt
polly/test/Unit/lit.cfg [new file with mode: 0644]
polly/test/Unit/lit.site.cfg.in [new file with mode: 0644]
polly/unittests/CMakeLists.txt [new file with mode: 0644]
polly/unittests/Isl/CMakeLists.txt [new file with mode: 0644]
polly/unittests/Isl/IslTest.cpp [new file with mode: 0644]