source: examples/scaling_tests/Makefile @ 2b4e740

mei_rt2mei_rt2_fix_1
Last change on this file since 2b4e740 was 2b4e740, checked in by Mei <mei@…>, 12 years ago

1) test out the performance plotting build

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