|
Last change
on this file was 56, checked in by meunier, 13 years ago |
- Tried to fix a problem with echo
- Started to resolve some tests failing (often because of the test itself)
|
|
File size:
566 bytes
|
| Line | |
|---|
| 1 | include ../env.mk
|
|---|
| 2 | include ../Makefile.common
|
|---|
| 3 |
|
|---|
| 4 | test: $(EXE_SCASS)
|
|---|
| 5 | $(SILENCE)$(ECHO) -ne "| Testing $$(basename $$(pwd)): " ;
|
|---|
| 6 | $(SILENCE)./$(EXE_SCASS) --p --t 2> /dev/null ; \
|
|---|
| 7 | if [ $$? -eq 197 ] ; then \
|
|---|
| 8 | if diff methodprocess_graph.dot methodprocess_graph_reference.dot > /dev/null ; then \
|
|---|
| 9 | if tail -n +3 reduced_signal_graph.dot | diff reduced_signal_graph_reference.dot - > /dev/null ; then \
|
|---|
| 10 | $(ECHO) -e "$(OK)" ; \
|
|---|
| 11 | else \
|
|---|
| 12 | $(ECHO) -e "$(KO) 1" ; \
|
|---|
| 13 | fi ; \
|
|---|
| 14 | else \
|
|---|
| 15 | $(ECHO) -e "$(KO) 2" ; \
|
|---|
| 16 | fi ; \
|
|---|
| 17 | else \
|
|---|
| 18 | $(ECHO) -e "$(KO) 3" ; \
|
|---|
| 19 | fi ;
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.