source: sources/test_regression/24082009/Makefile

Last change on this file was 56, checked in by meunier, 11 years ago
  • Tried to fix a problem with echo
  • Started to resolve some tests failing (often because of the test itself)
  • Property svn:executable set to *
File size: 581 bytes
Line 
1
2include ../env.mk
3include ../Makefile.common
4
5test : all
6        $(SILENCE)$(ECHO) -ne "| Testing $$(basename $$(pwd)): " ;
7        $(SILENCE)./$(EXE_SCASS) > $(LOG_SCASS) 2> /dev/null
8        $(SILENCE)./$(EXE_SC) > $(LOG_SC) 2> /dev/null
9        $(SILENCE)if diff $(LOG_SC) $(LOG_SCASS) > /dev/null ; then \
10      time_scass=$$(/usr/bin/time -f "%e" 2>&1 ./$(EXE_SCASS) --nodynamiclink | tail -n 1) ; \
11      time_sc=$$(/usr/bin/time -f "%e" 2>&1 ./$(EXE_SC) | tail -n 1) ; \
12      $(ECHO) -e "$(OK) (time SystemCass: $$time_scass - time SystemC : $$time_sc)" ; \
13   else $(ECHO) -e "$(KO)" ; \
14   fi ;
15 
16
Note: See TracBrowser for help on using the repository browser.