source: examples/creddy_prover_tests/Makefile @ 163aadf

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 163aadf was 4721618, checked in by Mei <mei@…>, 11 years ago

1) tested out python and perl test scripts along with

abac_chunk_t calls in libabac's abac.hh

  • Property mode set to 100644
File size: 793 bytes
Line 
1
2DIRECTORY= acme_rockets_intersection_rt0 acme_rockets_rt0 experiment_create_rt0 ice_cream_rt0
3
4.PHONY : setup runcheck clean
5runcheck: $(DIRECTORY)
6
7clean:
8        @for i in $(DIRECTORY); do \
9        here=`pwd`; \
10        cd $$i; \
11        rm -rf *.xml *.pem *.out *.log; \
12        cd $$here; \
13        done 
14        @rm -rf result
15
16runcheck: 
17        @echo 'running libabac CREDDY/ABAC_PROVER testing...' 
18        @rm -rf result
19        @for i in $(DIRECTORY); do \
20        here=`pwd`; \
21        cd $$i; \
22        printf "\n ==> RUN on %s\n" "$$i" >> ../result; \
23        ./README >> ../result 2>/dev/null; \
24        ./run_query >> ../result 2>/dev/null; \
25        cd $$here; \
26        done
27## since can not check the everchanging keyid values, we just do a char count check..
28        @if test -f result && test `cat result|wc -c` -eq 5737 ; \
29        then echo "   PASSED"; \
30        else echo "   ERROR:got changes!!!"; \
31        fi
32
Note: See TracBrowser for help on using the repository browser.