[clang] 05ae303 - [clang][patch] Remove test artifact before running test for consistent results
Melanie Blower via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 24 04:55:56 PDT 2021
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
More information about the cfe-commits
mailing list