Ignore:
Timestamp:
May 29, 2013, 6:05:44 PM (11 years ago)
Author:
meunier
Message:
  • Tried to fix a problem with echo
  • Started to resolve some tests failing (often because of the test itself)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/test_regression/11062007/Makefile

    r55 r56  
    99
    1010test: $(SC_CASS)
    11         @echo -ne "| Testing $$(basename $$(pwd)): " ;
    12         @(./$(EXE_SCASS) --a --nodynamiclink 10 2> /dev/null ) | tail -n 5 > $(RES1)
    13         @(./$(EXE_SCASS) --p --nodynamiclink 10 2> /dev/null ) | tail -n 5 > $(RES2)
    14         @(./$(EXE_SCASS) --m --nodynamiclink 10 2> /dev/null ) | tail -n 5 > $(RES3)
    15         @(./$(EXE_SCASS) 10 2> /dev/null ) | tail -n 5 > $(RES4)
    16         @if diff $(RES1) $(RES2) > /dev/null ; then \
     11        $(SILENCE)$(ECHO) -ne "| Testing $$(basename $$(pwd)): " ;
     12        $(SILENCE)(./$(EXE_SCASS) --a --nodynamiclink 10 2> /dev/null ) | tail -n 5 > $(RES1)
     13        $(SILENCE)(./$(EXE_SCASS) --p --nodynamiclink 10 2> /dev/null ) | tail -n 5 > $(RES2)
     14        $(SILENCE)(./$(EXE_SCASS) --m --nodynamiclink 10 2> /dev/null ) | tail -n 5 > $(RES3)
     15        $(SILENCE)(./$(EXE_SCASS) 10 2> /dev/null ) | tail -n 5 > $(RES4)
     16        $(SILENCE)if diff $(RES1) $(RES2) > /dev/null ; then \
    1717                if diff $(RES1) $(RES3) > /dev/null ; then \
    1818                        if diff $(RES1) $(RES4) > /dev/null ; then \
    19                                 echo "OK" ; \
     19                                $(ECHO) -e "$(OK)" ; \
    2020                        else \
    21                                 echo "KO" ; \
     21                                $(ECHO) -e "$(KO) 1" ; \
    2222                        fi ; \
    2323                else \
    24                         echo "KO" ; \
     24                        $(ECHO) -e "$(KO) 2" ; \
    2525                fi ; \
    2626        else \
    27                 echo "KO" ; \
     27                $(ECHO) -e "$(KO) 3" ; \
    2828        fi ;
    2929
Note: See TracChangeset for help on using the changeset viewer.