-%line 2+1 ./src/preprocs/yapp/tests/comment.asm
+%line 2+1 -
mov ax, 4
-%line 3+1 ./src/preprocs/yapp/tests/ddefine.asm
+%line 3+1 -
mov ax, [5+baz]
-%line 3+1 ./src/preprocs/yapp/tests/define.asm
+%line 3+1 -
mov ax, [5+baz]
-%line 9+1 ./src/preprocs/yapp/tests/ifdef.asm
+%line 9+1 -
mov ax, 5
-%line 14+1 ./src/preprocs/yapp/tests/ifdef.asm
+%line 14+1 -
-%line 1+1 ./src/preprocs/yapp/tests/include.asm
+%line 1+1 -
mov ax, 5
%line 1+1 ./src/preprocs/yapp/tests/raw.asm
mov ax, raw
-%line 3+1 ./src/preprocs/yapp/tests/include.asm
+%line 3+1 -
mov ax, 6
%line 1+1 ./src/preprocs/yapp/tests/raw.asm
mov ax, raw
-%line 5+1 ./src/preprocs/yapp/tests/include.asm
+%line 5+1 -
mov ax, 7
-%line 2+1 ./src/preprocs/yapp/tests/params.asm
+%line 2+1 -
((a+b,c))+((d*e,f))
-%line 3+1 ./src/preprocs/yapp/tests/pdefine.asm
+%line 3+1 -
mov ax, foo
mov ax, 5+1
mov ax, 5-3
-%line 1+1 ./src/preprocs/yapp/tests/raw.asm
+%line 1+1 -
mov ax, raw
-%line 3+1 ./src/preprocs/yapp/tests/rdefine.asm
+%line 3+1 -
mov ax, 5
mov ax, endless
-%line 4+1 ./src/preprocs/yapp/tests/rinclude.asm
+%line 4+1 -
mov ax, 5
p=`echo ${asm} | sed -e 's,.asm$,.pre,'`
echo -n "$YT: Testing yapp for ${a} ..."
- if ./yasm -e ${asm} > ${y}; then
+ if sed -e "s,\./,${srcdir}/," ${asm} | ./yasm -e |
+ sed -e "s,${srcdir}/,./," > ${y}; then
if diff -w ${p} ${y} > /dev/null; then
echo " PASS."
passedct=`expr $passedct + 1`
-%line 2+1 ./src/preprocs/yapp/tests/comment.asm
+%line 2+1 -
mov ax, 4
-%line 3+1 ./src/preprocs/yapp/tests/ddefine.asm
+%line 3+1 -
mov ax, [5+baz]
-%line 3+1 ./src/preprocs/yapp/tests/define.asm
+%line 3+1 -
mov ax, [5+baz]
-%line 9+1 ./src/preprocs/yapp/tests/ifdef.asm
+%line 9+1 -
mov ax, 5
-%line 14+1 ./src/preprocs/yapp/tests/ifdef.asm
+%line 14+1 -
-%line 1+1 ./src/preprocs/yapp/tests/include.asm
+%line 1+1 -
mov ax, 5
%line 1+1 ./src/preprocs/yapp/tests/raw.asm
mov ax, raw
-%line 3+1 ./src/preprocs/yapp/tests/include.asm
+%line 3+1 -
mov ax, 6
%line 1+1 ./src/preprocs/yapp/tests/raw.asm
mov ax, raw
-%line 5+1 ./src/preprocs/yapp/tests/include.asm
+%line 5+1 -
mov ax, 7
-%line 2+1 ./src/preprocs/yapp/tests/params.asm
+%line 2+1 -
((a+b,c))+((d*e,f))
-%line 3+1 ./src/preprocs/yapp/tests/pdefine.asm
+%line 3+1 -
mov ax, foo
mov ax, 5+1
mov ax, 5-3
-%line 1+1 ./src/preprocs/yapp/tests/raw.asm
+%line 1+1 -
mov ax, raw
-%line 3+1 ./src/preprocs/yapp/tests/rdefine.asm
+%line 3+1 -
mov ax, 5
mov ax, endless
-%line 4+1 ./src/preprocs/yapp/tests/rinclude.asm
+%line 4+1 -
mov ax, 5
p=`echo ${asm} | sed -e 's,.asm$,.pre,'`
echo -n "$YT: Testing yapp for ${a} ..."
- if ./yasm -e ${asm} > ${y}; then
+ if sed -e "s,\./,${srcdir}/," ${asm} | ./yasm -e |
+ sed -e "s,${srcdir}/,./," > ${y}; then
if diff -w ${p} ${y} > /dev/null; then
echo " PASS."
passedct=`expr $passedct + 1`