[clang] 6e34a9a - [OpenMP] Fix the test by generating output file in temporary directory

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 05:09:39 PST 2020


Author: Kirill Bobyrev
Date: 2020-02-26T14:07:13+01:00
New Revision: 6e34a9a838c150b968b05b76d545969d1ddeee90

URL: https://github.com/llvm/llvm-project/commit/6e34a9a838c150b968b05b76d545969d1ddeee90
DIFF: https://github.com/llvm/llvm-project/commit/6e34a9a838c150b968b05b76d545969d1ddeee90.diff

LOG: [OpenMP] Fix the test by generating output file in temporary directory

Related Revison: D74925
Commit: 396b7253944e927878dff2f6321efabb3aaa0f45

Added: 
    

Modified: 
    clang/test/OpenMP/PR44893.c

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/PR44893.c b/clang/test/OpenMP/PR44893.c
index 12e43da2c9de..1ba1127e874b 100644
--- a/clang/test/OpenMP/PR44893.c
+++ b/clang/test/OpenMP/PR44893.c
@@ -1,4 +1,4 @@
-// RUN: %clang -fopenmp -O -g -x c %s -c -disable-output
+// RUN: %clang -fopenmp -O -g -x c %s -c -disable-output -o %t
 
 // Do not crash ;)
 


        


More information about the cfe-commits mailing list