]> granicus.if.org Git - yasm/commitdiff
Make sure we use the yapp preprocessor when running yapp tests.
authorPeter Johnson <peter@tortall.net>
Mon, 4 Nov 2002 08:32:33 +0000 (08:32 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 4 Nov 2002 08:32:33 +0000 (08:32 -0000)
svn path=/trunk/yasm/; revision=799

modules/preprocs/yapp/tests/yapp_test.sh
src/preprocs/yapp/tests/yapp_test.sh

index ac69ec07f63bd45b43fe44d042beccedb4d5bef6..6e46112f322a285fbf1b61dabd0252049bb6d9cd 100755 (executable)
@@ -30,7 +30,7 @@ do
     p=`echo ${asm} | sed 's,.asm$,.pre,'`
 
     echo $ECHO_N "$YT: Testing yapp for ${a} ... $ECHO_C"
-    if sed "s,\./,${srcdir}/," ${asm} | ./yasm -e |
+    if sed "s,\./,${srcdir}/," ${asm} | ./yasm -e -r yapp |
        sed "s,${srcdir}/,./," > ${y}; then
        if diff -w ${p} ${y} > /dev/null; then
            echo "PASS."
index ac69ec07f63bd45b43fe44d042beccedb4d5bef6..6e46112f322a285fbf1b61dabd0252049bb6d9cd 100755 (executable)
@@ -30,7 +30,7 @@ do
     p=`echo ${asm} | sed 's,.asm$,.pre,'`
 
     echo $ECHO_N "$YT: Testing yapp for ${a} ... $ECHO_C"
-    if sed "s,\./,${srcdir}/," ${asm} | ./yasm -e |
+    if sed "s,\./,${srcdir}/," ${asm} | ./yasm -e -r yapp |
        sed "s,${srcdir}/,./," > ${y}; then
        if diff -w ${p} ${y} > /dev/null; then
            echo "PASS."