source: tests/scaling_tests/Makefile.am @ 6cd69a0

abac0-leakabac0-mei
Last change on this file since 6cd69a0 was 3c30b59, checked in by Mei <mei@…>, 11 years ago

1) add in new refactored regression testing directory
2) undo the abac.hh/ABAC.hh api changes
3) merged with Ted's changes to attribute format/nickname/issuer processing

  • Property mode set to 100644
File size: 937 bytes
Line 
1#
2# scaling_tests
3#
4
5DIRECTORY=daisychain
6#haystack
7PLOT= daisychain/likes_python
8#haystack/fruit_python
9
10.PHONY : runcheck clean-local plot clean
11
12all:runcheck
13
14local-clean:
15clean:
16        @for i in $(DIRECTORY); do \
17          here=`pwd`; \
18          cd $$i; \
19          make clean; \
20          cd $$here; \
21        done;
22        rm -rf error result
23        rm -rf jpegs
24
25runcheck:
26        @echo 'running libabac SCALING testing...' | tee result
27        touch error
28        @for i in $(DIRECTORY); do \
29          here=`pwd`; \
30          printf "\n ==> RUN on %s\n" "$$i" >> result; \
31          cd $$i; \
32          make -s runcheck | tee -a $$here/result |grep BAD >> $$here/error; \
33          cd $$here; \
34        done;
35        @if test -f error ; \
36          then \
37            (if test `cat error | wc -l ` -eq 0 ; \
38              then echo "   PASSED"; \
39              else (echo "   ERROR!!!"; cat error;) \
40            fi) \
41          else echo "   PASSED"; \
42        fi
43
44plot:
45        make clean
46        mkdir jpegs
47        @for i in $(PLOT); do \
48          here=`pwd`; \
49          cd $$i; \
50          make -s plot; \
51          cd $$here; \
52        done;
53
Note: See TracBrowser for help on using the repository browser.