abac0-leakabac0-mei
Last change
on this file since 84038c8 was
1afd681,
checked in by Mei <mei@…>, 11 years ago
|
1) ready the 1.5 release..
2) tested out the new attribute features (nicknames), multiple GENI
attribute formats
3) polish up testing' build dir alittle bit more..
|
-
Property mode set to
100644
|
File size:
834 bytes
|
Rev | Line | |
---|
[3c30b59] | 1 | # |
---|
| 2 | # example_scripts |
---|
| 3 | # |
---|
| 4 | INCLUDES = -I$(abs_top_srcdir)/libabac |
---|
| 5 | LDADD = $(abs_top_builddir)/libabac/libabac.la |
---|
| 6 | |
---|
| 7 | DIRECTORY = c perl python wiki |
---|
[1afd681] | 8 | SUBDIRS = $(DIRECTORY) |
---|
[3c30b59] | 9 | |
---|
| 10 | .PHONY : runcheck clean-local |
---|
| 11 | |
---|
| 12 | all: runcheck |
---|
| 13 | |
---|
| 14 | clean-local: |
---|
| 15 | @for i in $(DIRECTORY); do \ |
---|
| 16 | here=`pwd`; \ |
---|
| 17 | cd $$i; \ |
---|
| 18 | make -s clean; \ |
---|
| 19 | cd $$here; \ |
---|
| 20 | done |
---|
| 21 | @rm -rf result error |
---|
| 22 | |
---|
| 23 | runcheck: |
---|
| 24 | @echo 'running libabac SCRIPT testing...' | tee result |
---|
| 25 | @touch error; |
---|
| 26 | @for i in $(DIRECTORY); do \ |
---|
| 27 | here=`pwd`; \ |
---|
| 28 | cd $$i; \ |
---|
| 29 | printf "\n ==> RUN on %s\n" "$$i" >> $$here/result ; \ |
---|
| 30 | make -s |tee -a $$here/result |grep BAD >> $$here/error; \ |
---|
| 31 | cd $$here; \ |
---|
| 32 | done |
---|
| 33 | @if test -f error ; \ |
---|
| 34 | then \ |
---|
| 35 | (if test `cat error | wc -l ` -eq 0 ; \ |
---|
| 36 | then echo " PASSED"; \ |
---|
| 37 | else (echo " ERROR!!!"; cat error;); \ |
---|
| 38 | fi); \ |
---|
| 39 | else echo " PASSED"; \ |
---|
| 40 | fi |
---|
| 41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.