Skip to content

Commit 799ba7b

Browse files
committed
Split 'make tidy' into multiple commands
The echo command line seems to be getting too large
1 parent 8207506 commit 799ba7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mk/tests.mk

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ check-fast: tidy \
7979
check-stage2-rustc check-stage2-std \
8080
test/$(FT_DRIVER).out \
8181

82+
# Run the tidy script in multiple parts to avoid huge 'echo' commands
8283
tidy:
8384
@$(call E, check: formatting)
8485
$(Q)echo \
@@ -92,6 +93,8 @@ tidy:
9293
$(STDLIB_INPUTS) \
9394
$(COMPILETEST_CRATE) \
9495
$(COMPILETEST_INPUTS) \
96+
| xargs -n 10 python $(S)src/etc/tidy.py
97+
$(Q)echo \
9598
$(ALL_TEST_INPUTS) \
9699
| xargs -n 10 python $(S)src/etc/tidy.py
97100

0 commit comments

Comments
 (0)