XRM 69: Use $srcdir instead of @srcdir@.

https://svn.lrde.epita.fr/svn/xrm/trunk Index: ChangeLog from SIGOURE Benoit <sigoure.benoit@lrde.epita.fr> Use $srcdir instead of @srcdir@. * tests/test-parse-pctl.sh.in, * tests/test-parse-prism.sh.in, * tests/test-parse-xpctl.sh.in, * tests/test-parse-xrm.sh.in, * tests/test-pp-pctl.sh.in, * tests/test-pp-prism.sh.in, * tests/test-pp-xpctl.sh.in, * tests/test-pp-xrm.sh.in, * tests/test-xrm-front.sh.in: Use $srcdir instead of @srcdir@. test-parse-pctl.sh.in | 3 ++- test-parse-prism.sh.in | 3 ++- test-parse-xpctl.sh.in | 3 ++- test-parse-xrm.sh.in | 3 ++- test-pp-pctl.sh.in | 3 ++- test-pp-prism.sh.in | 3 ++- test-pp-xpctl.sh.in | 3 ++- test-pp-xrm.sh.in | 3 ++- test-xrm-front.sh.in | 3 ++- 9 files changed, 18 insertions(+), 9 deletions(-) Index: tests/test-parse-pctl.sh.in --- tests/test-parse-pctl.sh.in (revision 68) +++ tests/test-parse-pctl.sh.in (working copy) @@ -11,9 +11,10 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" rm -f failed_tests.$$ -for file in `find "@srcdir@" -name '*.pctl' -o -name '*.csl' | sort`; do +for file in `find "$srcdir" -name '*.pctl' -o -name '*.csl' | sort`; do echo @ECHO_N@ " Parsing `basename $file` ... " "@top_builddir@/src/tools/parse-pctl" -i "$file" -o /dev/null rv=$? Index: tests/test-parse-prism.sh.in --- tests/test-parse-prism.sh.in (revision 68) +++ tests/test-parse-prism.sh.in (working copy) @@ -11,9 +11,10 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" rm -f failed_tests.$$ -for file in `find "@srcdir@" -name '*.pm' -o -name '*.nm' -o -name '*.sm' | sort`; do +for file in `find "$srcdir" -name '*.pm' -o -name '*.nm' -o -name '*.sm' | sort`; do echo @ECHO_N@ " Parsing `basename $file` ... " "@top_builddir@/src/tools/parse-prism" -i "$file" -o /dev/null rv=$? Index: tests/test-parse-xpctl.sh.in --- tests/test-parse-xpctl.sh.in (revision 68) +++ tests/test-parse-xpctl.sh.in (working copy) @@ -11,9 +11,10 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" rm -f failed_tests.$$ -for file in `find "@srcdir@" -name '*.pctl' -o -name '*.csl' -o -name '*.xpctl' -o -name '*.xcsl' | sort`; do +for file in `find "$srcdir" -name '*.pctl' -o -name '*.csl' -o -name '*.xpctl' -o -name '*.xcsl' | sort`; do echo @ECHO_N@ " Parsing `basename $file` ... " "@top_builddir@/src/tools/parse-xpctl" -i "$file" -o /dev/null rv=$? Index: tests/test-parse-xrm.sh.in --- tests/test-parse-xrm.sh.in (revision 68) +++ tests/test-parse-xrm.sh.in (working copy) @@ -11,9 +11,10 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" rm -f failed_tests.$$ -for file in `find "@srcdir@" -name '*.pm' -o -name '*.nm' -o -name '*.sm' -o -name '*.xpm' | sort`; do +for file in `find "$srcdir" -name '*.pm' -o -name '*.nm' -o -name '*.sm' -o -name '*.xpm' | sort`; do echo @ECHO_N@ " Parsing `basename $file` ... " "@top_builddir@/src/tools/parse-xrm" -i "$file" -o /dev/null rv=$? Index: tests/test-pp-pctl.sh.in --- tests/test-pp-pctl.sh.in (revision 68) +++ tests/test-pp-pctl.sh.in (working copy) @@ -11,6 +11,7 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" target_dir='output-pp-pctl' rm -f failed_tests.$$ @@ -21,7 +22,7 @@ outdir="`pwd`" cd .. -for file in `find "@srcdir@" -name '*.pctl' -o -name '*.csl' | sort`; do +for file in `find "$srcdir" -name '*.pctl' -o -name '*.csl' | sort`; do basefile="`basename $file`" bfile="`echo \"$basefile\" | sed 's/\.x\?pm$//'`" Index: tests/test-pp-prism.sh.in --- tests/test-pp-prism.sh.in (revision 68) +++ tests/test-pp-prism.sh.in (working copy) @@ -11,6 +11,7 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" target_dir='output-pp-prism' rm -f failed_tests.$$ @@ -21,7 +22,7 @@ outdir="`pwd`" cd .. -for file in `find "@srcdir@" -name '*.pm' -o -name '*.nm' -o -name '*.sm' | sort`; do +for file in `find "$srcdir" -name '*.pm' -o -name '*.nm' -o -name '*.sm' | sort`; do basefile="`basename $file`" bfile="`echo \"$basefile\" | sed 's/\.pm$//'`" Index: tests/test-pp-xpctl.sh.in --- tests/test-pp-xpctl.sh.in (revision 68) +++ tests/test-pp-xpctl.sh.in (working copy) @@ -11,6 +11,7 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" target_dir='output-pp-xpctl' rm -f failed_tests.$$ @@ -21,7 +22,7 @@ outdir="`pwd`" cd .. -for file in `find "@srcdir@" -name '*.pctl' -o -name '*.csl' -o -name '*.xpctl' -o -name '*.xcsl' | sort`; do +for file in `find "$srcdir" -name '*.pctl' -o -name '*.csl' -o -name '*.xpctl' -o -name '*.xcsl' | sort`; do basefile="`basename $file`" bfile="`echo \"$basefile\" | sed 's/\.x\?pctl$//;s/\.x\?csl//'`" Index: tests/test-pp-xrm.sh.in --- tests/test-pp-xrm.sh.in (revision 68) +++ tests/test-pp-xrm.sh.in (working copy) @@ -11,6 +11,7 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" target_dir='output-pp-xrm' rm -f failed_tests.$$ @@ -21,7 +22,7 @@ outdir="`pwd`" cd .. -for file in `find "@srcdir@" -name '*.pm' -o -name '*.nm' -o -name '*.sm' -o -name '*.xpm' | sort`; do +for file in `find "$srcdir" -name '*.pm' -o -name '*.nm' -o -name '*.sm' -o -name '*.xpm' | sort`; do basefile="`basename $file`" bfile="`echo \"$basefile\" | sed 's/\.x\?pm$//'`" Index: tests/test-xrm-front.sh.in --- tests/test-xrm-front.sh.in (revision 68) +++ tests/test-xrm-front.sh.in (working copy) @@ -11,6 +11,7 @@ test_cnt=0 test_pass=0 +srcdir="@srcdir@" target_dir='output-xrm-front' rm -f failed_tests.$$ @@ -21,7 +22,7 @@ outdir="`pwd`" cd .. -for file in `find "@srcdir@" -name '*.xpm' | sort`; do +for file in `find "$srcdir" -name '*.xpm' | sort`; do basefile="`basename $file`" bfile="`echo \"$basefile\" | sed 's/\.x\?pm$//'`"
participants (1)
-
SIGOURE Benoit