Always call distclean after each sample when doing a regtest.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jun 18 11:43:02 2007 +0000 (2007-06-18)
changeset 179ba6e7292f7bf
parent 178 78e85ec44c7e
child 180 0b45550a9e13
Always call distclean after each sample when doing a regtest.
samples/Makefile
     1.1 --- a/samples/Makefile	Sun Jun 17 17:16:24 2007 +0000
     1.2 +++ b/samples/Makefile	Mon Jun 18 11:43:02 2007 +0000
     1.3 @@ -30,7 +30,7 @@
     1.4  .PHONY: regtest
     1.5  regtest:
     1.6  	@for samp in $(CT_SAMPLES); do                                                                          \
     1.7 -	     echo "Building sample \"$${samp}\""                                                            &&  \
     1.8 +	     echo -e "\rBuilding sample \"$${samp}\""                                                       &&  \
     1.9  	     cp "$(CT_TOP_DIR)/samples/$${samp}/crosstool.config" "$(CT_TOP_DIR)/.config"                   &&  \
    1.10  	     yes "" |make -C $(CT_TOP_DIR) defoldconfig >/dev/null 2>&1                                     &&  \
    1.11  	     sed -i -r -e 's:^(CT_PREFIX_DIR=).*$$:\1"${CT_TOP_DIR}/targets/tst/$${CT_TARGET}":;' .config   &&  \
    1.12 @@ -41,9 +41,9 @@
    1.13  	     sed -i -r -e 's:^.*(CT_LOG_PROGRESS_BAR).*$$:\1=y:;' .config                                   &&  \
    1.14  	     yes "" |make -C $(CT_TOP_DIR) defoldconfig >/dev/null 2>&1                                     &&  \
    1.15  	     make -C $(CT_TOP_DIR)                                                                          &&  \
    1.16 -	     echo "Making tarball for sample \"$${samp}\""                                                  &&  \
    1.17 -	     make -C $(CT_TOP_DIR) tarball                                                                  &&  \
    1.18 -	     echo "Cleaning sample \"$${samp}\""                                                            &&  \
    1.19 +	     echo -e "\rMaking tarball for sample \"$${samp}\""                                             &&  \
    1.20 +	     make -C $(CT_TOP_DIR) tarball;                                                                     \
    1.21 +	     echo -e "\rCleaning sample \"$${samp}\"";                                                          \
    1.22  	     make -C $(CT_TOP_DIR) distclean;                                                                   \
    1.23  	 done
    1.24