Changeset 56 for sources/test_regression/14092005/Makefile
- Timestamp:
- May 29, 2013, 6:05:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/test_regression/14092005/Makefile
r55 r56 9 9 TRACE_REF = trace_file_reference.vcd 10 10 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 11 13 test: 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)" ; \ 23 21 else \ 24 echo "KO" ; \22 $(ECHO) -e "$(KO) 2" ; \ 25 23 fi ; 26 24
Note: See TracChangeset
for help on using the changeset viewer.