tests/syntax/identifier/runtests
changeset 258 d7d92b2f87e9
parent 108 f9e001952488
equal deleted inserted replaced
257:90782e241346 258:d7d92b2f87e9
     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