run_tests.sh 278 字节
Newer Older
1 2
#!/bin/bash
cd `dirname $0`
3

4
set -e
5 6 7 8 9

protostr=`dirname $0`/protostr

files=`ls $protostr | grep -v "unitest"`

10
./generate_protostr.sh
11 12 13 14 15

for file in $files
do
    base_protostr=$protostr/$file
    new_protostr=$protostr/$file.unitest
16
    diff $base_protostr $new_protostr -u
17
done