source: tests/example_scripts/Makefile @ ec550f7

abac0-leakabac0-meimei-idtvf-new-xml
Last change on this file since ec550f7 was ec550f7, checked in by Mei <mei@…>, 11 years ago

1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading

an attribute credentials

4) add examples of GENI specific attribute credentials

and principal certificates into the regression testing

5) rename examples to tests

  • Property mode set to 100644
File size: 582 bytes
Line 
1
2DIRECTORY=c perl python wiki
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.