Last change
on this file since 58 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:
996 bytes
|
Rev | Line | |
---|
[55] | 1 | |
---|
[1] | 2 | include ../env.mk |
---|
[55] | 3 | SIGNAL_GRAPH = signal_graph.dot |
---|
| 4 | PROCESS_ORDER = process_order.dot |
---|
| 5 | MODULE_GRAPH = module_graph.dot |
---|
| 6 | PORT_GRAPH = port_graph.dot |
---|
| 7 | SIGNAL_ORDER = signal_order.txt |
---|
| 8 | ERASE = $(SIGNAL_GRAPH) $(PROCESS_ORDER) $(SIGNAL_ORDER) $(MODULE_GRAPH) $(PORT_GRAPH) |
---|
| 9 | include ../Makefile.common |
---|
[1] | 10 | |
---|
[55] | 11 | SIGNAL_GRAPH_REF = signal_graph_ref.dot |
---|
| 12 | PROCESS_ORDER_REF = process_order_ref.dot |
---|
| 13 | PORT_GRAPH_REF = port_graph_ref.dot |
---|
| 14 | SIGNAL_ORDER_REF = signal_order_ref.txt |
---|
[1] | 15 | |
---|
[55] | 16 | test : $(EXE_SCASS) |
---|
[56] | 17 | $(SILENCE)$(ECHO) -ne "| Testing $$(basename $$(pwd)): " ; |
---|
| 18 | $(SILENCE)./$(EXE_SCASS) --p --t --k 2> /dev/null || res=1 ; \ |
---|
[55] | 19 | (tail -n +3 $(SIGNAL_GRAPH) | diff $(SIGNAL_GRAPH_REF) -) > /dev/null || res=1 ; \ |
---|
| 20 | (tail -n +3 $(PROCESS_ORDER) | diff $(PROCESS_ORDER_REF) -) > /dev/null || res=1 ; \ |
---|
| 21 | (tail -n +3 $(PORT_GRAPH) | diff $(PORT_GRAPH_REF) -) > /dev/null || res=1 ; \ |
---|
| 22 | diff $(SIGNAL_ORDER_REF) $(SIGNAL_ORDER) > /dev/null || res=1 ; \ |
---|
[56] | 23 | if [ x"$$res" = x ] ; then $(ECHO) -e "$(OK)" ; else $(ECHO) -e "$(KO)" ; fi ; |
---|
[55] | 24 | |
---|
[1] | 25 | |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.