equal
deleted
inserted
replaced
7 do |
7 do |
8 for id in `cat $ff | grep "^#" | sed "s/#[^ ]*//g"` |
8 for id in `cat $ff | grep "^#" | sed "s/#[^ ]*//g"` |
9 do |
9 do |
10 sed s/XXXX/$id/g $ff > $ff"_"$id.iec |
10 sed s/XXXX/$id/g $ff > $ff"_"$id.iec |
11 if `../../../iec2iec $ff"_"$id.iec -I ../../../lib > $ff"_"$id.out 2>$ff"_"$id.err` |
11 if `../../../iec2iec $ff"_"$id.iec -I ../../../lib > $ff"_"$id.out 2>$ff"_"$id.err` |
|
12 #if `../../../iec2c $ff"_"$id.iec -I ../../../lib > $ff"_"$id.out 2>$ff"_"$id.err` |
12 # TODO before deciding test is success [OK] |
13 # TODO before deciding test is success [OK] |
13 # - test whether xxx.out has size <> 0 |
14 # - test whether xxx.out has size <> 0 |
14 # - test whether xxx.err has size == 0 |
15 # - test whether xxx.err has size == 0 |
15 # - (?) test whether xxx.out2 is identical to xxx.out |
16 # - (?) test whether xxx.out2 is identical to xxx.out |
16 # - (?) test whether xxx.err2 has size == 0 |
17 # - (?) test whether xxx.err2 has size == 0 |