summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2012-12-20 20:18:18 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2012-12-20 20:18:18 +0000
commite19abec2d1252db4940d8233da69539ec578eb8c (patch)
tree074c6e466217e5e3aea0dc657d1758164836d64a
parent1a3a39623e713c542074c43883c3f9510d5912fb (diff)
downloadllvm-e19abec2d1252db4940d8233da69539ec578eb8c.tar.gz
do not execute the OpenMP tests when cloog is not found
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168724 llvm-svn: 170740
-rw-r--r--polly/test/CodeGen/OpenMP/lit.local.cfg3
-rw-r--r--polly/test/lit.site.cfg.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/polly/test/CodeGen/OpenMP/lit.local.cfg b/polly/test/CodeGen/OpenMP/lit.local.cfg
new file mode 100644
index 000000000000..16e738483658
--- /dev/null
+++ b/polly/test/CodeGen/OpenMP/lit.local.cfg
@@ -0,0 +1,3 @@
+cloog = config.root.cloog_found
+if cloog not in ['TRUE', 'true'] :
+ config.unsupported = True
diff --git a/polly/test/lit.site.cfg.in b/polly/test/lit.site.cfg.in
index 7be5b5ec3e06..afda0cc122e4 100644
--- a/polly/test/lit.site.cfg.in
+++ b/polly/test/lit.site.cfg.in
@@ -8,6 +8,7 @@ config.polly_obj_root = "@POLLY_BINARY_DIR@"
config.polly_lib_dir = "@POLLY_LIB_DIR@"
config.target_triple = "@TARGET_TRIPLE@"
config.enable_gpgpu_codegen = "@CUDALIB_FOUND@"
+config.cloog_found = "@CLOOG_FOUND@"
lit.params['build_config'] = "@POLLY_SOURCE_DIR@/test"
## Check the current platform with regex