abac0-leak
Last change
on this file since 8a9f7af was
3c30b59,
checked in by Mei <mei@…>, 11 years ago
|
1) add in new refactored regression testing directory
2) undo the abac.hh/ABAC.hh api changes
3) merged with Ted's changes to attribute format/nickname/issuer processing
|
-
Property mode set to
100644
|
File size:
852 bytes
|
Line | |
---|
1 | # |
---|
2 | # attr_tests |
---|
3 | # |
---|
4 | |
---|
5 | .PHONY: runcheck clean-local setup |
---|
6 | |
---|
7 | INCLUDES = -I$(abs_top_srcdir)/libabac |
---|
8 | LDADD = $(abs_top_builddir)/libabac/libabac.la |
---|
9 | CREDDY_ENV = CREDDY_LOCATION=$(abs_top_builddir)/creddy |
---|
10 | PROVER_ENV = PROVER_LOCATION=$(abs_top_builddir)/libabac |
---|
11 | TEST_ENV = TESTDIR=$(abs_top_builddir)/tests |
---|
12 | MY_ENV = env $(CREDDY_ENV) $(PROVER_ENV) $(TEST_ENV) |
---|
13 | |
---|
14 | all:runcheck |
---|
15 | |
---|
16 | runcheck: setup.sh |
---|
17 | @make clean |
---|
18 | @echo 'running libabac ATTRS testing...' | tee result |
---|
19 | @touch error |
---|
20 | @$(MY_ENV) ./setup.sh |
---|
21 | @($(MY_ENV) ./show.sh |tee -a result |grep BAD >> ../error; cd .) |
---|
22 | @if test -f error ; \ |
---|
23 | then \ |
---|
24 | (if test `cat error | wc -l ` -eq 0 ; \ |
---|
25 | then echo " PASSED"; \ |
---|
26 | else (echo " ERROR!!!"; cat error;); \ |
---|
27 | fi); \ |
---|
28 | else echo " PASSED"; \ |
---|
29 | fi |
---|
30 | |
---|
31 | clean: |
---|
32 | @rm -rf *.xml *.pem error result |
---|
33 | |
---|
34 | clean-local: |
---|
35 | @rm -rf *.xml *.pem error result |
---|
36 | |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.