mei_rt2mei_rt2_fix_1
Last change
on this file since 20eaefe was
2b4e740,
checked in by Mei <mei@…>, 12 years ago
|
1) test out the performance plotting build
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[08b8da7] | 1 | |
---|
| 2 | DIRECTORY=creddy creddy_prover python |
---|
| 3 | |
---|
| 4 | .PHONY : setup runcheck clean |
---|
| 5 | runcheck: $(DIRECTORY) |
---|
| 6 | |
---|
| 7 | clean: |
---|
| 8 | @for i in $(DIRECTORY); do \ |
---|
| 9 | here=`pwd`; \ |
---|
| 10 | cd $$i; \ |
---|
| 11 | printf "\n ==> CLEANING on %s\n" "$$i"; \ |
---|
| 12 | rm -rf */*.der */*.pem */pfile */*.tmp; \ |
---|
| 13 | rm -rf */*.cn */*.sha */*.log */creds_dump; \ |
---|
| 14 | rm -rf *.der *.pem pfile *.tmp; \ |
---|
| 15 | cd $$here; \ |
---|
| 16 | done |
---|
| 17 | @rm -rf allout.tmp |
---|
| 18 | @rm -rf ENC_PRIVATE.PEM PFILE |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | setup: |
---|
| 22 | @echo "dumdum" > PFILE |
---|
| 23 | @openssl genrsa -des3 -out ENC_PRIVATE.PEM -passout file:PFILE 1>/dev/null 2>&1 |
---|
| 24 | @for i in $(DIRECTORY); do \ |
---|
| 25 | here=`pwd`; \ |
---|
| 26 | cd $$i; \ |
---|
| 27 | ./setup 1 >/dev/null 2>&1; \ |
---|
| 28 | cd $$here; \ |
---|
| 29 | done |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | runcheck: |
---|
| 33 | @echo 'running libabac PASSPHRASE testing...' |
---|
| 34 | @make setup |
---|
| 35 | @for i in $(DIRECTORY); do \ |
---|
| 36 | here=`pwd`; \ |
---|
| 37 | cd $$i; \ |
---|
| 38 | printf "\n ==> RUN on %s\n" "$$i" >> ../allout.tmp ; \ |
---|
| 39 | ./run_test 1 >> ../allout.tmp 2>/dev/null; \ |
---|
| 40 | cd $$here; \ |
---|
| 41 | done |
---|
[2b4e740] | 42 | @if test -f allout.tmp && test `diff -q allout.save allout.tmp |wc -l ` -eq 0 ; \ |
---|
[08b8da7] | 43 | then echo " PASSED"; \ |
---|
| 44 | else echo " ERROR:got changes!!!"; \ |
---|
| 45 | fi |
---|
| 46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.