source: examples/example_scripts/Makefile @ 20eaefe

mei_rt2mei_rt2_fix_1
Last change on this file since 20eaefe was 97a6a36, checked in by Mei <mei@…>, 12 years ago

1) added java to libabac using swig
2) added java examples (setup/prover) into regression test suites
(note. still have that libstrongswan/src/threading/threads.c/thread_deinit()
problem when using using libabac with java)

  • Property mode set to 100644
File size: 626 bytes
RevLine 
[f3421a0]1
[97a6a36]2DIRECTORY=c perl python java
[f3421a0]3
4.PHONY : runcheck clean
5runcheck: $(DIRECTORY)
6
7clean:
8        @for i in $(DIRECTORY); do \
9        here=`pwd`; \
10        cd $$i; \
11        printf "\n ==> CLEANING on %s\n" "$$i"; \
[928b1b7]12        make -s clean; \
[f3421a0]13        cd $$here; \
14        done 
15        @rm -rf allout.tmp
16
17runcheck:
18        @echo 'running libabac SCRIPT testing...'
19        @for i in $(DIRECTORY); do \
20        here=`pwd`; \
21        cd $$i; \
22        printf "\n ==> RUN on %s\n" "$$i" >> ../allout.tmp ; \
23        ./run_test 1 >> ../allout.tmp 2>& 1; \
24        cd $$here; \
25        done 
[2b4e740]26        @if test -f allout.tmp && test `diff -q allout.save allout.tmp |wc -l ` -eq 0 ; \
[f3421a0]27        then echo "   PASSED"; \
28        else echo "   ERROR:got changes!!!"; \
29        fi
30
Note: See TracBrowser for help on using the repository browser.