Last change
on this file since 63 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)
|
File size:
968 bytes
|
Line | |
---|
1 | |
---|
2 | include ../env.mk |
---|
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 |
---|
9 | |
---|
10 | test: $(SC_CASS) |
---|
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 \ |
---|
17 | if diff $(RES1) $(RES3) > /dev/null ; then \ |
---|
18 | if diff $(RES1) $(RES4) > /dev/null ; then \ |
---|
19 | $(ECHO) -e "$(OK)" ; \ |
---|
20 | else \ |
---|
21 | $(ECHO) -e "$(KO) 1" ; \ |
---|
22 | fi ; \ |
---|
23 | else \ |
---|
24 | $(ECHO) -e "$(KO) 2" ; \ |
---|
25 | fi ; \ |
---|
26 | else \ |
---|
27 | $(ECHO) -e "$(KO) 3" ; \ |
---|
28 | fi ; |
---|
29 | |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.