Last change
on this file since 55 was
55,
checked in by meunier, 12 years ago
|
Tried to clean the test_regression directory:
- Code formatting
- Supressed warnings
- Made comprehensible outputs
- Factorized Makefiles
There's still a lot to do (many tests don't pass for either good or bad reasons)
|
File size:
506 bytes
|
Rev | Line | |
---|
[1] | 1 | include ../env.mk |
---|
[55] | 2 | include ../Makefile.common |
---|
[1] | 3 | |
---|
[55] | 4 | test: $(EXE_SCASS) |
---|
| 5 | @echo -ne "| Testing $$(basename $$(pwd)): " ; |
---|
| 6 | @./$(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 "OK" ; \ |
---|
| 11 | else \ |
---|
| 12 | echo "KO1" ; \ |
---|
| 13 | fi ; \ |
---|
| 14 | else \ |
---|
| 15 | echo "KO2" ; \ |
---|
| 16 | fi ; \ |
---|
| 17 | else \ |
---|
| 18 | echo "KO3" ; \ |
---|
| 19 | fi ; |
---|
[1] | 20 | |
---|
| 21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.