Skip to content

Commit

Permalink
Makefile: Remove pycache artifacts after running gtest-parallel (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmnonHanuhov committed May 6, 2023
1 parent cf09e33 commit 8075e75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ PARALLEL_TESTS_LIST := $(foreach test,$(PARALLEL_TEST),$(CURRENT_DIR)/$(test))
OUTPUT_DIR ?= /tmp
.PHONY: check_0 check_1
check_0: $(TESTS)
find ./build_tools | grep -E "(pycache|__pycache__|\.pyc$$)" | xargs rm -rf
$(AM_V_GEN)./build_tools/gtest-parallel --output_dir=$(OUTPUT_DIR) --workers=$(J) --non_gtest_tests $(NON_PARALLEL_TESTS_LIST) $(PARALLEL_TESTS_LIST)

check_1: $(TESTS)
Expand All @@ -988,6 +989,7 @@ valgrind-exclude-regexp = InlineSkipTest.ConcurrentInsert|TransactionStressTest.

.PHONY: valgrind_check_0 valgrind_check_1
valgrind_check_0: $(TESTS)
find ./build_tools | grep -E "(pycache|__pycache__|\.pyc$$)" | xargs rm -rf
$(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)

valgrind_check_1: $(TESTS)
Expand Down

0 comments on commit 8075e75

Please sign in to comment.