source: examples/example_scripts/Makefile @ 0d6b61a

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 0d6b61a 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: 577 bytes
Line 
1
2DIRECTORY=c perl python
3
4.PHONY : runcheck clean
5runcheck: $(DIRECTORY)
6
7clean:
8        @for i in $(DIRECTORY); do \
9        here=`pwd`; \
10        cd $$i; \
11        make -s clean; \
12        cd $$here; \
13        done 
14        @rm -rf allout.tmp
15
16runcheck:
17        @echo 'running libabac SCRIPT testing...'
18        @for i in $(DIRECTORY); do \
19        here=`pwd`; \
20        cd $$i; \
21        printf "\n ==> RUN on %s\n" "$$i" >> ../allout.tmp ; \
22        ./run_test 1 >> ../allout.tmp 2>& 1; \
23        cd $$here; \
24        done 
25        @if test -f allout.tmp && test `diff -q allout.save allout.tmp |wc -l ` -eq 0 ; \
26        then echo "   PASSED"; \
27        else echo "   ERROR:got changes!!!"; \
28        fi
Note: See TracBrowser for help on using the repository browser.