-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·10 lines (10 loc) · 2.43 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
#!/bin/zsh
rm -f timeset.dat
foreach i (chain-5-4 chain-10-9 chain-12-11 chain-14-13 chain-16-15 chain-18-17 chain-20-19 chain-25-24 chain-30-29 chain-35-34 chain-40-39 chain-50-49 chain-60-59 chain-70-69 chain-80-79 chain-90-89 chain-100-99 chain-200-199 ring-5-5 ring-10-10 ring-12-12 ring-14-14 ring-16-16 ring-18-18 ring-20-20 ring-25-25 ring-30-30 ring-35-35 ring-40-40 ring-45-45 ring-50-50 ring-60-60 ring-70-70 ring-80-80 ring-90-90 ring-100-100 ring-200-200 tree-5-4 tree-10-9 tree-12-11 tree-14-13 tree-16-15 tree-18-17 tree-20-19 tree-25-24 tree-30-29 tree-35-34 tree-40-39 tree-45-44 tree-50-49 tree-60-59 tree-70-69 tree-80-79 tree-90-89 tree-100-99 tree-200-199 rand-5-7 rand-10-15 rand-10-20 rand-12-18 rand-12-24 rand-12-36 rand-15-20 rand-15-30 rand-15-45 rand-20-30 rand-20-40 rand-20-60 rand-25-40 rand-25-50 rand-25-100 rand-30-45 rand-30-60 rand-30-120 rand-35-50 rand-35-70 rand-35-140 rand-40-60 rand-40-80 rand-40-200 rand-45-65 rand-45-90 rand-45-225 rand-50-75 rand-50-100 rand-50-300 rand-55-80 rand-55-110 rand-55-330 rand-60-90 rand-60-120 rand-60-360 rand-65-95 rand-65-130 rand-65-390 rand-70-105 rand-70-140 rand-70-420 rand-75-110 rand-75-150 rand-75-450 rand-80-120 rand-80-160 rand-80-480 rand-90-135 rand-90-180 rand-90-540 rand-100-150 rand-100-200 rand-100-600 rand-125-185 rand-125-250 rand-125-750 rand-150-225 rand-150-300 rand-150-900 rand-175-260 rand-175-350 rand-175-1050 rand-200-300 rand-200-400 rand-200-1200 grid-6-7 grid-8-10 grid-9-12 grid-10-13 grid-12-17 grid-15-22 grid-16-24 grid-18-27 grid-20-31 grid-24-38 grid-25-40 grid-27-42 grid-30-49 grid-32-52 grid-35-58 grid-36-59 grid-36-60 grid-40-67 grid-42-71 grid-45-76 grid-48-82 grid-49-84 grid-50-85 grid-54-93 grid-56-97 grid-60-104 grid-63-110 grid-64-112 grid-66-115 grid-70-123 grid-72-127 grid-77-136 grid-80-142 grid-81-144 grid-84-149 grid-88-157 grid-90-161 grid-91-162 grid-96-172 grid-99-178 grid-100-180 grid-121-220 grid-144-264 grid-169-312 grid-196-364 grid-225-420 cliqueset-25-89 cliqueset-25-132 cliqueset-36-111 cliqueset-36-167 cliqueset-36-440 cliqueset-49-182 cliqueset-49-246 cliqueset-49-766 cliqueset-64-279 cliqueset-64-329 cliqueset-64-1265 cliqueset-81-389 cliqueset-81-500 cliqueset-81-2095 cliqueset-100-532 cliqueset-100-666 cliqueset-100-2719)
echo -n $i >> timeset.dat
# echo $i;
echo -n " " >> timeset.dat
gtimeout $2 $1 < MSS/$i | tr -d '\n' >> timeset.dat
echo >> timeset.dat
end
diff -wy --suppress-common-lines timeset.dat correct.dat