Skip to content

Commit aa486ec

Browse files
authored
[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.
1 parent f26bc5f commit aa486ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/OpenMP/error_unsupport_feature.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -verify -fopenmp %s
1+
// RUN: %clang_cc1 -emit-llvm-only -verify -fopenmp %s
22

33
int main () {
44
int r = 0;

0 commit comments

Comments
 (0)