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/14092005/Makefile

    r55 r56  
    99TRACE_REF = trace_file_reference.vcd
    1010
     11# Les traces SC et SCASS diffÚrent (maj de o1 sur le front montant dans SCASS), du coup on ne vérifie que la trace SystemCass
     12
    1113test: all
    12         @echo -ne "| Testing $$(basename $$(pwd)): " ;
    13         @./$(EXE_SCASS) > $(LOG_SCASS) 2> /dev/null
    14         @mv $(TRACE) $(TRACE1)
    15         @./$(EXE_SC) > $(LOG_SC) 2> /dev/null
    16         @mv $(TRACE) $(TRACE2)
    17         @if tail -n +11 $(TRACE1) | diff $(TRACE_REF) - > /dev/null ; then \
    18                 if tail -n +11 $(TRACE2) | diff $(TRACE_REF) - > /dev/null ; then \
    19                         echo "OK" ; \
    20                 else \
    21                         echo "KO" ; \
    22                 fi ; \
     14        $(SILENCE)$(ECHO) -ne "| Testing $$(basename $$(pwd)): " ;
     15        $(SILENCE)./$(EXE_SCASS) > $(LOG_SCASS) 2> /dev/null
     16        $(SILENCE)mv $(TRACE) $(TRACE1)
     17        $(SILENCE)./$(EXE_SC) > $(LOG_SC) 2> /dev/null
     18        $(SILENCE)mv $(TRACE) $(TRACE2)
     19        $(SILENCE)if tail -n +11 $(TRACE1) | diff $(TRACE_REF) - > /dev/null ; then \
     20                $(ECHO) -e "$(OK)" ; \
    2321        else \
    24                 echo "KO" ; \
     22                $(ECHO) -e "$(KO) 2" ; \
    2523        fi ;
    2624
Note: See TracChangeset for help on using the changeset viewer.