blob: c88428d6d09eb9d2085baca1ed89e99c80da1a2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash -e
cd ../bin
cmake ../
make
if [ $# -gt 0 ]
then case $1 in
test) ctest -V;;
launch)
gnome-terminal -t SERVEUR -e "bash -c './server_on_piou.sh ; sleep 15'"&
sleep 5;
gnome-terminal -t CLIENT1 -e "bash -c '../bin/src/netlem piou.prosoluce.fr; sleep 15'"&
sleep 1;
gnome-terminal -t CLIENT2 -e "bash -c '../bin/src/netlem piou.prosoluce.fr; sleep 15'"&
;;
esac
fi
|