source: tests/scaling_tests/daisychain/likes_python/Makefile.am @ 6cd69a0

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