| Last change
                  on this file since 61 was
                  56,
                  checked in by meunier, 12 years ago | 
        
          | Tried to fix a problem with echo
Started to resolve some tests failing (often because of the test itself)
 | 
        | File size:
            968 bytes | 
      
      
        
  | Rev | Line |  | 
|---|
| [55] | 1 |  | 
|---|
| [1] | 2 | include ../env.mk | 
|---|
| [55] | 3 | RES1 = systemcass_a_nodynamiclink_10.txt | 
|---|
|  | 4 | RES2 = systemcass_p_nodynamiclink_10.txt | 
|---|
|  | 5 | RES3 = systemcass_m_nodynamiclink_10.txt | 
|---|
|  | 6 | RES4 = systemcass_dynamiclink_10.txt | 
|---|
|  | 7 | ERASE = $(RES1) $(RES2) $(RES3) $(RES4) | 
|---|
|  | 8 | include ../Makefile.common | 
|---|
| [1] | 9 |  | 
|---|
| [55] | 10 | test: $(SC_CASS) | 
|---|
| [56] | 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 \ | 
|---|
| [55] | 17 | if diff $(RES1) $(RES3) > /dev/null ; then \ | 
|---|
|  | 18 | if diff $(RES1) $(RES4) > /dev/null ; then \ | 
|---|
| [56] | 19 | $(ECHO) -e "$(OK)" ; \ | 
|---|
| [55] | 20 | else \ | 
|---|
| [56] | 21 | $(ECHO) -e "$(KO) 1" ; \ | 
|---|
| [55] | 22 | fi ; \ | 
|---|
|  | 23 | else \ | 
|---|
| [56] | 24 | $(ECHO) -e "$(KO) 2" ; \ | 
|---|
| [55] | 25 | fi ; \ | 
|---|
|  | 26 | else \ | 
|---|
| [56] | 27 | $(ECHO) -e "$(KO) 3" ; \ | 
|---|
| [55] | 28 | fi ; | 
|---|
| [1] | 29 |  | 
|---|
|  | 30 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.