abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since f30b1e9 was
7e3f5e2,
checked in by Mei <mei@…>, 12 years ago
|
1) converted daisychain scaling tests
|
-
Property mode set to
100644
|
File size:
785 bytes
|
Rev | Line | |
---|
[7e3f5e2] | 1 | |
---|
| 2 | |
---|
| 3 | DIRECTORY=daisychain |
---|
| 4 | #haystack |
---|
| 5 | PLOT= daisychain/likes_python |
---|
| 6 | #haystack/fruit_python |
---|
| 7 | |
---|
| 8 | .PHONY : runcheck clean plot |
---|
| 9 | runcheck: $(DIRECTORY) |
---|
| 10 | |
---|
| 11 | clean: |
---|
| 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 | |
---|
| 21 | runcheck: |
---|
| 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 >> ../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 | |
---|
| 35 | plot: |
---|
| 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.