source: tests/scaling_tests/Makefile @ 81c80b9

abac0-leakabac0-mei
Last change on this file since 81c80b9 was f520b1e, checked in by Ted Faber <faber@…>, 11 years ago

Remove make noise from test output

  • Property mode set to 100644
File size: 798 bytes
Line 
1
2
3DIRECTORY=daisychain
4#haystack
5PLOT= daisychain/likes_python
6#haystack/fruit_python
7
8.PHONY : runcheck clean plot
9runcheck: $(DIRECTORY)
10
11clean:
12        @for i in $(DIRECTORY); do \
13        here=`pwd`; \
14        cd $$i; \
15        make clean; \
16        cd $$here; \
17        done; 
18        rm -rf allout.tmp
19        rm -rf jpegs
20
21runcheck: 
22        @echo 'running libabac SCALING testing...'
23        @for i in $(DIRECTORY); do \
24        here=`pwd`; \
25        printf "\n ==> RUN on %s\n" "$$i" >> allout.tmp; \
26        cd $$i; \
27        make -s runcheck | grep -v ^/ >> ../allout.tmp 2>/dev/null; \
28        cd $$here; \
29        done; 
30        @if test -f allout.tmp && test `diff -q allout.save allout.tmp |wc -l ` -eq 0 ; \
31        then echo "   PASSED"; \
32        else echo "   ERROR:got changes!!!"; \
33        fi
34
35plot:
36        make clean
37        mkdir jpegs
38        @for i in $(PLOT); do \
39        here=`pwd`; \
40        cd $$i; \
41        make -s plot; \
42        cd $$here; \
43        done;
44
Note: See TracBrowser for help on using the repository browser.