mei_rt2mei_rt2_fix_1
Last change
on this file since 6f383ee was
ced90bc,
checked in by Mei <mei@…>, 12 years ago
|
1) add a single threaded java test prover script
|
-
Property mode set to
100644
|
File size:
990 bytes
|
Line | |
---|
1 | |
---|
2 | .PHONY : tt tchunk run_threaded |
---|
3 | all: run_attr run_prove run_threaded |
---|
4 | |
---|
5 | clean: |
---|
6 | @rm -f *.pem *.der *.log pfile |
---|
7 | @rm -rf build *.class tt rr |
---|
8 | |
---|
9 | |
---|
10 | run_attr: |
---|
11 | make clean |
---|
12 | rm -rf attr.log |
---|
13 | ant |
---|
14 | javac -classpath ./build/classes abac_attr.java |
---|
15 | java -classpath ./build/classes:. abac_attr 1 >attr.log 2>&1 |
---|
16 | |
---|
17 | run_prove: |
---|
18 | rm -rf prover.log |
---|
19 | make run_attr |
---|
20 | ./run_prover 1 >prover.log 2>& 1 |
---|
21 | |
---|
22 | run_threaded: |
---|
23 | rm -rf threaded.log |
---|
24 | make run_attr |
---|
25 | ./run_thread 1 >threaded.log 2>& 1 |
---|
26 | |
---|
27 | tchunk: |
---|
28 | make clean |
---|
29 | javac -classpath ./build/classes tchunk.java |
---|
30 | java -classpath ./build/classes:. tchunk 1 IceCream_ID.pem IceCream_private.pem |
---|
31 | java -classpath ./build/classes:. tchunk 0 IceCream_ID.pem IceCream_private.pem |
---|
32 | |
---|
33 | tt: |
---|
34 | @make clean |
---|
35 | @ant |
---|
36 | @javac -classpath ./build/classes tbasic.java |
---|
37 | @echo 'java -XX:+PrintGCDetails -XX:+DisableExplicitGC -classpath ./build/classes:. tbasic' > rr |
---|
38 | @echo 'jdb -launch -classpath ./build/classes:. -sourcepath ../../../swig/java tbasic' > tt |
---|
39 | @chmod +x tt |
---|
40 | @chmod +x rr |
---|
Note: See
TracBrowser
for help on using the repository browser.