mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 14:08:09 -05:00
29 lines
474 B
Bash
Executable File
29 lines
474 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for i in 0 1; do
|
|
seq 3 > Player-Data/Input-P$i-0
|
|
done
|
|
|
|
function test
|
|
{
|
|
Scripts/$1.sh tutorial | grep 'expected -0.2, got -0.2' || exit 1
|
|
}
|
|
|
|
./compile.py tutorial
|
|
|
|
for i in rep-field mal-rep-field shamir mal-shamir semi mascot; do
|
|
test $i
|
|
done
|
|
|
|
./compile.py -R 64 tutorial
|
|
|
|
for i in ring brain semi2k spdz2k; do
|
|
test $i
|
|
done
|
|
|
|
./compile.py -B 16 tutorial
|
|
|
|
for i in replicated yao rep-bmr mal-rep-bmr shamir-bmr mal-shamir-bmr; do
|
|
test $i
|
|
done
|