Author: Karl-Johan Karlsson Date: 2024-06-10T16:47:37+02:00 New Revision: aa486ec39c3b4d641ecdc5f4a07e801963920022
URL: https://github.com/llvm/llvm-project/commit/aa486ec39c3b4d641ecdc5f4a07e801963920022 DIFF: https://github.com/llvm/llvm-project/commit/aa486ec39c3b4d641ecdc5f4a07e801963920022.diff LOG: [test][OpenMP] Avoid writing to a potentially write-protected dir (#94931) The test clang/test/OpenMP/error_unsupport_feature.c don't check the output written to the current directory. The current directory may be write protected e.g. in a sandboxed environment. This patch replace the -emit-llvm option with -emit-llvm-only as it don't care about the outputed llvm IR. Added: Modified: clang/test/OpenMP/error_unsupport_feature.c Removed: ################################################################################ diff --git a/clang/test/OpenMP/error_unsupport_feature.c b/clang/test/OpenMP/error_unsupport_feature.c index 611a8b4639c44..eb381b3bea1e1 100644 --- a/clang/test/OpenMP/error_unsupport_feature.c +++ b/clang/test/OpenMP/error_unsupport_feature.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -verify -fopenmp %s +// RUN: %clang_cc1 -emit-llvm-only -verify -fopenmp %s int main () { int r = 0; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits