abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since f30b1e9 was
4721618,
checked in by Mei <mei@…>, 12 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
|
Rev | Line | |
---|
[461541a] | 1 | |
---|
[4721618] | 2 | DIRECTORY= acme_rockets_intersection_rt0 acme_rockets_rt0 experiment_create_rt0 ice_cream_rt0 |
---|
[461541a] | 3 | |
---|
| 4 | .PHONY : setup runcheck clean |
---|
| 5 | runcheck: $(DIRECTORY) |
---|
| 6 | |
---|
| 7 | clean: |
---|
| 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 | |
---|
| 16 | runcheck: |
---|
| 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.. |
---|
[4721618] | 28 | @if test -f result && test `cat result|wc -c` -eq 5737 ; \ |
---|
[461541a] | 29 | then echo " PASSED"; \ |
---|
| 30 | else echo " ERROR:got changes!!!"; \ |
---|
| 31 | fi |
---|
| 32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.