abac0-leakabac0-mei
Last change
on this file since 28d6d08 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:
914 bytes
|
Rev | Line | |
---|
[3c30b59] | 1 | # |
---|
| 2 | # daisychain/likes_python |
---|
| 3 | # |
---|
| 4 | .PHONY : test clean-local |
---|
| 5 | |
---|
| 6 | INCLUDES = -I$(abs_top_srcdir)/libabac |
---|
| 7 | LDADD = $(abs_top_builddir)/libabac/libabac.la |
---|
| 8 | CREDDY_ENV = CREDDY_LOCATION=$(abs_top_builddir)/creddy |
---|
| 9 | PROVER_ENV = PROVER_LOCATION=$(abs_top_builddir)/libabac |
---|
| 10 | PYTHON_ENV = PYTHONPATH=$(abs_top_builddir)/swig/python:$(abs_top_builddir)/swig/python/.libs:$(abs_top_builddir)/tests |
---|
| 11 | MY_ENV = env $(CREDDY_ENV) $(PROVER_ENV) $(PYTHON_ENV) |
---|
| 12 | |
---|
| 13 | TEST=likes_0 likes_10 likes_20 |
---|
| 14 | TIMING=likes_30 likes_40 likes_50 likes_100 likes_150 likes_200 |
---|
| 15 | |
---|
| 16 | .PHONY : test timing plot |
---|
| 17 | |
---|
| 18 | all: test |
---|
| 19 | |
---|
| 20 | test: $(TEST) |
---|
| 21 | |
---|
| 22 | timing: $(TIMING) |
---|
| 23 | |
---|
| 24 | likes_0 : |
---|
| 25 | $(MY_ENV) ./run_one 0 |
---|
| 26 | likes_10 : |
---|
| 27 | @$(MY_ENV) ./run_one 10 |
---|
| 28 | likes_20 : |
---|
| 29 | @$(MY_ENV) ./run_one 20 |
---|
| 30 | |
---|
| 31 | clean-local: |
---|
| 32 | @rm -rf likes_* run_plot plot timing |
---|
| 33 | |
---|
| 34 | $(TIMING): |
---|
| 35 | @$(MY_ENV) ./run_one $(subst likes_,,$@) |
---|
| 36 | |
---|
| 37 | plot: |
---|
| 38 | @make clean |
---|
| 39 | cp ../../plotting/run_plot . |
---|
| 40 | @make -s test |
---|
| 41 | @make -s timing |
---|
| 42 | @./run_plot likes |
---|
Note: See
TracBrowser
for help on using the repository browser.