1
0
epfl_cs451/bnr.sh

13 lines
327 B
Bash
Raw Permalink Normal View History

2020-11-10 16:58:52 +01:00
#!/bin/bash
2020-11-01 20:55:20 +01:00
2020-11-22 22:40:30 +01:00
if [ $# -eq 3 ]; then
2020-11-10 16:58:52 +01:00
export _JAVA_OPTIONS="-Xmx16G"
./257844/build.sh
sudo echo 1
2020-11-22 22:40:30 +01:00
echo "Running $1 with $2 processes and $3 messages"
yes "" | ./validate.py -r 257844/run.sh -b $1 -l 257844/bin/logs -p $2 -m $3
2020-11-10 16:58:52 +01:00
else
echo "Missing Arguments ..."
2020-11-22 22:40:30 +01:00
echo "Usage: $0 fifo|lcausal process_count message_count"
2020-11-10 16:58:52 +01:00
fi