From 799ba7b1226cda3cf167cbe1c7e8aaf2f78c82f9 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 31 Oct 2011 12:57:50 -0700 Subject: [PATCH] Split 'make tidy' into multiple commands The echo command line seems to be getting too large --- mk/tests.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mk/tests.mk b/mk/tests.mk index 2cf3c28bd92..e72db9fc0ec 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -79,6 +79,7 @@ check-fast: tidy \ check-stage2-rustc check-stage2-std \ test/$(FT_DRIVER).out \ +# Run the tidy script in multiple parts to avoid huge 'echo' commands tidy: @$(call E, check: formatting) $(Q)echo \ @@ -92,6 +93,8 @@ tidy: $(STDLIB_INPUTS) \ $(COMPILETEST_CRATE) \ $(COMPILETEST_INPUTS) \ + | xargs -n 10 python $(S)src/etc/tidy.py + $(Q)echo \ $(ALL_TEST_INPUTS) \ | xargs -n 10 python $(S)src/etc/tidy.py