mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-24 09:24:58 +00:00
17 lines
419 B
Bash
Executable File
17 lines
419 B
Bash
Executable File
while true; do
|
|
rm /tmp/input$$-*
|
|
radamsa -o /tmp/input$$-%n -n 100 ~/Documents/KIT/2019/Prog/final1/*input.txt
|
|
for filename in /tmp/input$$-*; do
|
|
echo "exit" >> $filename
|
|
java -cp out/production/final1/ -Xshare:on edu.kit.informatik.modelrailwaysimulator.Main < $filename
|
|
if [ $? -eq 0 ]; then
|
|
echo OK
|
|
else
|
|
echo $filename
|
|
#notify-send -t 20000 FAIL
|
|
#break 2
|
|
cp $filename fails
|
|
fi
|
|
done
|
|
done
|