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 authored and Yuval-Ariel committed May 11, 2023
1 parent 7a95034 commit 323e57b
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 @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 323e57b

Please sign in to comment.