diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2017-02-11 14:48:52 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2017-02-11 17:54:40 +0100 |
| commit | 623dffe2c054d1639dbf9c8f21ddfb088c7950fb (patch) | |
| tree | f8159c5b3cf9872f9b271d03ad5a4b65ecec19b8 /run.sh | |
| parent | b229dc91d8825689c5e66264b462ce01398e621e (diff) | |
| download | cmix-623dffe2c054d1639dbf9c8f21ddfb088c7950fb.tar.gz cmix-623dffe2c054d1639dbf9c8f21ddfb088c7950fb.tar.bz2 cmix-623dffe2c054d1639dbf9c8f21ddfb088c7950fb.zip | |
Working Ed25519 Implementation of libcmix.
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,13 +1,15 @@ #!/bin/bash -build_dir=/home/dennis/projects/cmix/build-cmix-Desktop-Default +build_dir=/home/dennis/projects/cmix/build-cmix-Desktop-Debug if [ $# == 0 ] ; then tool="" elif [ $1 == "benchmark" ] ; then tool="valgrind --tool=cachegrind" elif [ $1 == "valgrind" ] ; then tool="valgrind --leak-check=yes --track-origins=yes" -else +elif [ $1 == "gdb" ] ; then + tool="gdb -ex run --args" +else tool="" fi @@ -18,15 +20,12 @@ tmux send-keys -t cmix:0 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 $tool tmux new-window -t cmix:1 tmux send-keys -t cmix:1 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 $tool node/node -f -m 5 -n node2.local:9201 -s localhost:9199 -a node1 -c ../certs/cert1.pem -k ../certs/key1.pem -d ../certs/dh.pem --certdir ../certs/" Enter -#tmux send-keys -t cmix:0 "r" Enter tmux new-window -t cmix:2 tmux send-keys -t cmix:2 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 $tool node/node -p 9201 -n node3.local:9202 -s localhost:9199 -a node2 -c ../certs/cert2.pem -k ../certs/key2.pem -d ../certs/dh.pem --certdir ../certs/" Enter -#tmux send-keys -t cmix:1 "r" Enter tmux new-window -t cmix:3 tmux send-keys -t cmix:3 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 $tool node/node -l -p 9202 -n node1.local:9200 -s localhost:9199 -a node3 -c ../certs/cert3.pem -k ../certs/key3.pem -d ../certs/dh.pem --certdir ../certs/" Enter -#tmux send-keys -t cmix:2 "r" Enter tmux new-window -t cmix:4 tmux send-keys -t cmix:4 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 $tool client/client --certdir ../certs -n node1.local:9200 node2.local:9201 node3.local:9202" Enter |
