[CMake] Fix polly-isl-test execution in out-of-LLVM-tree builds.The isl unittest modified its PATH variable to point to the LLVM bin dir.When building out-of-LLVM-tree, it does not contain thepol
[CMake] Fix polly-isl-test execution in out-of-LLVM-tree builds.The isl unittest modified its PATH variable to point to the LLVM bin dir.When building out-of-LLVM-tree, it does not contain thepolly-isl-test executable, hence the test fails.Ensure that the polly-isl-test is written to a bin directory in thebuild root, just like it would happen in an inside-LLVM build.Then, change PATH to include that dir such that the executable in itis prioritized before any other location.llvm-svn: 301096
show more ...
Build and run isl_test as part of check-pollyRunning isl tests is important to gain confidence that the isl build we createdworks as expected. Besides the actual isl tests, there are also isl AST
Build and run isl_test as part of check-pollyRunning isl tests is important to gain confidence that the isl build we createdworks as expected. Besides the actual isl tests, there are also isl ASTgeneration tests shipped with isl. This change only adds support for the islunit 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 thecontext of lit. We choose to run tests as part of lit to as this allows us toeasily set environment variables, print output only on error and generally runthe tests directly from the lit command.Reviewers: brad.king, MeinersburSubscribers: modocache, brad.king, pollydev, beanz, llvm-commits, mgornyDifferential Revision: https://reviews.llvm.org/D25155llvm-svn: 283245