[Openmp-commits] [PATCH] D11821: [OpenMP] Initial testsuite change to purely llvm-lit based testing
Dmitri Gribenko via Openmp-commits
openmp-commits at lists.llvm.org
Thu Aug 6 18:36:32 PDT 2015
gribozavr added a subscriber: gribozavr.
================
Comment at: runtime/test/api/has_openmp.c:1
@@ +1,2 @@
+// RUN: %clang %openmp_flag %cflags %s -o %t && %t
+#include <stdio.h>
----------------
Instead of duplicating the RUN line everywhere, I'd suggest to introduce a substitution, say, %omp-run-simple, that would be used in all "typical" tests. Then, the tests that need special handling will have a custom run line.
Repository:
rL LLVM
http://reviews.llvm.org/D11821
More information about the Openmp-commits
mailing list