From e0455a5ec97c209b2fddf7d64dcc1b5fcb1e4687 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 18 Jun 2007 11:43:02 +0000 Subject: Always call distclean after each sample when doing a regtest. diff --git a/samples/Makefile b/samples/Makefile index a404a1b..fb3f43b 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -30,7 +30,7 @@ $(CT_SAMPLES): .PHONY: regtest regtest: @for samp in $(CT_SAMPLES); do \ - echo "Building sample \"$${samp}\"" && \ + echo -e "\rBuilding sample \"$${samp}\"" && \ cp "$(CT_TOP_DIR)/samples/$${samp}/crosstool.config" "$(CT_TOP_DIR)/.config" && \ yes "" |make -C $(CT_TOP_DIR) defoldconfig >/dev/null 2>&1 && \ sed -i -r -e 's:^(CT_PREFIX_DIR=).*$$:\1"${CT_TOP_DIR}/targets/tst/$${CT_TARGET}":;' .config && \ @@ -41,9 +41,9 @@ regtest: sed -i -r -e 's:^.*(CT_LOG_PROGRESS_BAR).*$$:\1=y:;' .config && \ yes "" |make -C $(CT_TOP_DIR) defoldconfig >/dev/null 2>&1 && \ make -C $(CT_TOP_DIR) && \ - echo "Making tarball for sample \"$${samp}\"" && \ - make -C $(CT_TOP_DIR) tarball && \ - echo "Cleaning sample \"$${samp}\"" && \ + echo -e "\rMaking tarball for sample \"$${samp}\"" && \ + make -C $(CT_TOP_DIR) tarball; \ + echo -e "\rCleaning sample \"$${samp}\""; \ make -C $(CT_TOP_DIR) distclean; \ done -- cgit v0.10.2-6-g49f6