1
0
epfl_cs451/bnr.sh
2020-11-22 22:40:30 +01:00

13 lines
327 B
Bash
Executable File

#!/bin/bash
if [ $# -eq 3 ]; then
export _JAVA_OPTIONS="-Xmx16G"
./257844/build.sh
sudo echo 1
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
else
echo "Missing Arguments ..."
echo "Usage: $0 fifo|lcausal process_count message_count"
fi