From 323e57bf5359401a4fa15c85d7e5b0c05e822f62 Mon Sep 17 00:00:00 2001 From: Amnon Hanuhov Date: Sat, 6 May 2023 16:18:56 +0300 Subject: [PATCH] Makefile: Remove pycache artifacts after running gtest-parallel (#486) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5dabf92456..e083182dc3 100644 --- a/Makefile +++ b/Makefile @@ -958,6 +958,7 @@ OUTPUT_DIR ?= /tmp .PHONY: check_0 check_1 check_0: $(TESTS) $(AM_V_GEN)./build_tools/gtest-parallel --output_dir=$(OUTPUT_DIR) --workers=$(J) --non_gtest_tests $(NON_PARALLEL_TESTS_LIST) $(PARALLEL_TESTS_LIST) + find ./build_tools | grep -E "(pycache|__pycache__|\.pyc$$)" | xargs rm -rf check_1: $(TESTS) $(AM_V_GEN)for t in $(TESTS); do \ @@ -969,6 +970,7 @@ valgrind-exclude-regexp = InlineSkipTest.ConcurrentInsert|TransactionStressTest. .PHONY: valgrind_check_0 valgrind_check_1 valgrind_check_0: $(TESTS) $(AM_V_GEN) $(VALGRIND_VER) $(VALGRIND_OPTS) ./build_tools/gtest-parallel --output_dir=$(OUTPUT_DIR) --workers=$(J) --non_gtest_tests $(NON_PARALLEL_TESTS_LIST) $(PARALLEL_TESTS_LIST) + find ./build_tools | grep -E "(pycache|__pycache__|\.pyc$$)" | xargs rm -rf valgrind_check_1: $(TESTS) $(AM_V_GEN)for t in $(filter-out %skiplist_test options_settable_test,$(TESTS)); do \