Author: Melanie Blower
Date: 2021-07-24T07:55:10-04:00
New Revision: 05ae3035554aab083ea1ba721284c950cf25d158

URL: 
https://github.com/llvm/llvm-project/commit/05ae3035554aab083ea1ba721284c950cf25d158
DIFF: 
https://github.com/llvm/llvm-project/commit/05ae3035554aab083ea1ba721284c950cf25d158.diff

LOG: [clang][patch] Remove test artifact before running test for consistent 
results

Fix non-deterministic test behavior by removing previously-created
test directory, see comments in D95159

Added: 
    

Modified: 
    clang/test/Index/preamble-reparse-changed-module.m

Removed: 
    


################################################################################
diff  --git a/clang/test/Index/preamble-reparse-changed-module.m 
b/clang/test/Index/preamble-reparse-changed-module.m
index 1c63e802ce0c0..349ed0db27d01 100644
--- a/clang/test/Index/preamble-reparse-changed-module.m
+++ b/clang/test/Index/preamble-reparse-changed-module.m
@@ -1,5 +1,6 @@
 // REQUIRES: shell
 
+// RUN: rm -rf %t
 // RUN: mkdir -p %t/mod
 // RUN: touch %t/empty.h
 // RUN: cp %S/Inputs/preamble-reparse-changed-module/module.modulemap %t/mod


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to