abac0-leakabac0-mei
Last change
on this file since 4f79997 was
2d56f83,
checked in by Mei <mei@…>, 11 years ago
|
1) overhaul the tests directory that now we can regression test against
a build directory or a installed setup
|
-
Property mode set to
100644
|
File size:
540 bytes
|
Rev | Line | |
---|
[3c30b59] | 1 | # |
---|
| 2 | # daisychain/likes_python |
---|
| 3 | # |
---|
| 4 | |
---|
[2d56f83] | 5 | include ${TESTDIR}/abac.mk |
---|
[3c30b59] | 6 | |
---|
| 7 | TEST=likes_0 likes_10 likes_20 |
---|
| 8 | TIMING=likes_30 likes_40 likes_50 likes_100 likes_150 likes_200 |
---|
| 9 | |
---|
[2d56f83] | 10 | .PHONY : test clean timing plot |
---|
[3c30b59] | 11 | all: test |
---|
| 12 | |
---|
| 13 | test: $(TEST) |
---|
| 14 | |
---|
| 15 | timing: $(TIMING) |
---|
| 16 | |
---|
| 17 | likes_0 : |
---|
| 18 | $(MY_ENV) ./run_one 0 |
---|
| 19 | likes_10 : |
---|
| 20 | @$(MY_ENV) ./run_one 10 |
---|
| 21 | likes_20 : |
---|
| 22 | @$(MY_ENV) ./run_one 20 |
---|
| 23 | |
---|
[2d56f83] | 24 | clean: |
---|
[3c30b59] | 25 | @rm -rf likes_* run_plot plot timing |
---|
| 26 | |
---|
| 27 | $(TIMING): |
---|
| 28 | @$(MY_ENV) ./run_one $(subst likes_,,$@) |
---|
| 29 | |
---|
| 30 | plot: |
---|
| 31 | @make clean |
---|
| 32 | cp ../../plotting/run_plot . |
---|
| 33 | @make -s test |
---|
| 34 | @make -s timing |
---|
| 35 | @./run_plot likes |
---|
Note: See
TracBrowser
for help on using the repository browser.