From 52174fdc33b428cafbc6bdd8837803c3bd73b999 Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Sat, 7 Jan 2017 09:23:50 -0800 Subject: [PATCH] Avoid race between cmake and utf8_in_pwd tests Summary: The cmake test removes the _build dirs, and the utf8_in_pwd test rsyncs them. Reviewed By: akotulski Differential Revision: D4375554 fbshipit-source-id: 3fa088c --- infer/tests/build_systems/utf8_in_pwd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/tests/build_systems/utf8_in_pwd/Makefile b/infer/tests/build_systems/utf8_in_pwd/Makefile index 7a211208d..4eff31eda 100644 --- a/infer/tests/build_systems/utf8_in_pwd/Makefile +++ b/infer/tests/build_systems/utf8_in_pwd/Makefile @@ -47,7 +47,7 @@ $(UTF8_DIR): $(MKDIR_P) $@ $(CMAKE_DIR): $(CMAKE_SOURCES) $(UTF8_DIR) - rsync -aL $(CMAKE_SOURCES_DIR)/ $@/ + rsync -aL --exclude='_build*' $(CMAKE_SOURCES_DIR)/ $@/ touch $@ $(GRADLE_DIR): $(GRADLE_SOURCES) $(UTF8_DIR)