From: Peter Johnson Date: Mon, 4 Nov 2002 08:32:33 +0000 (-0000) Subject: Make sure we use the yapp preprocessor when running yapp tests. X-Git-Tag: v0.2.0~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9bc51bfd0103d1618bda460905a588ff98495b8;p=yasm Make sure we use the yapp preprocessor when running yapp tests. svn path=/trunk/yasm/; revision=799 --- diff --git a/modules/preprocs/yapp/tests/yapp_test.sh b/modules/preprocs/yapp/tests/yapp_test.sh index ac69ec07..6e46112f 100755 --- a/modules/preprocs/yapp/tests/yapp_test.sh +++ b/modules/preprocs/yapp/tests/yapp_test.sh @@ -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." diff --git a/src/preprocs/yapp/tests/yapp_test.sh b/src/preprocs/yapp/tests/yapp_test.sh index ac69ec07..6e46112f 100755 --- a/src/preprocs/yapp/tests/yapp_test.sh +++ b/src/preprocs/yapp/tests/yapp_test.sh @@ -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."